Authored by 马力

Merge branch 'dev-guang-operator'

... ... @@ -114,10 +114,10 @@ if(process.env.NODE_ENV!="coding"){
}
/*测试环境*/
/*if(process.env.NODE_ENV==="test"){
if(process.env.NODE_ENV==="test"){
apiCofig.EnvConst.domain=process.env.TEST_PLATFORM||"http://10.66.100.6:8088/platform";
apiCofig.EnvConst.yohoSearch=process.env.TEST_SEARCH||"http://10.66.100.4:8080/yohosearch";
}*/
}
/*灰度环境*/
if(process.env.NODE_ENV==="gray"){
... ...
... ... @@ -125,6 +125,9 @@ var g = new common.grid({
return "<p>" + sta + "</p>";
}
}, {
display: '创建人',
name: "createUser"
}, {
display: "创建时间",
render: function (item) {
... ... @@ -139,6 +142,9 @@ var g = new common.grid({
}
}, {
display: '发布人',
name: "publishUser"
}, {
display: "发布时间",
render: function (item) {
//console.log(item.publishTime);
... ...
... ... @@ -22,6 +22,7 @@ module.exports=function(app) {
pageName: "添加文章"
};
var style=(JSON.parse(style)).data;
console.log('style1 = ',style);
style=style.map(function(item){
return {stylename:item.style_name};
});
... ... @@ -36,6 +37,7 @@ module.exports=function(app) {
pageName: "修改文章"
};
var style=(JSON.parse(style)).data;
console.log('style2 = ',style);
style=style.map(function(item){
return {stylename:item.style_name};
});
... ...