From 782a1b8e9f88912c223260a44969e693b9f3e9f9 Mon Sep 17 00:00:00 2001 From: IAMHERE <446961233@qq.com> Date: Fri, 29 Dec 2023 21:19:01 +0800 Subject: [PATCH] fix- --- ruoyi-ui/src/views/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index 05de035c..f9cc3cc8 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -372,7 +372,7 @@ export default { { id: 403, tit: '所属机构', txt: e.target._opts.extData.organization, col: '#fff' }, { id: 404, tit: '设备桩号', txt: e.target._opts.extData.pileNumber, col: '#fff' }, { id: 405, tit: '设备厂商', txt: e.target._opts.extData.brind, col: '#fff' }, - { id: 406, tit: '设备状态', txt: e.target._opts.extData.deviceState, col: '#888' } + { id: 406, tit: '设备状态', txt: e.target._opts.extData.deviceState == 'online' ? '在线' : '离线', col: e.target._opts.extData.deviceState == 'online' ? '#10d269' : '#888' } ] this.getTemplateHeaderFn() this.onSubmit(this.mapIds)