fix:报名失败提示语调整

This commit is contained in:
zxj
2025-11-17 18:20:02 +08:00
parent 552d29d2b7
commit 0e80ff4df6
2 changed files with 7 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;
} }