meixioacomponent 2.0.51 → 2.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
<t-enhanced-table
|
|
77
77
|
ref="enhancedTableRef"
|
|
78
78
|
:row-key="rowKey"
|
|
79
|
+
:dragSort="dragSort"
|
|
79
80
|
:expanded-row-keys="expandRowKeys"
|
|
80
81
|
:columns="showTableHeader"
|
|
81
82
|
:data="tableData"
|
|
@@ -95,6 +96,7 @@
|
|
|
95
96
|
:selected-row-keys="tableCheckboxConfig.value"
|
|
96
97
|
@sort-change="sortChange"
|
|
97
98
|
@expand-change="rehandleExpandChange"
|
|
99
|
+
@drag-sort="onDragSort"
|
|
98
100
|
>
|
|
99
101
|
|
|
100
102
|
|
|
@@ -315,6 +317,12 @@ export default {
|
|
|
315
317
|
},
|
|
316
318
|
|
|
317
319
|
props: {
|
|
320
|
+
|
|
321
|
+
dragSort: {
|
|
322
|
+
type: String,
|
|
323
|
+
default: ''
|
|
324
|
+
},
|
|
325
|
+
|
|
318
326
|
// 树形结构传入的判断子节点与最后一级
|
|
319
327
|
treeProps: {
|
|
320
328
|
type: Object,
|
|
@@ -325,6 +333,8 @@ export default {
|
|
|
325
333
|
};
|
|
326
334
|
},
|
|
327
335
|
},
|
|
336
|
+
|
|
337
|
+
|
|
328
338
|
// 网络请求
|
|
329
339
|
httpRequire: {
|
|
330
340
|
type: Function,
|
|
@@ -1200,7 +1210,9 @@ export default {
|
|
|
1200
1210
|
this.$emit("handleSelectionChange", checkValue);
|
|
1201
1211
|
},
|
|
1202
1212
|
|
|
1203
|
-
|
|
1213
|
+
onDragSort(eve) {
|
|
1214
|
+
this.$emit('onDragSort', eve);
|
|
1215
|
+
}
|
|
1204
1216
|
},
|
|
1205
1217
|
watch: {
|
|
1206
1218
|
tableConfig() {
|