From c12ce4c405d92c0bf11e876468108d1edb134ff2 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期四, 31 七月 2025 17:55:10 +0800 Subject: [PATCH] 1 --- src/views/hosp/project/index.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index c690436..3a457bc 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -1193,7 +1193,7 @@ }, created() { // this.getConsumables(); - // this.getDeptList(); + this.getDeptList(); // this.getDeptTree().then(() => { // this.precomputePinyin(); // }); @@ -1383,12 +1383,16 @@ this.form.hisXmbm = ""; this.form.hisXmmc = ""; this.form.hisdj = ""; - this.loading = true; + // this.loading = true; this.proParent = false; this.form.proPrice = 0.0; this.form.proName = ""; this.form.proId = null; this.form.resultType = "1"; + + // 鍏堣幏鍙栫瀹ゅ垪琛ㄦ暟鎹� + this.getDeptList(); + getlist().then((response) => { if (response.code == 200) { this.loading = false; @@ -1543,7 +1547,7 @@ getDeptList() { listDept(this.queryParams).then((response) => { this.parentNameList = response.data; - this.deptList = this.handleTree(response.data, "proId"); + this.deptList = this.handleTree(response.data, "deptId"); }); }, /* getDeptTree() { -- Gitblit v1.8.0