From 1784bf06d86bdb6217ea7015189bc382edd3702e Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 06 十二月 2023 10:06:38 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/components/Master/MasterTree.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Master/MasterTree.vue b/Source/UBCS-WEB/src/components/Master/MasterTree.vue index b34e705..6e77ae6 100644 --- a/Source/UBCS-WEB/src/components/Master/MasterTree.vue +++ b/Source/UBCS-WEB/src/components/Master/MasterTree.vue @@ -47,6 +47,7 @@ CloneTreeAvueform: {}, loading: false, Treedata: [], + isLoading: false, nodeClickList: "", Treeoption: { addBtn: false, @@ -147,12 +148,14 @@ }, //琛ㄦ牸鍒锋柊 TableRend() { + this.isLoading = true; TableData({ templateOid: this.templateOids, codeClassifyOid: this.nodeClickList.oid, page: this.currentPage, limit: this.pageSize, }).then(res => { + this.isLoading = false; this.tableDataArray = res.data.data; this.$emit('tableDataArray', this.tableDataArray) this.$emit('total', res.data.total) @@ -209,7 +212,7 @@ this.tableHeadFindData = [] await this.TableHeadRend(); // 鍏堟墽琛� TableHeadRend() this.TableRend(); // TableHeadRend() 鏂规硶瀹屾垚鍚庡啀鎵ц TableRend() - this.$emit('nodeClick', this.templateOids) + this.$emit('nodeClickTemplateOids', this.templateOids) this.$emit("codeClassifyOid", this.nodeClickList.oid) this.$emit("nodeClickList", this.nodeClickList) } catch (error) { -- Gitblit v1.9.3