赛总指示调整

This commit is contained in:
fan 2023-07-20 14:43:46 +08:00
parent 23a2447181
commit 837bf3a870
2 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<div v-quick-menu-drag class="allSimulationMenu"> <div v-quick-menu-drag class="allSimulationMenu">
<simulation-control ref="simulationControl" /> <!-- <simulation-control ref="simulationControl" />-->
<div class="simulationMenu" @click="showMenuList">Menu</div> <div class="simulationMenu" @click="showMenuList">Menu</div>
<div v-show="isShowMenuList" class="simulationMenuList"> <div v-show="isShowMenuList" class="simulationMenuList">
<div v-for="(each, index) in allMenuList" :key="index"> <div v-for="(each, index) in allMenuList" :key="index">
@ -34,7 +34,7 @@ import DeviceManage from './deviceManage';
import { SimulationUserType } from '@/scripts/ConstDic'; import { SimulationUserType } from '@/scripts/ConstDic';
import { destroySimulationByAdmin, exitSimulation, ranAsPlan} from '@/api/simulation'; import { destroySimulationByAdmin, exitSimulation, ranAsPlan} from '@/api/simulation';
import { EventBus } from '@/scripts/event-bus'; import { EventBus } from '@/scripts/event-bus';
import SimulationControl from './simulationControl'; // import SimulationControl from './simulationControl';
import SimulationId from '../simulationId'; import SimulationId from '../simulationId';
export default { export default {
name: 'SimulationMenu', name: 'SimulationMenu',
@ -47,7 +47,7 @@ export default {
Jl3dDevice, Jl3dDevice,
MemberManage, MemberManage,
DeviceManage, DeviceManage,
SimulationControl, // SimulationControl,
SimulationId SimulationId
}, },
data() { data() {

View File

@ -39,7 +39,7 @@
<driver-ats-work v-if="picture=='driverAtsWork'" ref="driverAtsWork" /> <driver-ats-work v-if="picture=='driverAtsWork'" ref="driverAtsWork" />
<terminal-menu <terminal-menu
v-show="menuShow" v-show="false"
ref="terminalMenu" ref="terminalMenu"
:now-terminal="nowTerminal" :now-terminal="nowTerminal"
@pictureChange="pictureChange" @pictureChange="pictureChange"
@ -153,10 +153,10 @@ export default {
}, },
roleDeviceCode() { roleDeviceCode() {
return this.$store.state.training.roleDeviceCode; return this.$store.state.training.roleDeviceCode;
},
menuShow() {
return !this.$route.query.singleClient;
} }
// menuShow() {
// return !this.$route.query.singleClient;
// }
}, },
watch: { watch: {
'$store.state.map.mapViewLoadedCount': function (val) { // '$store.state.map.mapViewLoadedCount': function (val) { //