From 18f35fe78de41a1b240758c91e05380decb48978 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期五, 25 七月 2025 17:39:59 +0800 Subject: [PATCH] 1 --- src/views/hosp/project/index.vue | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index f9a55f2..ec93cd3 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -1162,8 +1162,8 @@ this.$nextTick(() => { const lastId = newVal[newVal.length - 1] || "532"; const node = this.findNodeById(this.deptOptions, lastId); - this.queryParams.proId = lastId - this.getList() + this.queryParams.proId = lastId; + this.getList(); if (node) { this.$refs.tree1.setCurrentKey(lastId); const nodeElement = document.querySelector( @@ -1252,7 +1252,6 @@ if (this.treeDate?.id) { this.treeId.push(this.treeDate.id); - } else { this.treeId.push("532"); } @@ -1780,7 +1779,7 @@ }[item.tjType] || item.tjType; }); } - getlist().then((response) => { + getlist().then((response) => { if (response.code == 200) { // this.loading = false; this.projectOptions = []; @@ -1887,19 +1886,19 @@ console.log(this.treeId); }, */ async handleSuccess(isY) { - this.cancel(); + this.cancel(); - if (this.proParent || isY) { - // 绛夊緟宸︿晶鏍戝姞杞藉拰鎷奸煶澶勭悊 - await this.getDeptTree(); - this.precomputePinyin(); - } + if (this.proParent || isY) { + // 绛夊緟宸︿晶鏍戝姞杞藉拰鎷奸煶澶勭悊 + await this.getDeptTree(); + this.precomputePinyin(); + } - // 绛夊緟鍙充晶琛ㄦ牸鍒锋柊 - await this.getList(); + // 绛夊緟鍙充晶琛ㄦ牸鍒锋柊 + await this.getList(); - this.pageLoading = false; // 鉁� 缁熶竴鍔犺浇鐘舵�佹帶鍒� -}, + this.pageLoading = false; // 鉁� 缁熶竴鍔犺浇鐘舵�佹帶鍒� + }, submit() { this.ChangeList.forEach((item) => { this.form.proPrice = item.ckdj; -- Gitblit v1.8.0