大铁线路 分路不良 代码调整

This commit is contained in:
joylink_cuiweidong 2022-09-05 17:27:47 +08:00
parent 4a128b5f89
commit 4413c17327
2 changed files with 4 additions and 2 deletions

View File

@ -123,6 +123,7 @@ export default {
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => { this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) { if (valid) {
this.doClose(); this.doClose();
this.$emit('clearOperate');
} }
}).catch((error) => { this.doClose(); this.$refs.noticeInfo.doShow(); console.log(error); }); }).catch((error) => { this.doClose(); this.$refs.noticeInfo.doShow(); console.log(error); });
}, },

View File

@ -1,6 +1,7 @@
<template> <template>
<div v-if="isShowBtn" id="menuButtons_box" class="menu menuButton" style="height:40px;" :style="{left: point.x+'px', bottom: point.y+'px' }"> <div v-if="isShowBtn" id="menuButtons_box" class="menu menuButton" style="height:40px;" :style="{left: point.x+'px', bottom: point.y+'px' }">
<button :id="Station.stationMasterLock.rightButton.domId" class="button_box" :style="{width: width+'px', backgroundColor: xGuideMasterLock? guideColorDown: guideColorUp}" @click="guideLockRightButtonDown()"> <!-- backgroundColor: xGuideMasterLock? guideColorDown: guideColorUp -->
<button :id="Station.stationMasterLock.rightButton.domId" class="button_box" :style="{width: width+'px', backgroundColor:buttonUpColor}" @click="guideLockRightButtonDown()">
<span style="color: #800000"> <span style="color: #800000">
<center><b>X引导总锁</b></center> <center><b>X引导总锁</b></center>
</span> </span>
@ -118,7 +119,7 @@
<!--</button>--> <!--</button>-->
<password-box ref="password" @checkOver="passWordCommit" @checkCancel="clearOperate" /> <password-box ref="password" @checkOver="passWordCommit" @checkCancel="clearOperate" />
<notice-info ref="noticeInfo" pop-class="chengdou-03__systerm" /> <notice-info ref="noticeInfo" pop-class="chengdou-03__systerm" />
<defective-shunting ref="defectiveShunting" /> <defective-shunting ref="defectiveShunting" @clearOperate="clearOperate" />
</div> </div>
</template> </template>