|
|
@@ -14,6 +14,7 @@
|
|
|
:selection.sync="selection"
|
|
|
autoAmendPage
|
|
|
:parse-data="parseData"
|
|
|
+ @update:selection="handleSelectionChange"
|
|
|
>
|
|
|
<template v-slot:toolbar>
|
|
|
<el-button
|
|
|
@@ -260,6 +261,12 @@
|
|
|
this.selfDetailedShow = false;
|
|
|
},
|
|
|
|
|
|
+
|
|
|
+ handleSelectionChange(data) {
|
|
|
+ let ids = []
|
|
|
+ ids = data.map(item => item.id)
|
|
|
+ this.$emit('selectionChange', ids)
|
|
|
+ },
|
|
|
/* 刷新表格 */
|
|
|
reload(where = {}) {
|
|
|
this.$refs.table.reload({ page: 1, where });
|