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