修改问题
This commit is contained in:
parent
a3a5b4014d
commit
87f5774074
@ -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>
|
||||
|
||||
<!-- 建表 -->
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user