diff --git a/src/views/new-employee/StudyPage.vue b/src/views/new-employee/StudyPage.vue index 4b585e8d..1b2fa7f2 100644 --- a/src/views/new-employee/StudyPage.vue +++ b/src/views/new-employee/StudyPage.vue @@ -119,7 +119,7 @@
{{ userInfo.name }}
{{ userInfo.departName }}
@@ -405,7 +405,11 @@ export default { } }, async returnEnroll() { - this.$confirm("请确认是否重新报名").then(async () => { + this.$confirm("是否重新报名社招新员工项目?", { + title: "报名确认", + type: "warning", + customClass: "returnEnroll", + }).then(async () => { const res = await enrollRequest(); if (res.data.sendToOaSuccess != 0) { this.$refs.errorMessage.show( @@ -423,11 +427,11 @@ export default { // 社招新员工项目标识:0否,1是 if (res.data.approvalResults == 1 || !res.data.approvalResults) { this.$refs.customMessage.show("未报名或报名失败,请前往报名页面进行报名"); - this.$router.push("/new-employee/welcome"); + // this.$router.push("/new-employee/welcome"); } this.guideDialogVisible = this.$route.query?.fromWelcome == 1; // 1报名失败、2审核中、3审核通过、4审核失败 - this.approvalResults = res.data.approvalResults; + this.approvalResults = 4 || res.data.approvalResults; await this.initIds(); if (!this.projectId || !this.studentId) { this.$message.warning("未获得项目或学员信息,列表可能无法加载"); @@ -841,4 +845,47 @@ export default { } + +