代码调整
This commit is contained in:
parent
f2cdfe5ee1
commit
977d8df4b6
@ -10,7 +10,7 @@
|
|||||||
<passive-contorl ref="passiveControl" pop-class="chengdou-03__systerm" />
|
<passive-contorl ref="passiveControl" pop-class="chengdou-03__systerm" />
|
||||||
<!-- <bottom-table ref="bottomTable" /> -->
|
<!-- <bottom-table ref="bottomTable" /> -->
|
||||||
<div id="playBtn" />
|
<div id="playBtn" />
|
||||||
<menu-button-ctc ref="menuButtonCtc" :selected="selected" :work="'dispatchWork'" />
|
<!-- <menu-button-ctc ref="menuButtonCtc" :selected="selected" :work="'dispatchWork'" />-->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -21,11 +21,11 @@
|
|||||||
<center><b>Total man unlock</b></center>
|
<center><b>Total man unlock</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<button :id="Section.fault.button.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Section.fault.button.operation, ['Section'])">
|
<!-- <button :id="Section.fault.button.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Section.fault.button.operation, ['Section'])">-->
|
||||||
<span style="color: #800000">
|
<!-- <span style="color: #800000">-->
|
||||||
<center><b>Zone fault release</b></center>
|
<!-- <center><b>Zone fault release</b></center>-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</button>
|
<!-- </button>-->
|
||||||
<button :id="Switch.locate.button.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Switch.locate.button.operation, ['Switch'])">
|
<button :id="Switch.locate.button.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Switch.locate.button.operation, ['Switch'])">
|
||||||
<span style="color: black">
|
<span style="color: black">
|
||||||
<center><b>Total positioning</b></center>
|
<center><b>Total positioning</b></center>
|
||||||
@ -71,46 +71,46 @@
|
|||||||
<center><b>Switch unblocking</b></center>
|
<center><b>Switch unblocking</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<button :id="Signal.signalTurnOn.menuButton.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Signal.signalTurnOn.menuButton.operation, ['SignalButton'])">
|
<!-- <button :id="Signal.signalTurnOn.menuButton.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Signal.signalTurnOn.menuButton.operation, ['SignalButton'])">-->
|
||||||
<span style="color: black">
|
<!-- <span style="color: black">-->
|
||||||
<center><b>Light up</b></center>
|
<!-- <center><b>Light up</b></center>-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</button>
|
<!-- </button>-->
|
||||||
<button :id="Signal.signalTurnOff.menuButton.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Signal.signalTurnOff.menuButton.operation, ['SignalButton'])">
|
<!-- <button :id="Signal.signalTurnOff.menuButton.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Signal.signalTurnOff.menuButton.operation, ['SignalButton'])">-->
|
||||||
<span style="color:#800000">
|
<!-- <span style="color:#800000">-->
|
||||||
<center><b>Extinguish light</b></center>
|
<!-- <center><b>Extinguish light</b></center>-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</button>
|
<!-- </button>-->
|
||||||
<button :id="Station.stationMasterLock.leftButton.domId" class="button_box" :style="{width: width+'px', backgroundColor: sGuideMasterLock? guideColorDown: guideColorUp}" @click="guideLockLeftButtonDown()">
|
<button :id="Station.stationMasterLock.leftButton.domId" class="button_box" :style="{width: width+'px', backgroundColor: sGuideMasterLock? guideColorDown: guideColorUp}" @click="guideLockLeftButtonDown()">
|
||||||
<span style="color: #800000">
|
<span style="color: #800000">
|
||||||
<center><b>S Guided Master Lock</b></center>
|
<center><b>S Guided Master Lock</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
<!-- powerOnUnlock -->
|
<!-- powerOnUnlock -->
|
||||||
<button :id="Station.powerUnLock.button.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Station.powerUnLock.button.operation,['Station'])">
|
<!-- <button :id="Station.powerUnLock.button.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="buttonDown(Station.powerUnLock.button.operation,['Station'])">-->
|
||||||
<!--<span style="color:black">-->
|
<!-- <!–<span style="color:black">–>-->
|
||||||
<span style="color:#800000">
|
<!-- <span style="color:#800000">-->
|
||||||
<center><b>Upper electrolytic lock</b></center>
|
<!-- <center><b>Upper electrolytic lock</b></center>-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</button>
|
<!-- </button>-->
|
||||||
<button :disabled="true" style="cursor: not-allowed;" class="button_box" :style="{width: width+'px',backgroundColor:buttonUpColor}" @click="buttonDown()">
|
<!-- <button :disabled="true" style="cursor: not-allowed;" class="button_box" :style="{width: width+'px',backgroundColor:buttonUpColor}" @click="buttonDown()">-->
|
||||||
<!--<span style="color: black">-->
|
<!-- <!–<span style="color: black">–>-->
|
||||||
<span style="color: #808080">
|
<!-- <span style="color: #808080">-->
|
||||||
<center><b>Auxiliary menu</b></center>
|
<!-- <center><b>Auxiliary menu</b></center>-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</button>
|
<!-- </button>-->
|
||||||
<button :id="Section.defectiveShunting.button.domId" class="button_box" :style="{width: width+'px',backgroundColor:buttonUpColor}" @click="buttonDown(Section.defectiveShunting.button.operation, ['Section'])">
|
<!-- <button :id="Section.defectiveShunting.button.domId" class="button_box" :style="{width: width+'px',backgroundColor:buttonUpColor}" @click="buttonDown(Section.defectiveShunting.button.operation, ['Section'])">-->
|
||||||
<!--<span style="color:black">-->
|
<!-- <!–<span style="color:black">–>-->
|
||||||
<span style="color:#800000 ">
|
<!-- <span style="color:#800000 ">-->
|
||||||
<center><b>Bad split</b></center>
|
<!-- <center><b>Bad split</b></center>-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</button>
|
<!-- </button>-->
|
||||||
<button :disabled="true" style="cursor: not-allowed;" class="button_box" :style="{width: width+'px',backgroundColor:buttonUpColor}" @click="buttonDown()">
|
<!-- <button :disabled="true" style="cursor: not-allowed;" class="button_box" :style="{width: width+'px',backgroundColor:buttonUpColor}" @click="buttonDown()">-->
|
||||||
<!--<span style="color: black">-->
|
<!-- <!–<span style="color: black">–>-->
|
||||||
<span style="color: #808080">
|
<!-- <span style="color: #808080">-->
|
||||||
<center><b>Marking window</b></center>
|
<!-- <center><b>Marking window</b></center>-->
|
||||||
</span>
|
<!-- </span>-->
|
||||||
</button>
|
<!-- </button>-->
|
||||||
<!--<button class="button_box" :style="{width: width + 'px', backgroundColor:buttonUpColor}" @click="buttonDown()">-->
|
<!--<button class="button_box" :style="{width: width + 'px', backgroundColor:buttonUpColor}" @click="buttonDown()">-->
|
||||||
<!--<span style="color: #800000">-->
|
<!--<span style="color: #800000">-->
|
||||||
<!--<center><b>故障通知</b></center>-->
|
<!--<center><b>故障通知</b></center>-->
|
||||||
|
@ -59,15 +59,15 @@ export default {
|
|||||||
deviceShow: true,
|
deviceShow: true,
|
||||||
allMenuList: [
|
allMenuList: [
|
||||||
{ label: 'Change', name: 'switchOffset', click: this.switchOffset, isDisabled: () => { return false; }, isShow: () => { return this.$store.state.ibp.moreScreen; } },
|
{ label: 'Change', name: 'switchOffset', click: this.switchOffset, isDisabled: () => { return false; }, isShow: () => { return this.$store.state.ibp.moreScreen; } },
|
||||||
{ label: 'Device view', name: 'jlmap3dmodel', click: this.jlmap3dmodel, isDisabled: () => { return false; }, isShow: () => { return this.$route.query.client !== 'diagramEdit'; } },
|
// { label: 'Device view', name: 'jlmap3dmodel', click: this.jlmap3dmodel, isDisabled: () => { return false; }, isShow: () => { return this.$route.query.client !== 'diagramEdit'; } },
|
||||||
{ label: 'Equipment management', name: 'deviceManage', click: this.deviceManage, isDisabled: () => { return false; }, isShow: () => { return (this.$store.state.training.domConfig.hasDeviceManage && this.$store.state.training.simulationUserType === SimulationUserType.TEACHER) || (this.$route.query.client === 'interlockWork' && this.$route.query.projectDevice === 'ILW'); } },
|
{ label: 'Equipment management', name: 'deviceManage', click: this.deviceManage, isDisabled: () => { return false; }, isShow: () => { return (this.$store.state.training.domConfig.hasDeviceManage && this.$store.state.training.simulationUserType === SimulationUserType.TEACHER) || (this.$route.query.client === 'interlockWork' && this.$route.query.projectDevice === 'ILW'); } },
|
||||||
// { label: '联系方式', name: 'contectUs', click: this.contectUs, isDisabled: () => { return false; }, isShow: () => { return true; } },
|
// { label: '联系方式', name: 'contectUs', click: this.contectUs, isDisabled: () => { return false; }, isShow: () => { return true; } },
|
||||||
{ label: 'Generating QR Codes', name: 'generateQrCode', click: this.generateQrCode, isDisabled: () => { return false; }, isShow: () => { return this.$store.state.training.domConfig.joint && this.$store.state.training.simulationUserType === SimulationUserType.TEACHER; } },
|
{ label: 'Generating QR Codes', name: 'generateQrCode', click: this.generateQrCode, isDisabled: () => { return false; }, isShow: () => { return this.$store.state.training.domConfig.joint && this.$store.state.training.simulationUserType === SimulationUserType.TEACHER; } },
|
||||||
{ label: 'Switch passenger flow data', name: 'changeFlowData', click: this.changeFlowData, isDisabled: () => { return false; }, isShow: this.isShowLpf},
|
{ label: 'Switch passenger flow data', name: 'changeFlowData', click: this.changeFlowData, isDisabled: () => { return false; }, isShow: this.isShowLpf},
|
||||||
{ label: 'Member management', name: 'memberManage', click: this.memberManage, isDisabled: () => { return false; }, isShow: () => { return this.$store.state.training.domConfig.hasMemberManage && this.$store.state.training.simulationUserType === SimulationUserType.TEACHER; } },
|
{ label: 'Member management', name: 'memberManage', click: this.memberManage, isDisabled: () => { return false; }, isShow: () => { return this.$store.state.training.domConfig.hasMemberManage && this.$store.state.training.simulationUserType === SimulationUserType.TEACHER; } },
|
||||||
{ label: 'Exam', name: 'exam', click: this.goExam, isDisabled: () => { return false; }, isShow: () => { return this.$store.state.training.domConfig.hasExam && this.$store.state.training.simulationUserType === SimulationUserType.TEACHER; } },
|
{ label: 'Exam', name: 'exam', click: this.goExam, isDisabled: () => { return false; }, isShow: () => { return this.$store.state.training.domConfig.hasExam && this.$store.state.training.simulationUserType === SimulationUserType.TEACHER; } },
|
||||||
{ label: 'Driving on schedule', name: 'drivingPlan', click: this.drivingPlan, isDisabled: () => { return this.$store.state.trainingNew.trainingSwitch; },
|
// { label: 'Driving on schedule', name: 'drivingPlan', click: this.drivingPlan, isDisabled: () => { return this.$store.state.trainingNew.trainingSwitch; },
|
||||||
isShow: () => this.$store.state.training.simulationUserType === SimulationUserType.TEACHER && this.$store.state.map.picture !== 'diagramEdit' },
|
// isShow: () => this.$store.state.training.simulationUserType === SimulationUserType.TEACHER && this.$store.state.map.picture !== 'diagramEdit' },
|
||||||
{ label: 'Initialisation', name: 'initialize', click: this.initializeSim, isDisabled: () => { return this.$store.state.trainingNew.trainingSwitch; },
|
{ label: 'Initialisation', name: 'initialize', click: this.initializeSim, isDisabled: () => { return this.$store.state.trainingNew.trainingSwitch; },
|
||||||
isShow: () => this.$store.state.training.simulationUserType === SimulationUserType.TEACHER && this.$store.state.map.picture !== 'diagramEdit' },
|
isShow: () => this.$store.state.training.simulationUserType === SimulationUserType.TEACHER && this.$store.state.map.picture !== 'diagramEdit' },
|
||||||
{ label: 'Exit', name: 'quit', click: this.exitSim, isDisabled: () => { return false; }, isShow: () => { return !this.$route.query.newOpen; } },
|
{ label: 'Exit', name: 'quit', click: this.exitSim, isDisabled: () => { return false; }, isShow: () => { return !this.$route.query.newOpen; } },
|
||||||
|
Loading…
Reference in New Issue
Block a user