From 5da871a9345d1b80767623cdbe74a45e3ff5532b Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期四, 03 四月 2025 13:56:06 +0800 Subject: [PATCH] 1 --- 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..92e9b30 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