From f74c2fd43150311e0aa8b1eb8eb715ac20ca21cf Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 06 十二月 2023 10:21:22 +0800 Subject: [PATCH] 上传代码 --- Source/UBCS-WEB/src/components/Master/MasterTree.vue | 8 +++++++- 1 files changed, 7 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..978e482 100644 --- a/Source/UBCS-WEB/src/components/Master/MasterTree.vue +++ b/Source/UBCS-WEB/src/components/Master/MasterTree.vue @@ -31,6 +31,10 @@ type: String, default: '' }, + isLoading:{ + type: Boolean, + default:false + } }, data() { return { @@ -147,12 +151,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 +215,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