From 552d29d2b7497aa1b58d5d2929ea3a245db17c3a Mon Sep 17 00:00:00 2001 From: zxj Date: Mon, 17 Nov 2025 18:04:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8A=A5=E5=90=8D=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/new-employee/StudyPage.vue | 1 + src/views/new-employee/WelcomePage.vue | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/views/new-employee/StudyPage.vue b/src/views/new-employee/StudyPage.vue index c54a446a..109abba3 100644 --- a/src/views/new-employee/StudyPage.vue +++ b/src/views/new-employee/StudyPage.vue @@ -419,6 +419,7 @@ export default { this.$refs.customMessage.show("未报名或报名失败,请前往报名页面进行报名"); this.$router.push("/new-employee/welcome"); } + this.guideDialogVisible = this.$route.query?.fromWelcome == 1; // 1报名失败、2审核中、3审核通过、4审核失败 this.approvalResults = res.data.approvalResults; await this.initIds(); diff --git a/src/views/new-employee/WelcomePage.vue b/src/views/new-employee/WelcomePage.vue index 37ad9cd3..d0bd9849 100644 --- a/src/views/new-employee/WelcomePage.vue +++ b/src/views/new-employee/WelcomePage.vue @@ -60,13 +60,13 @@ - + /> --> @@ -127,21 +127,21 @@ export default { return; } } else { - this.infoConfirmDialogVisible = true; + this.$router.push("/new-employee/study?fromWelcome=1"); } }, // 确认按钮 - async handleConfirm() { - try { - this.$router.push("/new-employee/study"); - } catch (error) { - console.error("提交失败:", error); - this.processing = false; - this.confirmBtnText = "确认"; - this.$message.error("提交失败,请重试"); - } - }, + // async handleConfirm() { + // try { + // this.$router.push("/new-employee/study"); + // } catch (error) { + // console.error("提交失败:", error); + // this.processing = false; + // this.confirmBtnText = "确认"; + // this.$message.error("提交失败,请重试"); + // } + // }, // 关闭对话框 handleDialogClose() {