This commit is contained in:
yanran200730
2022-01-14 10:25:42 +08:00
parent 6da2c9de38
commit 44f563d94e
2 changed files with 15 additions and 4 deletions

View File

@@ -120,7 +120,18 @@
{ prop: 'phone', align: 'center', label: '手机号码' },
{ prop: 'areaName', align: 'center', label: '所属地区', width: '200px' },
{ prop: 'reportTime', align: 'center', label: '上报时间', width: '200px' },
{ prop: 'vaccine', align: 'center', label: '已接种情况', formart: v => (v || 0) + '次' },
{
prop: 'vaccine',
align: 'center',
label: '已接种情况',
render: (h, {row}) => {
return h('span', {
style: {
color: row.status === '0' ? 'red' : '#333'
}
}, 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) : '-' },