From b481e2a329f8b0c9ab85f542e403acc11ad3bbef Mon Sep 17 00:00:00 2001 From: 77 <77@77.com> Date: Wed, 17 Apr 2024 23:19:28 +0800 Subject: [PATCH] 123 --- src/views/cai/account/index.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/cai/account/index.vue b/src/views/cai/account/index.vue index 39879c9..08eb471 100644 --- a/src/views/cai/account/index.vue +++ b/src/views/cai/account/index.vue @@ -37,7 +37,7 @@ - + @@ -57,8 +57,8 @@ - - + + @@ -128,6 +128,8 @@ export default { queryParams: { pageNum: 1, pageSize: 10, + orderByColumn: undefined, + isAsc: undefined, usercode: undefined, mobile: undefined }, @@ -152,6 +154,11 @@ export default { this.loading = false; }); }, + handleSortChange(column, prop, order) { + this.queryParams.orderByColumn = column.prop; + this.queryParams.isAsc = column.order; + this.getList(); + }, /** 搜索按钮操作 */ handleQuery() { this.queryParams.pageNum = 1;