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;