mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 06:46:43 +08:00
fix:专区-社招新员工跳转逻辑调整
This commit is contained in:
@@ -218,7 +218,7 @@
|
||||
<NewEmployeeGuideDialog
|
||||
:visible.sync="guideDialogVisible"
|
||||
@close="guideDialogVisible = false"
|
||||
:showBtn="false"
|
||||
:showBtn="true"
|
||||
/>
|
||||
<!-- 转正流程图弹窗 -->
|
||||
<el-dialog
|
||||
@@ -421,10 +421,11 @@ export default {
|
||||
async mounted() {
|
||||
const res = await getWelcomeData();
|
||||
// 社招新员工项目标识:0否,1是
|
||||
if (res.data.approvalResults == 1) {
|
||||
if (res.data.approvalResults == 1 || !res.data.approvalResults) {
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user