From b6bc27020cf028c4390d7262c4d2f08eaa51b2f0 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期二, 27 六月 2023 21:35:06 +0800 Subject: [PATCH] 代码整合 --- Source/UBCS-WEB/src/components/Master/MasterTree.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Master/MasterTree.vue b/Source/UBCS-WEB/src/components/Master/MasterTree.vue index 3163e4a..4d63d27 100644 --- a/Source/UBCS-WEB/src/components/Master/MasterTree.vue +++ b/Source/UBCS-WEB/src/components/Master/MasterTree.vue @@ -68,14 +68,14 @@ } }, created() { - this.getTreeList() + this.getTreeLists() }, computed:{ }, methods:{ //鑾峰彇鏁版嵁 - getTreeList(){ + getTreeLists(){ getTreeList({'conditionMap[id]': 'wupin'}).then(res=>{ this.Treedata=res.data this.ModifyProperties(this.Treedata, 'text', 'label'); @@ -146,14 +146,13 @@ async nodeClick(data) { try { this.nodeClickList = data; + this.tableHeadDataFateher=[] + this.tableHeadFindData=[] await this.TableHeadRend(); // 鍏堟墽琛� TableHeadRend() this.TableRend(); // TableHeadRend() 鏂规硶瀹屾垚鍚庡啀鎵ц TableRend() this.$emit('nodeClick',this.templateOids) this.$emit("codeClassifyOid", this.nodeClickList.oid ) - // console.log('鍏冩暟鎹�',this.templateOids) - // console.log('鍏冩暟鎹甤od',this.codeClassifyOid) - // console.log('鍏冩暟鎹畁odeclick', this.nodeClickList.oid) - // console.log(this.tableHeadFindData) + } catch (error) { // 澶勭悊閿欒 this.$message.error(error) -- Gitblit v1.9.3