From 89600b73ad557ff3e1b4614536379d1a30ea78df Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 15 十一月 2024 10:55:43 +0800 Subject: [PATCH] 修改action --- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 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 9d71bfd..8a7ccc6 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 @@ -230,7 +230,7 @@ if(newval) { this.sourceDataMapParams=this.sourceDataMap(); this.getParams(); - this.handleRefresh(); + // this.handleRefresh(); } }, deep: true, @@ -327,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 = []; @@ -353,7 +354,7 @@ this.$refs.dataTable.rowView(row,index) }, rowClickChange(row){ - this.$refs.dataTable.toggleRowSelection(row); + this.$refs.dataTable.toggleRowSelection(row,true); }, selectChange(row) { this.selectList = row; @@ -400,6 +401,7 @@ this.onLoad(this.page,parms); }, searchReset() { + console.log('searchReset') this.query = {}; this.onLoad(this.page); }, @@ -412,6 +414,7 @@ } }, handleRefresh(type) { + console.log('handleRefresh') this.onLoad(this.page); }, rowExcel() { -- Gitblit v1.9.3