From 9b2b08c3b44de3d2f76069936dfe5ba0e0ece0aa Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 21 十一月 2024 13:08:01 +0800
Subject: [PATCH] 1. 修改审核后左侧列表状态和顶部统计数据的

---
 src/components/table/FYTable.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/components/table/FYTable.vue b/src/components/table/FYTable.vue
index 42c7a99..3e5da08 100644
--- a/src/components/table/FYTable.vue
+++ b/src/components/table/FYTable.vue
@@ -91,7 +91,7 @@
       fontSize: 'default'
     };
   },
-  emits: ['search', 'cellClick', 'tablePaste'],
+  emits: ['search', 'cellClick', 'tablePaste', 'sortChange'],
   watch: {
     currentPage(nValue, oValue) {
       if (nValue != oValue) {
@@ -177,11 +177,14 @@
     handlePaste(event) {
       this.$emit('tablePaste', event);
     },
-    doLayout(){
+    doLayout() {
       this.$refs.tableRef.doLayout();
     },
-    handleSortChange({column, prop, order }){
-
+    handleSortChange({ column, prop, order }) {
+      this.$emit('sortChange', { column, prop, order });
+    },
+    clearSort(){
+      this.$refs.tableRef.clearSort();
     }
   },
   mounted() {

--
Gitblit v1.9.3