31088
This commit is contained in:
		| @@ -103,7 +103,19 @@ | ||||
|         colConfigs1: [ | ||||
|           {prop: 'createTime', label: '上报日期', align: 'center' }, | ||||
|           {prop: 'phone', label: '上报位置', align: 'center'}, | ||||
|           {prop: 'status', label: '健康状态', align: 'center', formart: v => v === '0' ? '正常' : '异常' }, | ||||
|           { prop: 'status', | ||||
|             label: '健康状态', | ||||
|             align: 'center', | ||||
|             render: (h, params) => { | ||||
|               return h( | ||||
|                 'span', { | ||||
|                   style: { | ||||
|                     color: params.row.status === '1' ? 'red' : '' | ||||
|                   } | ||||
|                 }, params.row.status === '0' ? '正常' : '异常' | ||||
|               ) | ||||
|             } | ||||
|           }, | ||||
|           {slot: 'nucleicAcidUrl', label: '核酸截图', align: 'center'} | ||||
|         ], | ||||
|         colConfigs2: [ | ||||
|   | ||||
| @@ -148,7 +148,20 @@ | ||||
|               ) | ||||
|             } | ||||
|           }, | ||||
|           { prop: 'status', align: 'center', label: '健康状态', formart: v => v === '0' ? '正常' : '异常' }, | ||||
|           { | ||||
|             prop: 'status', | ||||
|             align: 'center', | ||||
|             label: '检测结果', | ||||
|             render: (h, params) => { | ||||
|               return h( | ||||
|                 'span', { | ||||
|                   style: { | ||||
|                     color: params.row.status === '1' ? 'red' : '' | ||||
|                   } | ||||
|                 }, params.row.status === '0' ? '正常' : '异常' | ||||
|               ) | ||||
|             } | ||||
|           }, | ||||
|           { prop: 'todayReport', align: 'center', label: '今日上报', formart: v => v ? '已上报' : '未上报' } | ||||
|         ], | ||||
|         tableData: [], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user