mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
fix:报名失败提示语调整
This commit is contained in:
@@ -405,7 +405,9 @@ export default {
|
||||
// this.$router.push("/new-employee/welcome");
|
||||
const res = await enrollRequest();
|
||||
if (res.data.sendToOaSuccess != 0) {
|
||||
this.$refs.customMessage.show("报名失败,请联系XXXX,联系方式:XXXXXX");
|
||||
this.$refs.customMessage.show(
|
||||
"报名失败请稍后重试,如果再次失败,请联系:XXXX,联系方式:XXXX。"
|
||||
);
|
||||
} else {
|
||||
this.$refs.customMessage.show("您已重新报名成功");
|
||||
this.approvalResults = 2;
|
||||
|
||||
@@ -109,6 +109,9 @@ export default {
|
||||
// 1报名失败、2审核中、3审核通过、4审核失败
|
||||
if (res.data.approvalResults) {
|
||||
this.approvalResults = res.data.approvalResults;
|
||||
if (res.data.approvalResults != 1) {
|
||||
this.$router.push("/new-employee/study");
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
@@ -122,7 +125,7 @@ export default {
|
||||
const res = await enrollRequest();
|
||||
if (res.data.sendToOaSuccess != 0) {
|
||||
this.$refs.customMessage.show(
|
||||
"报名失败,请联系XXXX,联系方式:XXXXXX"
|
||||
"报名失败请稍后重试,如果再次失败,请联系:XXXX,联系方式:XXXX。"
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user