应急调度指挥调整

This commit is contained in:
fan 2023-01-11 14:20:27 +08:00
parent b1fadb3671
commit 082bf8cd65
4 changed files with 13 additions and 9 deletions

View File

@ -2,8 +2,6 @@
<div class="bigScreen">
<div v-show="maskOpen" class="bigScreenMask" />
<jlmap-visual ref="jlmapVisual" />
<wh-train-list v-if="prdType=== '10'" ref="whTrainList" />
<voice-command v-if="prdType === '10'" ref="whTrainList" />
<div v-show="disPlay" class="bigScreenBack">
<el-button-group>
<el-button type="primary" @click="back">返回</el-button>
@ -19,15 +17,11 @@ import { mapGetters } from 'vuex';
import { creatSubscribe, clearSubscribe, displayTopic} from '@/utils/stomp';
import { getToken } from '@/utils/auth';
import { TrainingMode } from '@/scripts/ConstDic';
import WhTrainList from './whTrainList';
import VoiceCommand from './voiceCommand';
export default {
name: 'BigScreen',
components: {
JlmapVisual,
WhTrainList,
VoiceCommand
JlmapVisual
},
props: {
widthLeft: {

View File

@ -1,16 +1,23 @@
<template>
<div>
<div style="width: 100%;overflow: hidden;position: relative;">
<station-diagram ref="stationDiagram" @setSelected="setSelected" />
<voice-command v-if="project === 'yjddzh'" ref="voiceCommand" />
<wh-train-list v-if="project === 'yjddzh'" ref="whTrainList" />
</div>
</template>
<script>
import StationDiagram from '../stationDiagram/index';
import VoiceCommand from '../yjddzh/voiceCommand';
import WhTrainList from '../yjddzh/whTrainList';
import { getSessionStorage } from '@/utils/auth';
import {mapGetters} from 'vuex';
export default {
name: 'BigScreen',
components: {
StationDiagram
StationDiagram,
VoiceCommand,
WhTrainList
},
data() {
return {
@ -28,6 +35,9 @@ export default {
},
mapDevice() {
return this.$store.state.map.mapDevice;
},
project() {
return getSessionStorage('project');
}
},
watch: {