From 5350514e716d3383fa3923a007fecac5b1ea365a Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期一, 14 四月 2025 17:37:44 +0800 Subject: [PATCH] qx --- src/views/hosp/project/index.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index 7fbc8a3..219515f 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -978,7 +978,7 @@ multiple: true, showSearch: true, total: 0, - treeId: ["532"], + treeId: [], ListId: [], noclick: false, consumableList: [], @@ -1069,6 +1069,7 @@ this.debounceFilter(val); }, treeId(newVal) { + console.log(newVal,8989) if (newVal && newVal.length > 0) { this.$nextTick(() => { const lastId = newVal[newVal.length - 1] || "532"; @@ -1139,7 +1140,7 @@ traverse(this.deptOptions); }, filterNode(value, data) { - if (!value) return true; // 濡傛灉鎼滅储鍊间负绌猴紝杩斿洖鎵�鏈夎妭鐐� + if (!value) return true; const cached = this.pinyinCache.get(data.id); if (!cached) return false; // 濡傛灉娌℃湁缂撳瓨鏁版嵁锛屼笉鏄剧ず璇ヨ妭鐐� const searchLower = value.toLowerCase(); // 灏嗘悳绱㈣瘝杞负灏忓啓 @@ -1405,7 +1406,8 @@ }, handleNodeClick(date) { this.treeDate = date; - console.log(this.treeDate); + this.treeId = [] + console.log(this.treeId,2222); this.xiugais = date.qf === "0"; let proId = date.id; getInfoByProId(proId).then((response) => { @@ -1707,6 +1709,7 @@ this.precomputePinyin(); }); } + console.log(this.treeId) }, submit() { this.ChangeList.forEach((item) => { -- Gitblit v1.8.0