diff --git a/src/jmapNew/shape/Psd/index.js b/src/jmapNew/shape/Psd/index.js index c3d51d9f8..86bafdf2b 100644 --- a/src/jmapNew/shape/Psd/index.js +++ b/src/jmapNew/shape/Psd/index.js @@ -84,9 +84,18 @@ export default class Line2 extends Group { setState(model) { this.recover(); if (!this.isShowShape) return; - /** 设置屏蔽门开关*/ + /** 设置屏蔽门开关*/ + // if (model.code == 'Psd99251') { + // console.log(model, model.fault == 'FAULT_PSD_OPEN', '是否故障状态', model.screenDoorOpenStatus, '0开门,1关门', '02 上'); + // } else if (model.code == 'Psd38731') { + // console.log(model, model.fault == 'FAULT_PSD_OPEN', '是否故障状态', model.screenDoorOpenStatus, '0开门,1关门', '03 上'); + // } else if (model.code == 'Psd68917') { + // console.log(model, model.fault == 'FAULT_PSD_OPEN', '是否故障状态', model.screenDoorOpenStatus, '0开门,1关门', '04 上'); + // } else if (model.code == 'Psd62436') { + // console.log(model, model.fault == 'FAULT_PSD_OPEN', '是否故障状态', model.screenDoorOpenStatus, '0开门,1关门', '05 上'); + // } if (model.fault == 'FAULT_PSD_OPEN') { - this.doorFault(); + this.doorFault(); // 故障 this.openDoor(); } else { model.screenDoorOpenStatus == 0 && this.openDoor(); /** 开门*/ @@ -94,18 +103,6 @@ export default class Line2 extends Group { } model.alarmStatus && this.alarm(); /** 收到警报(西安二号线样式) */ model.emergencyDepart && this.emergencyDepart(); /** 紧急出发按钮激活(西安二号线样式) */ - - // /** 设置屏蔽门状态*/ - // switch (model.screenDoorStatus) { - // case '01': - // this.doorNormal(); /** 正常*/ - // break; - // case '02': - // this.doorFault(); /** 故障*/ - // break; - // case '03': - // this.doorSplit(); /** 切除*/ - // } } drawSelected(selected) { this.highlight && this.highlight.drawSelected(selected); diff --git a/src/jmapNew/theme/xian_01/menus/dialog/switchHookLock.vue b/src/jmapNew/theme/components/menus/dialog/switchHookLock.vue similarity index 55% rename from src/jmapNew/theme/xian_01/menus/dialog/switchHookLock.vue rename to src/jmapNew/theme/components/menus/dialog/switchHookLock.vue index e1ab8b36b..d2d185c24 100644 --- a/src/jmapNew/theme/xian_01/menus/dialog/switchHookLock.vue +++ b/src/jmapNew/theme/components/menus/dialog/switchHookLock.vue @@ -1,8 +1,8 @@