From 4b11c2e28fe2a9a4872f5dab88bf13f3e3d538f6 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Mon, 10 Aug 2020 09:47:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E7=BC=96=E5=88=B6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/displayNew/demonChat.vue | 5 +++-- src/views/scriptManage/getAction.vue | 7 ++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/newMap/displayNew/demonChat.vue b/src/views/newMap/displayNew/demonChat.vue index 0dadd7290..a961a9bfd 100644 --- a/src/views/newMap/displayNew/demonChat.vue +++ b/src/views/newMap/displayNew/demonChat.vue @@ -93,6 +93,7 @@ export default { const stationSupervisorList = []; this.driverList = []; const maintainerList = []; + const driverList = []; this.treeData = []; lastData.forEach((member, index)=>{ if (member.type != '观众') { @@ -112,7 +113,7 @@ export default { member.label = member.memberName; if (this.activeTrainList.length > 0) { if (this.activeTrainList.includes(member.deviceCode)) { - this.driverList.push(member); + driverList.push(member); } } else { this.driverList.push(member); @@ -157,7 +158,7 @@ export default { label: '司机', id: 'driver', type: 'role', - children: this.driverList + children: driverList }, { label: '通号', id: 'maintainer', diff --git a/src/views/scriptManage/getAction.vue b/src/views/scriptManage/getAction.vue index 63d3afe0a..1a991d66e 100644 --- a/src/views/scriptManage/getAction.vue +++ b/src/views/scriptManage/getAction.vue @@ -164,11 +164,16 @@ export default { } case 'Command': { const targetName = memberList.find(elem=>{ return elem.id == element.commandInitiateVO.targetMemberId; }); + debugger; const CommandList = { Drive_Ahead:'确认运行至前方站', Route_Block_Drive:'进路闭塞法行车', Drive_Through_The_Guide_Signal:'越引导信号行驶', - Drive_Through_The_Red_Light:'越红灯行驶' + Drive_Through_The_Red_Light:'越红灯行驶', + Drive_In_Urm_Mode:'URM模式驾驶', + Set_Speed_Limit:'设置限速', + Open_Or_Close_Door:'开关门', + Switch_Hook_Lock: '道岔钩锁' }; this.actionInfoList.push({id: element.id, isCommand: true, memberName: memberName, command: CommandList[element.commandInitiateVO.commandType], targetName:targetName.name, row: element, visible: false}); break;