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 + '' }