优化aitable

This commit is contained in:
aixianling
2023-01-09 09:36:10 +08:00
parent 275461a474
commit b576a61551
88 changed files with 203 additions and 246 deletions

View File

@@ -77,11 +77,11 @@ export default {
file: "附件"
}
return [
// { prop: "fileList", label: '消息类型', align: "center", width: "250px", formart: v => v?.map(e=> conType[e.contentType]).toString() },
{ prop: "fileList", label: '消息内容', align: "center", width: "250px", formart: v => v?.filter(e=> e.contentType == 'text')[0].content },
// { prop: "fileList", label: '消息内容', align: "center", width: "250px", formart: v => v?.filter(e => e.contentType == 'text')[0].content},
// { prop: "fileList", label: '消息类型', align: "center", width: "250px", format: v => v?.map(e=> conType[e.contentType]).toString() },
{ prop: "fileList", label: '消息内容', align: "center", width: "250px", format: v => v?.filter(e=> e.contentType == 'text')[0].content },
// { prop: "fileList", label: '消息内容', align: "center", width: "250px", format: v => v?.filter(e => e.contentType == 'text')[0].content},
// { slot: 'type' },
{ prop: "messageSource", label: '消息类型', align: "center", formart: v => v==1? '居民': '居民群'},
{ prop: "messageSource", label: '消息类型', align: "center", format: v => v==1? '居民': '居民群'},
{ prop: "createTime", label: '创建时间', align: "center", width: "250px"},
{ prop: "userName", label: '创建人', align: "center", width: "250px", },
{ slot: "options" ,},