|
@@ -106,13 +106,13 @@ export default {
|
|
|
},
|
|
},
|
|
|
on: { edit: val => this.onEdit(data, val) }
|
|
on: { edit: val => this.onEdit(data, val) }
|
|
|
})
|
|
})
|
|
|
- : data.originalName, 'class-name': 'c-edit-column', 'min-width': 100 },
|
|
|
|
|
|
|
+ : data.originalName, 'class-name': 'c-edit-column', 'min-width': 120 },
|
|
|
{ prop: 'ai', label: 'AI审核', type: 'tag' },
|
|
{ prop: 'ai', label: 'AI审核', type: 'tag' },
|
|
|
- { prop: 'statusTag', type: 'tag' },
|
|
|
|
|
|
|
+ // { prop: 'statusTag', type: 'tag' },
|
|
|
{ prop: 'size', label: '资源大小', 'align': 'right' },
|
|
{ prop: 'size', label: '资源大小', 'align': 'right' },
|
|
|
{ prop: 'diff', label: '其他', 'align': 'right' },
|
|
{ prop: 'diff', label: '其他', 'align': 'right' },
|
|
|
{ prop: 'userName', label: '上传人', 'align': 'right' },
|
|
{ prop: 'userName', label: '上传人', 'align': 'right' },
|
|
|
- { prop: 'createTime', label: '上传时间', 'align': 'right' },
|
|
|
|
|
|
|
+ // { prop: 'createTime', label: '上传时间', 'align': 'right' },
|
|
|
{ type: 'invoke', render: [
|
|
{ type: 'invoke', render: [
|
|
|
{ label: '查看', allow: ({ file }) => !!file, on: this.onView },
|
|
{ label: '查看', allow: ({ file }) => !!file, on: this.onView },
|
|
|
{ label: '删除', allow: this.canDel, on: this.onDel }
|
|
{ label: '删除', allow: this.canDel, on: this.onDel }
|
|
@@ -146,7 +146,7 @@ export default {
|
|
|
asset.typeInfo = AssetTypeInfo[asset.type]
|
|
asset.typeInfo = AssetTypeInfo[asset.type]
|
|
|
asset.size = parseByte(asset.size)
|
|
asset.size = parseByte(asset.size)
|
|
|
asset.ai = getAIState(asset)
|
|
asset.ai = getAIState(asset)
|
|
|
- asset.statusTag = this.getStatusTag(asset)
|
|
|
|
|
|
|
+ // asset.statusTag = this.getStatusTag(asset)
|
|
|
return asset
|
|
return asset
|
|
|
},
|
|
},
|
|
|
getStatusTag ({ status, remark }) {
|
|
getStatusTag ({ status, remark }) {
|