From 887a5f685eb71763ce646e0c4405ff36f629a1a8 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期二, 15 四月 2025 11:51:39 +0800 Subject: [PATCH] qx --- src/views/hosp/project/index.vue | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index 2fbb1d4..d2ec25c 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -130,6 +130,7 @@ v-loading="loading" :data="projectList" ref="tableRef" + height="580" border > <el-table-column @@ -1120,9 +1121,9 @@ created() { this.getConsumables(); this.getDeptList(); - this.getDeptTree().then(() => { - this.precomputePinyin(); - }); + // this.getDeptTree().then(() => { + // this.precomputePinyin(); + // }); }, mounted() { this.getDeptTree().then(() => { @@ -1410,12 +1411,17 @@ getDeptTree() { return deptTree111().then((response) => { this.deptOptions = response.data; - this.treeId.push(this.treeDate.id); + this.treeId = [] + if(this.treeDate.id){ + this.treeId.push( this.treeDate.id) + }else{ + this.treeId.push("532") + } + }); }, handleNodeClick(date) { this.treeDate = date; - this.treeId = [] console.log(this.treeId,2222); this.xiugais = date.qf === "0"; let proId = date.id; -- Gitblit v1.8.0