成都三的总人解点引导信号,调的操作改成总人解

This commit is contained in:
joylink_fanyuhong 2024-10-12 17:44:58 +08:00
parent c8a49e3d31
commit ff4624cf2f

View File

@ -596,22 +596,14 @@ export default {
code: model.code, code: model.code,
operation: this.$store.state.menuOperation.buttonOperation operation: this.$store.state.menuOperation.buttonOperation
}; };
operate.cmdType = CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE;
if (model.aspect == 'RY') { operate.param = {signalCode: model.code};
operate.cmdType = CMD.Signal.CMD_SIGNAL_CLOSE_GUIDE; operate.val = model.code;
operate.param = {signalCode: model.code}; this.deviceList = [];
this.deviceList = []; this.$store.dispatch('trainingNew/next', operate).then(({valid, response}) => {}).catch((error) => {
this.$store.dispatch('trainingNew/next', operate).then(({valid, response}) => {}); console.error(error);
} else { this.$refs.noticeInfo.doShow();
operate.cmdType = CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE; });
operate.param = {signalCode: model.code};
operate.val = model.code;
this.deviceList = [];
this.$store.dispatch('trainingNew/next', operate).then(({valid, response}) => {}).catch((error) => {
console.error(error);
this.$refs.noticeInfo.doShow();
});
}
}, },
handelControlRoute(model) { // button handelControlRoute(model) { // button
const routeCodeList = []; const routeCodeList = [];