diff --git a/src/views/iscs/iscsSystem/stationNav.vue b/src/views/iscs/iscsSystem/stationNav.vue index d56187e81..ea60d17c1 100644 --- a/src/views/iscs/iscsSystem/stationNav.vue +++ b/src/views/iscs/iscsSystem/stationNav.vue @@ -45,7 +45,7 @@
- + {{ button.name }}
diff --git a/src/views/iscs/iscsSystemNew/index.vue b/src/views/iscs/iscsSystemNew/index.vue index 69cd882b6..bea267ba9 100644 --- a/src/views/iscs/iscsSystemNew/index.vue +++ b/src/views/iscs/iscsSystemNew/index.vue @@ -1,20 +1,22 @@ + diff --git a/src/views/iscs/iscsSystemNew/stationConfig/index.vue b/src/views/iscs/iscsSystemNew/stationConfig/index.vue new file mode 100644 index 000000000..58466b3c5 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/stationConfig/index.vue @@ -0,0 +1,27 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/stationConfig/psdSystem.vue b/src/views/iscs/iscsSystemNew/stationConfig/psdSystem.vue new file mode 100644 index 000000000..b1b8e6315 --- /dev/null +++ b/src/views/iscs/iscsSystemNew/stationConfig/psdSystem.vue @@ -0,0 +1,40 @@ + + + diff --git a/src/views/iscs/iscsSystemNew/stationNav.vue b/src/views/iscs/iscsSystemNew/stationNav.vue index 80d68116b..12fbf664f 100644 --- a/src/views/iscs/iscsSystemNew/stationNav.vue +++ b/src/views/iscs/iscsSystemNew/stationNav.vue @@ -13,6 +13,32 @@
{{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
控制中心
+
停车场
+
车辆段
+
+
+
+
+
+
+
+
+
主所1
+
主所2
+
+
@@ -22,6 +48,7 @@ import { getByGroupStationList } from '@/api/jmap/map'; import iscs_icon1 from '@/assets/iscs_system/iscs_icon1.png'; import iscs_icon2 from '@/assets/iscs_system/iscs_icon2.png'; import iscs_icon3 from '@/assets/iscs_system/iscs_icon3.png'; +import iscs_icon4 from '@/assets/iscs_system/iscs_icon4.png'; import iscs_icon5 from '@/assets/iscs_system/iscs_icon5.png'; import iscs_icon6 from '@/assets/iscs_system/iscs_icon6.png'; import iscs_icon7 from '@/assets/iscs_system/iscs_icon7.png'; @@ -31,7 +58,9 @@ export default { return { selectStation: 'mainHouseOne', stationList:[], - buttonId:'substation', + tractionList:[], + // buttonId:'substation', + buttonId:'psdSystem', buttonList:{ stationDescription:{name:'车站概要', type:'totalSystem', id: 'stationDescription', active:false, icon:iscs_icon1 }, electric: {name:'电力监控系统', type:'totalSystem', id: 'powerMonitoring', active:false, icon:iscs_icon2, @@ -275,18 +304,14 @@ export default { name: station.runPlanName.includes('站') ? station.runPlanName : `${station.runPlanName}站`, id: station.code }; - if (station.centralized) { this.tractionList.push(param.name); } - this.stationList.push(param); } }); } - // if (!this.$route.params.mode) { - // this.selectChildren(this.buttonId, true); - // } + this.selectChildren(this.buttonId); }, methods:{ changeStation(item) { @@ -294,8 +319,223 @@ export default { this.selectChildren(this.buttonId); }, selectChildren(type) { // 选择菜单 + let stationName = ''; + const station = this.stationList.find(each=>{ return each.id == this.selectStation; }); + if (station) { + stationName = station.name; + } + const param = { + stationName: stationName, + stationId: this.selectStation, + type:type + }; + this.$emit('selectIscsPane', param); + // const query = { + // stationName: stationName, + // stationId: this.selectStation, + // group: this.group, + // mapId: this.$route.query.mapId, + // lineCode:'02', + // noPreLogout:this.$route.query.noPreLogout + // }; + // if (isReplace) { + // this.$router.replace({ path: `/displayIscs/system/stationConfig/${type}`, query: query }); + // } else { + // this.$router.push({ path: `/displayIscs/system/stationConfig/${type}`, query: query }); + // } } } }; +