From 857423879a4e8d684dc0ebd9aecca4b60351401c Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Tue, 22 Feb 2022 15:39:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/tableDate/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jero-web/src/components/tableDate/index.vue b/jero-web/src/components/tableDate/index.vue index eb379a1d2..38771bf6c 100644 --- a/jero-web/src/components/tableDate/index.vue +++ b/jero-web/src/components/tableDate/index.vue @@ -74,6 +74,7 @@ searchParmes: {}, loading: false, orderBy:'1', + orderByField:'', } }, mounted() { @@ -123,6 +124,7 @@ }, tableOnChange(pagination, filters, sorter) { this.orderBy = sorter.order == 'ascend' ? '1' : '2' + this.orderByField = sorter.columnKey this.getTableList() }, getTableList() { @@ -131,6 +133,7 @@ let params = { ...this.searchParmes, orderBy:this.orderBy, + orderByField:this.orderByField, pageNo: pageNo + '', pageSize: pageSize + '' }