成都一号线 道岔操作代码调整

This commit is contained in:
joylink_cuiweidong 2020-02-24 15:59:51 +08:00
parent a177ce9d0d
commit 56e49f0561
2 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<template> <template>
<el-dialog v-dialogDrag class="chengdou-03__systerm switch-control" :title="title" :visible.sync="show" width="300px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false"> <el-dialog v-dialogDrag class="chengdou-01__system switch-control" :title="title" :visible.sync="show" width="300px" :before-close="doClose" :z-index="2000" :modal="false" :close-on-click-modal="false">
<el-row class="header"> <el-row class="header">
<el-col :span="11"><span>车站名称</span></el-col> <el-col :span="11"><span style="color:#000;">车站名称</span></el-col>
<el-col :span="11" :offset="2"><span>道岔</span></el-col> <el-col :span="11" :offset="2"><span style="color:#000;">道岔</span></el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="11"> <el-col :span="11">

View File

@ -179,6 +179,7 @@ export default {
setStoppage() { setStoppage() {
const operate = { const operate = {
start: true, start: true,
over:true,
operation: OperationEvent.Switch.stoppage.menu.operation, operation: OperationEvent.Switch.stoppage.menu.operation,
cmdType: CMD.Switch.CMD_STOPPAGE, cmdType: CMD.Switch.CMD_STOPPAGE,
param: { param: {
@ -201,6 +202,7 @@ export default {
cancelStoppage() { cancelStoppage() {
const operate = { const operate = {
start: true, start: true,
over:true,
operation: OperationEvent.Switch.cancelStoppage.menu.operation, operation: OperationEvent.Switch.cancelStoppage.menu.operation,
cmdType: CMD.Switch.CMD_CANCEL_STOPPAGE, cmdType: CMD.Switch.CMD_CANCEL_STOPPAGE,
param: { param: {