From a3dbb8fe40e06f9abd9718f14aaa7311bddbc150 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 13 二月 2025 21:46:05 +0800 Subject: [PATCH] 除了项目中心,其它项目页面都不显示审核状态 --- src/components/Process/panel/TaskConfPanel.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/Process/panel/TaskConfPanel.vue b/src/components/Process/panel/TaskConfPanel.vue index 9d93362..fc80fea 100644 --- a/src/components/Process/panel/TaskConfPanel.vue +++ b/src/components/Process/panel/TaskConfPanel.vue @@ -446,17 +446,18 @@ // 璁捐鍣ㄥ彸渚ц〃鍗曟暟鎹洖鏄� checkValuesEcho(formData) { if (formData.expId) { + console.log("456") this.getExpList(formData.expId); this.typeButDisable = true this.expButDisable = false } else { this.typeButDisable = false this.expSelect = null - if ("candidateGroups" === formData.userType || "candidateDeptGroups" === formData.userType) { - this.getRoleOrDeptReview(formData.candidateGroups) - } else { - this.getUserList(formData[formData.userType], formData.userType); - } + } + if ("candidateGroups" === formData.userType || "candidateDeptGroups" === formData.userType) { + this.getRoleOrDeptReview(formData.candidateGroups) + } else { + this.getUserList(formData[formData.userType], formData.userType); } }, @@ -492,8 +493,9 @@ this.typeButDisable = false // 鏍规嵁id绛涢�夊嚭鏄鑹茶繕鏄儴闂� const roleAndDeptIds = ids.split(","); - const deptIds = roleAndDeptIds.filter(item => item.includes("dept")); - const roleIds = roleAndDeptIds.filter(item => !item.includes("dept")); + console.log("woc", roleAndDeptIds) + const deptIds = roleAndDeptIds.filter(item => item.includes("dept") || item === '${data_launch}'); + const roleIds = roleAndDeptIds.filter(item => !item.includes("dept") && item !== '${data_launch}'); if (roleIds && roleIds.length > 0) { // 瑙掕壊 const targetRoleList = this.modelerStore.roleList?.filter(i => roleIds.includes(i.roleId.toString())) -- Gitblit v1.8.0