修改问题

This commit is contained in:
wanggeng 2022-08-02 18:09:39 +08:00
parent a3a5b4014d
commit 87f5774074
2 changed files with 20 additions and 0 deletions

View File

@ -36,6 +36,8 @@
<result property="filePath" column="file_path"/>
<result property="fileSummary" column="file_summary"/>
<result property="isBack" column="is_back"/>
<result property="creator" column="creator"/>
<result property="gmtCreate" column="gmt_create"/>
</resultMap>
<!-- 建表 -->

View File

@ -167,6 +167,24 @@
return rowData;
}
},
{field: 'creator', width: 150, title: '创建人', align: 'center',
templet: function (row) {
var rowData = row[this.field];
if (typeof (rowData) === 'undefined' || rowData == null || rowData == '') {
return '-';
}
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: 'preview', width: 90, title: '预览', align: 'center', fixed: 'right',
templet: function (row) {
if(isPreviewType(row.fileType)) {