From 30565c28ef92fbafc0247424d1d741e5d4df8c00 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期三, 20 十二月 2023 17:41:45 +0800 Subject: [PATCH] qxtj --- src/views/hosp/project/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index 41f5838..bb9506f 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -471,7 +471,9 @@ id: null, }, // 琛ㄥ崟鍙傛暟 - form: {}, + form: { + needReport :"Y" + }, // 琛ㄥ崟鏍¢獙 rules: { createTime: [ @@ -568,7 +570,7 @@ /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd(row) { - this.reset(); + // this.reset(); this.loading = true; ProjectTree().then((response) => { if (response.code == 200) { @@ -591,7 +593,7 @@ this.form.deptId = this.queryParams.deptId; this.form.proCheckMethod = "N"; - this.form.needReport ="Y" + if ((this.key = "Y")) { gettreeList().then((response) => { this.deptOptionstree = response.data; -- Gitblit v1.8.0