国赛校验失败不关闭dialog处理
This commit is contained in:
parent
7094bca4f4
commit
cf2801288f
@ -132,7 +132,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
}
|
||||
|
@ -220,7 +220,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
}
|
||||
|
@ -117,7 +117,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
|
@ -137,7 +137,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
|
@ -212,7 +212,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
|
@ -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 {
|
||||
|
@ -285,7 +285,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
}
|
||||
|
@ -142,7 +142,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
|
@ -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 {
|
||||
|
@ -142,7 +142,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
|
@ -149,7 +149,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
|
@ -169,7 +169,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
|
@ -106,7 +106,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
|
@ -137,7 +137,9 @@ export default {
|
||||
}
|
||||
}).catch(() => {
|
||||
this.loading = false;
|
||||
this.doClose();
|
||||
if (!this.$store.state.trainingNew.trainingSwitch) {
|
||||
this.doClose();
|
||||
}
|
||||
this.$refs.noticeInfo.doShow();
|
||||
});
|
||||
},
|
||||
|
@ -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();
|
||||
});
|
||||
},
|
||||
|
@ -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: '设置通过模式',
|
||||
|
Loading…
Reference in New Issue
Block a user