崔宝铖提交

This commit is contained in:
cuibaocheng 2020-06-11 10:39:08 +08:00
parent b51e908fd9
commit 15b674c2e1
2 changed files with 7 additions and 10 deletions

View File

@ -213,7 +213,7 @@
return common.formatDate('yyyy-MM-dd', new Date(rowData));
}
},
{field: 'newsContentResource', width: 150, title: '新闻来源', align:'center',
{field: 'newsContentResource', width: 200, title: '新闻来源', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {

View File

@ -122,7 +122,7 @@
}
return rowData;
}
},{field: 'newsDirectoriesName', width: 150, title: '新闻版块', align:'center',
},{field: 'newsDirectoriesName', width: 100, title: '新闻版块', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
@ -131,7 +131,7 @@
return rowData;
}
},
{field: 'newsContentType', width: 150, title: '新闻类型', align:'center',
{field: 'newsContentType', width: 100, title: '新闻类型', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
@ -157,7 +157,7 @@
return rowData;
}
},
{field: 'newsContentPublishStatus', width: 150, title: '新闻发布', align:'center',
{field: 'newsContentPublishStatus', width: 100, title: '新闻发布', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
@ -171,7 +171,7 @@
return rowData;
}
},
{field: 'newsContentPublishTime', width: 150, title: '发布时间', align:'center',
{field: 'newsContentPublishTime', width: 120, title: '发布时间', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
@ -180,7 +180,7 @@
return common.formatDate('yyyy-MM-dd', new Date(rowData));
}
},
{field: 'newsContentResource', width: 150, title: '新闻来源', align:'center',
{field: 'newsContentResource', width: 200, title: '新闻来源', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
@ -192,10 +192,7 @@
{field: 'newsContentCommentNumber', width: 80, title: '评论量', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
return '-';
}
return rowData;
return rowData.toString();
}
},
{field: 'newsContentCheckStatus', width: 100, title: '审核新闻', fixed: 'right', align:'center',