From 9da0e2b46b4c9c84eeea1172245b98ca34725638 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期三, 19 三月 2025 17:22:57 +0800 Subject: [PATCH] qx --- src/views/index.vue | 4 ++-- src/views/hosp/project/index.vue | 8 +------- 2 files changed, 3 insertions(+), 9 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) => { diff --git a/src/views/index.vue b/src/views/index.vue index 8ccd4ef..6b85e7c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -158,8 +158,8 @@ yAxis: { type: 'value', min: 0, - max: 100, - interval: 5 + max: 400, + interval: 20 }, series: [ { -- Gitblit v1.8.0