fix:不走bmp报名流程时隐藏报名状态

This commit is contained in:
zxj
2025-12-17 20:47:59 +08:00
parent f1c65a66af
commit cc21f771c8

View File

@@ -128,7 +128,7 @@
>转正攻略</el-button >转正攻略</el-button
> >
</div> </div>
<div> <div v-if="bpmApprovalRequired">
<div v-if="approvalResults == 2"> <div v-if="approvalResults == 2">
<el-alert type="warning" center show-icon :closable="false"> <el-alert type="warning" center show-icon :closable="false">
<template slot="title"> <template slot="title">
@@ -160,7 +160,7 @@
</el-alert> </el-alert>
</div> </div>
</div> </div>
<div style="text-align: center"> <div style="text-align: center" v-if="bpmApprovalRequired">
<el-button type="text" @click="chartVisible = true" <el-button type="text" @click="chartVisible = true"
>转正流程示意图 ></el-button >转正流程示意图 ></el-button
> >
@@ -293,6 +293,7 @@ export default {
4: "审核失败", 4: "审核失败",
}, },
approvalResults: 1, approvalResults: 1,
bpmApprovalRequired: 1,
}; };
}, },
computed: { computed: {
@@ -413,6 +414,7 @@ export default {
this.guideDialogVisible = this.$route.query?.fromWelcome == 1; this.guideDialogVisible = this.$route.query?.fromWelcome == 1;
// 1报名失败、2审核中、3审核通过、4审核失败 // 1报名失败、2审核中、3审核通过、4审核失败
this.approvalResults = res.data.approvalResults; this.approvalResults = res.data.approvalResults;
this.bpmApprovalRequired = res.data.bpmApprovalRequired;
await this.initIds(); await this.initIds();
if (!this.projectId || !this.studentId) { if (!this.projectId || !this.studentId) {
this.$message.warning("未获得项目或学员信息,列表可能无法加载"); this.$message.warning("未获得项目或学员信息,列表可能无法加载");