diff --git a/src/main/resources/static/route/newscontent/list-newscontent.html b/src/main/resources/static/route/newscontent/list-newscontent.html index 82d37ec..ce23300 100644 --- a/src/main/resources/static/route/newscontent/list-newscontent.html +++ b/src/main/resources/static/route/newscontent/list-newscontent.html @@ -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 == '') { diff --git a/src/main/resources/static/route/newscontent/list-newscontentcheck.html b/src/main/resources/static/route/newscontent/list-newscontentcheck.html index c779aa7..5a11c4f 100644 --- a/src/main/resources/static/route/newscontent/list-newscontentcheck.html +++ b/src/main/resources/static/route/newscontent/list-newscontentcheck.html @@ -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',