From 078b07f863f3047416fc9fad1f7b54132790f9b2 Mon Sep 17 00:00:00 2001 From: fan Date: Mon, 7 Nov 2022 10:14:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E8=B7=AF=E5=8A=9F=E8=83=BD=20?= =?UTF-8?q?=E6=97=A0itemMap=E5=B1=9E=E6=80=A7=E5=AF=BC=E8=87=B4=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/publish/publishMap/subsystem.vue | 48 +++++++++++----------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/views/publish/publishMap/subsystem.vue b/src/views/publish/publishMap/subsystem.vue index b78a54dff..79c4de377 100644 --- a/src/views/publish/publishMap/subsystem.vue +++ b/src/views/publish/publishMap/subsystem.vue @@ -35,25 +35,25 @@ const simTypeMap = { RAILWAY: '大铁CTC', EMERGENCY: '应急调度' }; -const clientMap = { - C_ATS: '中心ATS工作站', - C_ATS_BS: '中心ATS大屏', - C_PA: '中心PA系统', - C_CCTV: '中心视频监控系统', - L_ATS: '现地ATS工作站', - LCW: '本地控制工作站', - L_CCTV: '现地视频监控系统', - L_PA: '现地PA系统', - GPC: '调度台终端', - IPC: '联锁工作站', - STPC: '车务终端', - DMP: '车务管理终端', - ISCS: 'ISCS', - IBP: 'IBP', - PSL: 'PSL', - RUN_PLAN_DESIGN: '运行图编制', - DRIVE: '列车驾驶' -}; +// const clientMap = { +// C_ATS: '中心ATS工作站', +// C_ATS_BS: '中心ATS大屏', +// C_PA: '中心PA系统', +// C_CCTV: '中心视频监控系统', +// L_ATS: '现地ATS工作站', +// LCW: '本地控制工作站', +// L_CCTV: '现地视频监控系统', +// L_PA: '现地PA系统', +// GPC: '调度台终端', +// IPC: '联锁工作站', +// STPC: '车务终端', +// DMP: '车务管理终端', +// ISCS: 'ISCS', +// IBP: 'IBP', +// PSL: 'PSL', +// RUN_PLAN_DESIGN: '运行图编制', +// DRIVE: '列车驾驶' +// }; export default { name: 'PublishMap', components: { @@ -120,35 +120,35 @@ export default { title: '默认扮演成员', prop: 'DEFAULT_MEMBER', type: 'tag', - columnValue: (row) => { return row.paramVO.itemMap.hasOwnProperty('DEFAULT_MEMBER') ? '是' : '否'; }, + columnValue: (row) => { return row.paramVO.itemMap && row.paramVO.itemMap.hasOwnProperty('DEFAULT_MEMBER') ? '是' : '否'; }, tagType: () => { return 'success'; } }, { title: '大客流', prop: 'LPF', type: 'tag', - columnValue: (row) => { return row.paramVO.itemMap.hasOwnProperty('LPF') ? '是' : '否'; }, + columnValue: (row) => { return row.paramVO.itemMap && row.paramVO.itemMap.hasOwnProperty('LPF') ? '是' : '否'; }, tagType: () => { return 'success'; } }, { title: '真实设备', prop: 'REAL_DEVICE', type: 'tag', - columnValue: (row) => { return row.paramVO.itemMap.hasOwnProperty('REAL_DEVICE') ? '是' : '否'; }, + columnValue: (row) => { return row.paramVO.itemMap && row.paramVO.itemMap.hasOwnProperty('REAL_DEVICE') ? '是' : '否'; }, tagType: () => { return 'success'; } }, { title: '加载实训', prop: 'TRAINING', type: 'tag', - columnValue: (row) => { return row.paramVO.itemMap.hasOwnProperty('TRAINING') ? '是' : '否'; }, + columnValue: (row) => { return row.paramVO.itemMap && row.paramVO.itemMap.hasOwnProperty('TRAINING') ? '是' : '否'; }, tagType: () => { return 'success'; } }, { title: '加载试卷', prop: 'EXAM', type: 'tag', - columnValue: (row) => { return row.paramVO.itemMap.hasOwnProperty('EXAM') ? '是' : '否'; }, + columnValue: (row) => { return row.paramVO.itemMap && row.paramVO.itemMap.hasOwnProperty('EXAM') ? '是' : '否'; }, tagType: () => { return 'success'; } }, {