bug 修复 【大铁标准站】大铁车务终端的操作:总取消、信号重开、总人解等报错
This commit is contained in:
parent
b0d80ac49e
commit
0c7f55c911
@ -6,13 +6,13 @@
|
||||
<center><b>建</b><b>立</b></center>
|
||||
</span>
|
||||
</button>
|
||||
<button :id="MixinCommand.totalCancel.button.domId" class="button_box" @click="buttonDown(MixinCommand.totalCancel.button.operation, [])">
|
||||
<button :id="MixinCommand.totalCancel.button.domId" class="button_box" @click="buttonDown(MixinCommand.totalCancel.button.operation, ['Signal','SignalButton'])">
|
||||
<span :style="{color: operation === MixinCommand.totalCancel.button.operation ? '#ccc': 'black'}">
|
||||
<center><b>总</b></center>
|
||||
<center><b>取</b><b>消</b></center>
|
||||
</span>
|
||||
</button>
|
||||
<button :id="Signal.reopenSignal.button.domId" class="button_box" @click="buttonDown(Signal.reopenSignal.button.operation, ['Signal'])">
|
||||
<button :id="Signal.reopenSignal.button.domId" class="button_box" @click="buttonDown(Signal.reopenSignal.button.operation, ['Signal','SignalButton'])">
|
||||
<span :style="{color: operation === Signal.reopenSignal.button.operation ? '#ccc': 'black'}">
|
||||
<center><b>信</b><b>号</b></center>
|
||||
<center><b>重</b><b>开</b></center>
|
||||
@ -30,7 +30,7 @@
|
||||
<center><b>总</b><b>锁</b></center>
|
||||
</span>
|
||||
</button>
|
||||
<button :id="Signal.humanTrainRoute.button.domId" class="button_box" @click="buttonDown(Signal.humanTrainRoute.button.operation, ['Signal'])">
|
||||
<button :id="Signal.humanTrainRoute.button.domId" class="button_box" @click="buttonDown(Signal.humanTrainRoute.button.operation, ['Signal','SignalButton'])">
|
||||
<span :style="{color: operation === Signal.humanTrainRoute.button.operation ? '#ccc':'#800000'}">
|
||||
<center><b>总</b></center>
|
||||
<center><b>人</b><b>解</b></center>
|
||||
@ -461,7 +461,9 @@ export default {
|
||||
operation: this.Signal.reopenSignal.button.operation,
|
||||
userOperationType: UserOperationType.LEFTCLICK,
|
||||
code: device.code,
|
||||
param: { signalCode: device.code }
|
||||
param:{
|
||||
signalCode: device._type === 'Signal' ? device.code : device.signalCode
|
||||
}
|
||||
};
|
||||
this.$store.dispatch('trainingNew/next', operate);
|
||||
},
|
||||
@ -555,7 +557,10 @@ export default {
|
||||
operation: this.$store.state.menuOperation.buttonOperation,
|
||||
userOperationType: UserOperationType.LEFTCLICK,
|
||||
val: model.code,
|
||||
param: { signalCode: model.code }
|
||||
// param: { signalCode: model.code }
|
||||
param:{
|
||||
signalCode: model._type === 'Signal' ? model.code : model.signalCode
|
||||
}
|
||||
};
|
||||
this.$store.dispatch('trainingNew/next', operate);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user