Merge remote-tracking branch 'origin/test_dispaly' into test
This commit is contained in:
commit
aee86e8024
@ -6,13 +6,13 @@
|
|||||||
<center><b>建</b><b>立</b></center>
|
<center><b>建</b><b>立</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</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'}">
|
<span :style="{color: operation === MixinCommand.totalCancel.button.operation ? '#ccc': 'black'}">
|
||||||
<center><b>总</b></center>
|
<center><b>总</b></center>
|
||||||
<center><b>取</b><b>消</b></center>
|
<center><b>取</b><b>消</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</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'}">
|
<span :style="{color: operation === Signal.reopenSignal.button.operation ? '#ccc': 'black'}">
|
||||||
<center><b>信</b><b>号</b></center>
|
<center><b>信</b><b>号</b></center>
|
||||||
<center><b>重</b><b>开</b></center>
|
<center><b>重</b><b>开</b></center>
|
||||||
@ -30,7 +30,7 @@
|
|||||||
<center><b>总</b><b>锁</b></center>
|
<center><b>总</b><b>锁</b></center>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</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'}">
|
<span :style="{color: operation === Signal.humanTrainRoute.button.operation ? '#ccc':'#800000'}">
|
||||||
<center><b>总</b></center>
|
<center><b>总</b></center>
|
||||||
<center><b>人</b><b>解</b></center>
|
<center><b>人</b><b>解</b></center>
|
||||||
@ -461,7 +461,9 @@ export default {
|
|||||||
operation: this.Signal.reopenSignal.button.operation,
|
operation: this.Signal.reopenSignal.button.operation,
|
||||||
userOperationType: UserOperationType.LEFTCLICK,
|
userOperationType: UserOperationType.LEFTCLICK,
|
||||||
code: device.code,
|
code: device.code,
|
||||||
param: { signalCode: device.code }
|
param:{
|
||||||
|
signalCode: device._type === 'Signal' ? device.code : device.signalCode
|
||||||
|
}
|
||||||
};
|
};
|
||||||
this.$store.dispatch('trainingNew/next', operate);
|
this.$store.dispatch('trainingNew/next', operate);
|
||||||
},
|
},
|
||||||
@ -555,7 +557,10 @@ export default {
|
|||||||
operation: this.$store.state.menuOperation.buttonOperation,
|
operation: this.$store.state.menuOperation.buttonOperation,
|
||||||
userOperationType: UserOperationType.LEFTCLICK,
|
userOperationType: UserOperationType.LEFTCLICK,
|
||||||
val: model.code,
|
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);
|
this.$store.dispatch('trainingNew/next', operate);
|
||||||
},
|
},
|
||||||
|
@ -193,8 +193,11 @@ export default {
|
|||||||
this.logout();
|
this.logout();
|
||||||
});
|
});
|
||||||
} else if (this.$route.query.third) {
|
} else if (this.$route.query.third) {
|
||||||
// this.$router.push({ path: `/trainingPlatform/simulation/${this.$route.query.mapId}`, query: { lineCode: this.$route.query.lineCode } });
|
if (this.$route.query.project === 'cgy') {
|
||||||
|
window.parent.postMessage('back', '*');
|
||||||
|
} else {
|
||||||
window.close();
|
window.close();
|
||||||
|
}
|
||||||
} else if (this.projectDevice) {
|
} else if (this.projectDevice) {
|
||||||
this.logout();
|
this.logout();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user