哈尔滨线路代码调整
This commit is contained in:
parent
4789fa23de
commit
61d9f294d8
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user