From 76b8440971955fa1ad27f37d263746baa6dca3a2 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 14 十一月 2024 15:36:01 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue index 6dca0c5..3f07b29 100644 --- a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue +++ b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue @@ -143,6 +143,8 @@ //琛ㄦ牸鏁版嵁 tableList: [], option: { + border:true, + stripe:true, index: true, addBtn: false, editBtn: false, @@ -228,7 +230,7 @@ if(newval) { this.sourceDataMapParams=this.sourceDataMap(); this.getParams(); - this.handleRefresh(); + // this.handleRefresh(); } }, deep: true, @@ -325,6 +327,7 @@ }, onLoad(page, params = {}) { if (Object.keys(this.sourceData).length>0 && this.isShow) { + this.tableList = []; this.loading = true; getList(page.currentPage, page.pageSize, Object.assign({},this.params,this.query,params)).then(res => { let data = []; @@ -398,6 +401,7 @@ this.onLoad(this.page,parms); }, searchReset() { + console.log('searchReset') this.query = {}; this.onLoad(this.page); }, @@ -410,6 +414,7 @@ } }, handleRefresh(type) { + console.log('handleRefresh') this.onLoad(this.page); }, rowExcel() { -- Gitblit v1.9.3