优化aitable
This commit is contained in:
@@ -185,7 +185,7 @@
|
||||
recordList: [],
|
||||
colConfigs: [
|
||||
{prop: 'createTime', label: '上报日期', align: 'center', dateFormat: 'YYYY-MM-DD'},
|
||||
{prop: 'status', label: '健康状态', align: 'center', formart: v => v === '0' ? '异常' : '正常' }
|
||||
{prop: 'status', label: '健康状态', align: 'center', format: v => v === '0' ? '异常' : '正常' }
|
||||
],
|
||||
tabList: ['基本信息', '每日上报', '异常处理']
|
||||
}
|
||||
|
||||
@@ -131,9 +131,9 @@
|
||||
}, row.today === '0' ? '-' : (row.vaccine || 0 + '次'))
|
||||
}
|
||||
},
|
||||
{ prop: 'healthCode', align: 'center', label: '健康码', formart: v => v ? this.dict.getLabel('epidemicHealthCode', v) : '-' },
|
||||
{ prop: 'checkTime', align: 'center', label: '核酸日期', formart: v => v ? v.split(' ')[0] : '-' },
|
||||
{ prop: 'checkResult', align: 'center', label: '检测结果', formart: v => v ? this.dict.getLabel('epidemicRecentTestResult', v) : '-' },
|
||||
{ prop: 'healthCode', align: 'center', label: '健康码', format: v => v ? this.dict.getLabel('epidemicHealthCode', v) : '-' },
|
||||
{ prop: 'checkTime', align: 'center', label: '核酸日期', format: v => v ? v.split(' ')[0] : '-' },
|
||||
{ prop: 'checkResult', align: 'center', label: '检测结果', format: v => v ? this.dict.getLabel('epidemicRecentTestResult', v) : '-' },
|
||||
{
|
||||
prop: 'status',
|
||||
align: 'center',
|
||||
@@ -146,7 +146,7 @@
|
||||
}, row.today === '0' ? '-' : (row.status === '0' ? '异常' : '正常'))
|
||||
}
|
||||
},
|
||||
{ prop: 'today', align: 'center', label: '今日上报', formart: v => v === '0' ? '未上报' : '已上报' },
|
||||
{ prop: 'today', align: 'center', label: '今日上报', format: v => v === '0' ? '未上报' : '已上报' },
|
||||
],
|
||||
tableData: [],
|
||||
total: 0,
|
||||
|
||||
Reference in New Issue
Block a user