From 441700673a26144cfcf93b87e0bdcdb06958dabe Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 25 十一月 2024 16:06:23 +0800
Subject: [PATCH] 1. 修复问题新增对话框中,无法正确上传图片的问题 2. 工地施工阶段可选项更新
---
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