From 78ec4af3f833a883a5f779e25144951499d51721 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Sat, 6 May 2023 15:26:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5=E6=8E=92?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sync/SysUdimsData.vue | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/views/sync/SysUdimsData.vue b/src/views/sync/SysUdimsData.vue index 164b6cd..163a828 100644 --- a/src/views/sync/SysUdimsData.vue +++ b/src/views/sync/SysUdimsData.vue @@ -49,7 +49,8 @@ - + @@ -70,7 +71,8 @@ - + @@ -181,7 +183,8 @@ export default { syncTime: null, configParms: {}, syncInfo: null, - syncVisible: false + syncVisible: false, + defaultSort: {prop: 'startTime', order: 'desc'}, }; }, @@ -195,7 +198,8 @@ export default { status: null, page: 1, limit: 10, - + orderByColumn: null, + isAsc: null, }; this.syncTime = null; this.getList(); @@ -224,6 +228,13 @@ export default { }); }, + + handleSortChange(column, prop, order) { + this.filterQuery.orderBy = column.prop; + this.filterQuery.sort = column.order; + this.getList(); + }, + getConfig() { findConfig() .then((response) => {