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

@@ -856,7 +856,7 @@ export default {
prop: "starTime",
label: "评定时间",
align: "center",
formart: (v) => (v ? v.split(" ")[0] : "-"),
format: (v) => (v ? v.split(" ")[0] : "-"),
},
{slot: "level"},
],
@@ -870,7 +870,7 @@ export default {
prop: "starTime",
label: "时间",
align: "center",
formart: (v) => (v ? v.split(" ")[0] : "-"),
format: (v) => (v ? v.split(" ")[0] : "-"),
},
{prop: "disciplinaryInfo", label: "违纪原因", align: "center"},
{prop: "result", label: "处理结果", align: "center"},

View File

@@ -291,7 +291,7 @@ export default {
activeName: '五星党员',
textlist: ['一星党员', '二星党员', '三星党员', '四星党员', '五星党员'],
colConfigs1: [
{prop: 'starTime', label: '评定时间', align: 'center', formart: v => v ? v.split(' ')[0] : '-'},
{prop: 'starTime', label: '评定时间', align: 'center', format: v => v ? v.split(' ')[0] : '-'},
{slot: 'level'}
],
colConfigs2: [
@@ -300,7 +300,7 @@ export default {
{prop: 'position', label: '职务', align: 'center'}
],
colConfigs3: [
{prop: 'starTime', label: '时间', align: 'center', formart: v => v ? v.split(' ')[0] : '-'},
{prop: 'starTime', label: '时间', align: 'center', format: v => v ? v.split(' ')[0] : '-'},
{prop: 'disciplinaryInfo', label: '违纪原因', align: 'center'},
{prop: 'result', label: '处理结果', align: 'center'}
]

View File

@@ -113,10 +113,10 @@
colConfigs: [
{ prop: 'name', label: '申请人', align: 'left' },
{ prop: 'createTime', label: '申请时间', align: 'center' },
{ prop: 'sex', label: '性别', align: 'center', formart: v => this.dict.getLabel('sex', v) },
{ prop: 'idNumber', label: '身份证号', align: 'center', formart: v => v.substring(0, 10) + '****' + v.substring(14, 18) },
{ prop: 'sex', label: '性别', align: 'center', format: v => this.dict.getLabel('sex', v) },
{ prop: 'idNumber', label: '身份证号', align: 'center', format: v => v.substring(0, 10) + '****' + v.substring(14, 18) },
{ prop: 'age', label: '年龄', align: 'center' },
{ prop: 'auditStatus', label: '审批结果', align: 'center', formart: v => this.dict.getLabel('auditStatus', v) },
{ prop: 'auditStatus', label: '审批结果', align: 'center', format: v => this.dict.getLabel('auditStatus', v) },
{ prop: 'auditUserName', label: '审批人', align: 'center' },
{ prop: 'auditTime', label: '审批时间', align: 'center' }
],