Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
d08be87108
@ -53,7 +53,6 @@ export default {
|
||||
});
|
||||
}
|
||||
});
|
||||
console.log(this.showMemberId, 'ddddd');
|
||||
this.switchStationMode( this.showMemberId);
|
||||
}
|
||||
},
|
||||
@ -67,7 +66,6 @@ export default {
|
||||
const station = this.$store.getters['map/getDeviceByCode'](member.deviceCode);
|
||||
this.showStation = station.code;
|
||||
const showStationCode = this.stationCentralizedMap[station.code];
|
||||
console.log(station, member);
|
||||
nameList.forEach(item => {
|
||||
if (this.$store.state.map.map[item] && this.$store.state.map.map[item].constructor === Array) {
|
||||
if (item === 'trainList') {
|
||||
|
@ -160,10 +160,10 @@ export default {
|
||||
},
|
||||
'$store.state.training.prdType': function (prdType) {
|
||||
this.setPosition();
|
||||
if (prdType == '01' && this.$route.query.lineCode == '06') {
|
||||
if (prdType == '01') {
|
||||
this.showSelectStation = true;
|
||||
this.cancelBigScreenMode();
|
||||
} else if (prdType == '02' && this.$route.query.lineCode == '06') {
|
||||
} else if (prdType == '02') {
|
||||
this.showSelectStation = false;
|
||||
this.cancelBigScreenMode();
|
||||
} else if (prdType == '07') { // 大屏
|
||||
@ -368,18 +368,14 @@ export default {
|
||||
this.$store.dispatch('training/setRoles', 'DISPATCHER');
|
||||
this.hideIbp();
|
||||
this.drivingShow = false;
|
||||
if (this.lineCode === '07' || this.lineCode === '06') {
|
||||
this.mapViewLoadedOver && this.setShowStation('');
|
||||
}
|
||||
this.jl3dmaintainershow = false;
|
||||
break;
|
||||
case 'STATION_SUPERVISOR':
|
||||
this.$store.dispatch('training/setPrdType', '01');
|
||||
this.$store.dispatch('training/setRoles', 'STATION_SUPERVISOR');
|
||||
if (this.lineCode === '06' && deviceCode) {
|
||||
this.$refs.menuSchema.chiShowStation = deviceCode;
|
||||
this.mapViewLoadedOver && this.switchStationMode(deviceCode);
|
||||
}
|
||||
this.jl3dmaintainershow = false;
|
||||
this.drivingShow = false;
|
||||
break;
|
||||
|
@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div style="height:100%">
|
||||
<div class="schema" :style="{top: offset+'px'}">
|
||||
<el-select v-if="showSelectStation" v-model="chiShowStation" style="width: 100px;" size="small" @change="switchStationMode">
|
||||
<el-option v-for="item in stationList" :key="item.value" :label="item.name" :value="item.value" />
|
||||
</el-select>
|
||||
<!--<el-select v-if="showSelectStation" v-model="chiShowStation" style="width: 100px;" size="small" @change="switchStationMode">-->
|
||||
<!--<el-option v-for="item in stationList" :key="item.value" :label="item.name" :value="item.value" />-->
|
||||
<!--</el-select>-->
|
||||
<el-button-group>
|
||||
<el-button v-if="userRole=== 'STATION_SUPERVISOR' && !$route.query.projectDevice" size="small" @click="goIbp">IBP盘</el-button>
|
||||
<el-button v-if="userRole=== 'DISPATCHER' && !$route.query.projectDevice" size="small" @click="goBigScreen">大屏</el-button>
|
||||
|
Loading…
Reference in New Issue
Block a user