From 155a30a172e4cf04838dcf7c8bb73ce6b200e574 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期三, 26 三月 2025 14:52:54 +0800 Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb_region --- src/views/hosp/project/index.vue | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index 0e6a6a9..04c2fe4 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -692,13 +692,7 @@ } else if (this.treeDate.id) { if(this.treeDate.qf == "0"){ this.form.proParentId = "0" - this.projectOptions.forEach((item) => { - item.children.forEach((item1) => { - if (this.treeDate.id == item1.deptId) { - this.form.deptId = item1.deptId; - } - }); - }); + this.form.deptId=this.treeDate.id }else{ this.form.proParentId = this.treeDate.id; this.projectOptions.forEach((item) => { -- Gitblit v1.8.0