From 6b5c6c2ba98a744c30f604e2345f9734fa095a06 Mon Sep 17 00:00:00 2001 From: zxj Date: Tue, 18 Nov 2025 19:55:42 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=E5=AD=A6=E4=B9=A0=E9=A1=B5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/new-employee/StudyPage.vue | 44 +++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 4 deletions(-) diff --git a/src/views/new-employee/StudyPage.vue b/src/views/new-employee/StudyPage.vue index 4b585e8d..015a1a0a 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: "confirm", + }).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,36 @@ export default { } + + From d307356570fd1e0943df862433cb813f57a65110 Mon Sep 17 00:00:00 2001 From: zxj Date: Tue, 18 Nov 2025 20:08:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=E9=87=8D=E6=96=B0=E6=8A=A5=E5=90=8D?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E6=A0=B7=E5=BC=8F=E9=87=8D=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/new-employee/StudyPage.vue | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/views/new-employee/StudyPage.vue b/src/views/new-employee/StudyPage.vue index 015a1a0a..1b2fa7f2 100644 --- a/src/views/new-employee/StudyPage.vue +++ b/src/views/new-employee/StudyPage.vue @@ -405,10 +405,10 @@ export default { } }, async returnEnroll() { - this.$confirm("是否重新报名社招新员工项目", { + this.$confirm("是否重新报名社招新员工项目?", { title: "报名确认", type: "warning", - customClass: "confirm", + customClass: "returnEnroll", }).then(async () => { const res = await enrollRequest(); if (res.data.sendToOaSuccess != 0) { @@ -846,13 +846,16 @@ export default {