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;