ISCS 代码调整

This commit is contained in:
joylink_cuiweidong 2020-12-29 15:53:20 +08:00
parent 2c8632c362
commit 575895afe1
7 changed files with 24 additions and 10 deletions

View File

@ -80,7 +80,8 @@ export default {
methods: {
async getDetail(mode, system, part) {
const params = {
lineCode: this.$route.query.lineCode,
// lineCode: this.$route.query.lineCode,
mapId:this.$route.query.mapId,
totalSystem: mode,
system: system,
userInterface : part

View File

@ -8,7 +8,8 @@
<router-view />
</div>
</div>
<div v-if="lineCode=='02'" style="height:100%">
<!-- if="lineCode=='02'" -->
<div v-else style="height:100%">
<station-nav v-if="$route.query.group" />
<div class="content-box-station iscs_content_box" :class="{'displayStationIscs': $route.query.group}">
<router-view />

View File

@ -144,7 +144,8 @@ export default {
},
getDetail() {
const params = {
lineCode: this.$route.query.lineCode,
// lineCode: this.$route.query.lineCode,
mapId: this.$route.query.mapId,
system: this.system,
totalSystem :'environment02',
userInterface : this.mode

View File

@ -51,7 +51,8 @@ export default {
methods:{
getInitData() {
const params = {
lineCode: this.$route.query.lineCode,
// lineCode: this.$route.query.lineCode,
mapId: this.$route.query.mapId,
system: 'powerMonitoring',
totalSystem :'powerMonitoring02'
};

View File

@ -37,7 +37,8 @@ export default {
},
mounted() {
const params = {
lineCode: this.$route.query.lineCode,
// lineCode: this.$route.query.lineCode,
mapId: this.$route.query.mapId,
totalSystem: 'psdSystem02',
system: 'psdSystem',
userInterface: 'psdOne'

View File

@ -328,10 +328,18 @@ export default {
this.stationList = [];
res.data.forEach(station => {
if (!station.depot && station.visible) {
const param = {
name: station.runPlanName + '站',
id: station.code
};
let param = {};
if (station.runPlanName.includes('站')) {
param = {
name: station.runPlanName,
id: station.code
};
} else {
param = {
name: station.runPlanName + '站',
id: station.code
};
}
this.stationList.push(param);
}
});

View File

@ -115,7 +115,8 @@ export default {
});
Vue.prototype.$iscs = this.$iscs;
const params = {
lineCode: this.$route.query.lineCode,
// lineCode: this.$route.query.lineCode,
mapId: this.$route.query.mapId,
totalSystem: mode,
system: system,
userInterface: part