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) => {