门户后台-举报管理功能完善
This commit is contained in:
parent
c5cf944e1e
commit
abef8964e3
@ -341,7 +341,7 @@
|
|||||||
#{newsIds[${index}]}
|
#{newsIds[${index}]}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
ORDER BY t1.id DESC
|
ORDER BY t1.publish_time DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<!-- 新闻表列表 -->
|
<!-- 新闻表列表 -->
|
||||||
|
@ -105,10 +105,28 @@
|
|||||||
return '-';
|
return '-';
|
||||||
}
|
}
|
||||||
if(1 == rowData) {
|
if(1 == rowData) {
|
||||||
return '已处理';
|
return '<p style="color: green;">已处理</p>';
|
||||||
}
|
}
|
||||||
if(0 == rowData) {
|
if(0 == rowData) {
|
||||||
return '未处理';
|
return '<p style="color: red;">未处理</p>';
|
||||||
|
}
|
||||||
|
return rowData;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{field: 'gmtCreate', width: 180, title: '举报时间', align:'center',
|
||||||
|
templet: function(row) {
|
||||||
|
var rowData = row[this.field];
|
||||||
|
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||||
|
return '-';
|
||||||
|
}
|
||||||
|
return rowData;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{field: 'handleContent', width: 180, title: '处理结果', align:'center',
|
||||||
|
templet: function(row) {
|
||||||
|
var rowData = row[this.field];
|
||||||
|
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
|
||||||
|
return '-';
|
||||||
}
|
}
|
||||||
return rowData;
|
return rowData;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user