优化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

@@ -152,7 +152,7 @@
}, this.dict.getLabel('mstStatus', row.status))
}
},
{ prop: 'completionRate', label: '任务完成率', align: 'center', formart: v => v ? v === '0.0' ? '0%' : `${v}%` : '-' }
{ prop: 'completionRate', label: '任务完成率', align: 'center', format: v => v ? v === '0.0' ? '0%' : `${v}%` : '-' }
]
}
},

View File

@@ -128,7 +128,7 @@
}, this.dict.getLabel('mstStatus', row.status))
}
},
{ prop: 'completionRate', label: '任务完成率', align: 'center', formart: v => v ? v === '0.0' ? '0%' : `${v}%` : '-' }
{ prop: 'completionRate', label: '任务完成率', align: 'center', format: v => v ? v === '0.0' ? '0%' : `${v}%` : '-' }
]
}
},

View File

@@ -127,7 +127,7 @@
}, this.dict.getLabel('mstStatus', row.status))
}
},
{ prop: 'completionRate', label: '任务完成率', align: 'center', formart: v => v ? v === '0.0' ? '0%' : `${v}%` : '-' }
{ prop: 'completionRate', label: '任务完成率', align: 'center', format: v => v ? v === '0.0' ? '0%' : `${v}%` : '-' }
]
}
},

View File

@@ -103,7 +103,7 @@
}
},
{ slot: 'type' },
{ prop: 'users', label: '使用成员', align: 'left', formart: v => v.join(';') },
{ prop: 'users', label: '使用成员', align: 'left', format: v => v.join(';') },
{ prop: 'createUser', label: '创建人' },
{ prop: 'createTime', label: '编辑时间' },
{ slot: 'options', label: '操作' }

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" ,},

View File

@@ -132,7 +132,7 @@
logList: [],
colConfigs: [
{slot: 'userinfo'},
{prop: 'addWay', label: '客户来源', align: 'center', formart: v => this.dict.getLabel('wxCustomerAddWay', v)},
{prop: 'addWay', label: '客户来源', align: 'center', format: v => this.dict.getLabel('wxCustomerAddWay', v)},
{prop: 'createTime', label: '添加时间', align: 'center'}
],
groupColConfigs: [

View File

@@ -157,7 +157,7 @@
{ slot: 'userinfo' },
{ prop: 'realName', label: '真实姓名', align: 'center' },
{
prop: 'identityNumber', label: '是否实名', align: 'center',
prop: 'identityNumber', label: '是否实名', align: 'center',
render: (h, params) => {
return h('span', {
}, params.row.realName ? '是' : '否')
@@ -166,7 +166,7 @@
{ prop: 'wxUserNames', label: '所属员工', align: 'center' },
{ slot: 'tags' },
{ prop: 'createTime', label: '添加时间', align: 'left' },
{ prop: 'addWay', label: '添加渠道', align: 'center', formart: v => this.dict.getLabel('wxCustomerAddWay', v) },
{ prop: 'addWay', label: '添加渠道', align: 'center', format: v => this.dict.getLabel('wxCustomerAddWay', v) },
{ slot: 'options', label: '操作', align: 'center' }
],
tableData: [],
@@ -223,7 +223,7 @@
this.btnLoading = false
}).catch(() => {
this.btnLoading = false
})
},
@@ -260,7 +260,7 @@
this.isLoading = false
}
}).catch(() => {
this.isLoading = false
this.isLoading = false
})
},

View File

@@ -109,7 +109,7 @@
total: 10,
colConfigs: [
{prop: 'codeName', label: '名称', align: 'left'},
{prop: 'type', label: '二维码类型', align: 'left', formart: v => v === '0' ? '群二维码' : '个人二维码'},
{prop: 'type', label: '二维码类型', align: 'left', format: v => v === '0' ? '群二维码' : '个人二维码'},
{prop: 'createUserName', label: '创建人'},
{prop: 'createTime', label: '创建时间'},
{slot: 'options', label: '操作'}