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)