|
|
@@ -48,12 +48,12 @@ export default {
|
|
|
type: AssetType.IMAGE,
|
|
|
url: picUrl
|
|
|
} : null,
|
|
|
- type: ['疑似黑屏', '设备离线', '屏幕拓扑结构异常'][type],
|
|
|
- handle: ['应用重启', '设备重启', '恢复出厂', '未干预'][handle],
|
|
|
- status: {
|
|
|
- type: ['primary', 'success', 'danger', 'primary'][status],
|
|
|
- label: ['处理中', '成功', '失败', '无'][status]
|
|
|
- },
|
|
|
+ type: ['疑似黑屏', '设备离线', '屏幕拓扑结构异常'][type] || '-',
|
|
|
+ handle: ['应用重启', '设备重启', '恢复出厂', '未干预'][handle] || '-',
|
|
|
+ status: handle <= 2 && status <= 2 ? {
|
|
|
+ type: ['primary', 'success', 'danger'][status],
|
|
|
+ label: ['处理中', '成功', '失败'][status]
|
|
|
+ } : null,
|
|
|
note: {
|
|
|
type: ['danger', 'success'][note],
|
|
|
label: ['否', '是'][note]
|