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: { methods: {
async getDetail(mode, system, part) { async getDetail(mode, system, part) {
const params = { const params = {
lineCode: this.$route.query.lineCode, // lineCode: this.$route.query.lineCode,
mapId:this.$route.query.mapId,
totalSystem: mode, totalSystem: mode,
system: system, system: system,
userInterface : part userInterface : part

View File

@ -8,7 +8,8 @@
<router-view /> <router-view />
</div> </div>
</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" /> <station-nav v-if="$route.query.group" />
<div class="content-box-station iscs_content_box" :class="{'displayStationIscs': $route.query.group}"> <div class="content-box-station iscs_content_box" :class="{'displayStationIscs': $route.query.group}">
<router-view /> <router-view />

View File

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

View File

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

View File

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

View File

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

View File

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