mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-23 17:55:37 +08:00
fix:未发布跳转逻辑调整
This commit is contained in:
@@ -314,6 +314,10 @@ export default {
|
|||||||
this.bpmApprovalRequired = res.data.bpmApprovalRequired;
|
this.bpmApprovalRequired = res.data.bpmApprovalRequired;
|
||||||
this.projectId = res.data.id || "";
|
this.projectId = res.data.id || "";
|
||||||
this.projectName = res.data.name || "";
|
this.projectName = res.data.name || "";
|
||||||
|
if (res.data.status != 3) {
|
||||||
|
this.$refs.customMessage.show("社招新员工项目待发布,请等候");
|
||||||
|
this.$router.push("/new-employee/welcome");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
async loadList() {
|
async loadList() {
|
||||||
if (!this.studentId || !this.projectId) return;
|
if (!this.studentId || !this.projectId) return;
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ export default {
|
|||||||
if (res.data.approvalResults) {
|
if (res.data.approvalResults) {
|
||||||
this.approvalResults = res.data.approvalResults;
|
this.approvalResults = res.data.approvalResults;
|
||||||
|
|
||||||
if (res.data.approvalResults != 1) {
|
if (res.data.approvalResults != 1 && isPublish) {
|
||||||
this.$router.push("/new-employee/study");
|
this.$router.push("/new-employee/study");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user