哈尔滨线路代码调整

This commit is contained in:
joylink_cuiweidong 2020-09-02 10:15:50 +08:00
parent 4789fa23de
commit 61d9f294d8

View File

@ -249,6 +249,7 @@ export default {
}, },
handleSwicthMenu() { // handleSwicthMenu() { //
// //
this.clearAllMenuShow();
const section = this.$store.getters['map/getDeviceByCode'](this.selectedObj.sectionParentCode); const section = this.$store.getters['map/getDeviceByCode'](this.selectedObj.sectionParentCode);
const sectionA = this.$store.getters['map/getDeviceByCode'](this.selectedObj.sectionACode); // const sectionA = this.$store.getters['map/getDeviceByCode'](this.selectedObj.sectionACode); //
const sectionB = this.$store.getters['map/getDeviceByCode'](this.selectedObj.sectionBCode); const sectionB = this.$store.getters['map/getDeviceByCode'](this.selectedObj.sectionBCode);
@ -274,6 +275,7 @@ export default {
}; };
}, },
handleSingalMenu() { handleSingalMenu() {
this.clearAllMenuShow();
this.deviceHighLight(this.oldDevice, false); this.deviceHighLight(this.oldDevice, false);
this.deviceHighLight(this.selectedObj, true); this.deviceHighLight(this.selectedObj, true);
this.oldDevice = this.selectedObj; this.oldDevice = this.selectedObj;
@ -351,6 +353,7 @@ export default {
} }
}, },
handleSectionMenu() { handleSectionMenu() {
this.clearAllMenuShow();
this.deviceHighLight(this.oldDevice, false); this.deviceHighLight(this.oldDevice, false);
this.deviceHighLight(this.selectedObj, true); this.deviceHighLight(this.selectedObj, true);
this.oldDevice = this.selectedObj; this.oldDevice = this.selectedObj;
@ -386,6 +389,7 @@ export default {
}; };
}, },
handleStationMenu() { handleStationMenu() {
this.clearAllMenuShow();
this.centralizedStationList = new Array(15).fill({}); this.centralizedStationList = new Array(15).fill({});
this.stationParamList.forEach((station, index) => { this.stationParamList.forEach((station, index) => {
this.centralizedStationList[index] = station; this.centralizedStationList[index] = station;
@ -398,6 +402,7 @@ export default {
this.param = { stationCode: this.selectedObj.code }; this.param = { stationCode: this.selectedObj.code };
}, },
handleStandMenu() { handleStandMenu() {
this.clearAllMenuShow();
this.centralizedStationList = new Array(15).fill({}); this.centralizedStationList = new Array(15).fill({});
this.standParamList.forEach((stand, index) => { this.standParamList.forEach((stand, index) => {
this.centralizedStationList[index] = stand; this.centralizedStationList[index] = stand;