mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 10:56:44 +08:00
fix:报名流程调整
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -60,13 +60,13 @@
|
||||
</div>
|
||||
|
||||
<!-- 学习引导页面 -->
|
||||
<NewEmployeeGuideDialog
|
||||
<!-- <NewEmployeeGuideDialog
|
||||
:visible.sync="infoConfirmDialogVisible"
|
||||
:processing="processing"
|
||||
:onConfirm="handleConfirm"
|
||||
:onCancel="() => (infoConfirmDialogVisible = false)"
|
||||
@close="handleDialogClose"
|
||||
/>
|
||||
/> -->
|
||||
<!-- 自定义信息提示 -->
|
||||
<CustomInfoMessage ref="customMessage" />
|
||||
</div>
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user