国赛校验失败不关闭dialog处理

This commit is contained in:
fan 2023-11-30 09:41:22 +08:00
parent 7094bca4f4
commit cf2801288f
16 changed files with 49 additions and 19 deletions

View File

@ -132,7 +132,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
}

View File

@ -220,7 +220,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
}

View File

@ -117,7 +117,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -137,7 +137,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -212,7 +212,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -156,7 +156,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
} else {

View File

@ -285,7 +285,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
}

View File

@ -142,7 +142,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -140,7 +140,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
} else {

View File

@ -142,7 +142,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -149,7 +149,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -169,7 +169,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -106,7 +106,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -137,7 +137,9 @@ export default {
}
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -152,7 +152,9 @@ export default {
this.doClose();
}).catch(() => {
this.loading = false;
this.doClose();
if (!this.$store.state.trainingNew.trainingSwitch) {
this.doClose();
}
this.$refs.noticeInfo.doShow();
});
},

View File

@ -65,7 +65,7 @@ export default {
cmdType: CMD.Signal.CMD_SIGNAL_SET_ROUTE,
isDisabled: (signal, work) => false,
isShow: (signal, work) => true,
isAvailableInOtherControlMode: true
isAvailableInOtherControlMode: true
},
{
label: '取消进路',
@ -73,7 +73,7 @@ export default {
cmdType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE,
isDisabled: (signal, work) => false,
isShow: (signal, work) => true,
isAvailableInOtherControlMode: true
isAvailableInOtherControlMode: true
},
{
label: '信号重开',
@ -130,7 +130,7 @@ export default {
cmdType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING,
isDisabled: (signal, work) => false,
isShow: (signal, work) => true,
isAvailableInOtherControlMode: true
isAvailableInOtherControlMode: true
},
{
label: '进路自排开',
@ -138,7 +138,7 @@ export default {
cmdType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING,
isDisabled: (signal, work) => false,
isShow: (signal, work) => true,
isAvailableInOtherControlMode: true
isAvailableInOtherControlMode: true
},
{
label: '设置通过模式',