From df31cb913864753c01371ec84c3f85a03d8dd12f Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 12 Dec 2019 10:40:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../QueryListPage/QueryListPage.vue | 40 ++++++++++++++++- src/views/orderauthor/rules/index.vue | 45 +++++++++++++------ 2 files changed, 71 insertions(+), 14 deletions(-) diff --git a/src/components/QueryListPage/QueryListPage.vue b/src/components/QueryListPage/QueryListPage.vue index 5afe0bed5..1115f1639 100644 --- a/src/components/QueryListPage/QueryListPage.vue +++ b/src/components/QueryListPage/QueryListPage.vue @@ -28,6 +28,7 @@ @select="onSelect" @select-all="onSelectAll" @selection-change="onSelectionChange" + @sort-change="sortChange" > @@ -45,6 +46,7 @@ :width="column.width" show-overflow-tooltip :sortable="column.sortable" + :sort-by="column.sortBy" />