Merge branch 'test_dispaly' of https://git.code.tencent.com/lian-cbtc/jl-client into test_dispaly

This commit is contained in:
joylink_cuiweidong 2022-12-13 14:01:04 +08:00
commit ef8fab3f7b
5 changed files with 10 additions and 7 deletions

View File

@ -225,9 +225,9 @@ export default {
'$store.state.menuOperation.leftClickCount': function (val) { '$store.state.menuOperation.leftClickCount': function (val) {
// const control = MenuContextHandler.getStationControl(this.selected); // const control = MenuContextHandler.getStationControl(this.selected);
// const centralStation = this.$store.getters['map/getDeviceByCode'](this.selected.stationCode); // const centralStation = this.$store.getters['map/getDeviceByCode'](this.selected.stationCode);
const status = judgeStationControl(this.selected.belongStationCode, this.selected.stationCode, this.work); if (this.selected._type === 'Signal') {
if (this.selected._type === 'Signal' && status) { const status = judgeStationControl(this.selected.belongStationCode, this.selected.stationCode, this.work);
this.arrangementRoute(); status && this.arrangementRoute();
} }
} }
}, },

View File

@ -164,8 +164,6 @@ export default {
this.setCentralizedStationList(map); // this.setCentralizedStationList(map); //
if (this.$route.query.client) { if (this.$route.query.client) {
this.pictureChange(this.$route.query.client); this.pictureChange(this.$route.query.client);
} else if (!this.$store.state.training.roles) {
this.pictureChange('dispatchWork');
} }
} }
} catch (error) { } catch (error) {

View File

@ -236,6 +236,11 @@ export default {
} }
} }
}, },
'$store.state.training.memberList': function (val) {
if (!this.$store.state.training.roles) {
this.changePictureShow('dispatchWork');
}
},
'$store.state.socket.simulationWorkParam': function (val) { '$store.state.socket.simulationWorkParam': function (val) {
if (val) { if (val) {
this.itemMap = val.itemMap || {}; this.itemMap = val.itemMap || {};

View File

@ -227,7 +227,7 @@ export default {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 15px; left: 15px;
z-index: 10; z-index: 40;
} }
.elem-span{ .elem-span{

View File

@ -80,7 +80,7 @@ export default {
color: #000; color: #000;
line-height: 180%; line-height: 180%;
// z-index: 1501; // z-index: 1501;
z-index: 35; z-index: 39;
font-size: 14px; font-size: 14px;
} }
</style> </style>