diff --git a/src/views/xgf/flowApply/components/list.vue b/src/views/xgf/flowApply/components/list.vue index 785481a..eb97626 100644 --- a/src/views/xgf/flowApply/components/list.vue +++ b/src/views/xgf/flowApply/components/list.vue @@ -30,11 +30,13 @@ ref="multipleTable" :data="varList" :header-cell-style="{'font-weight': 'bold','color': '#000'}" + :row-key="getRowKeys" tooltip-effect="dark" border fit - highlight-current-row> - + highlight-current-row + @selection-change="handleSelectionChange"> + @@ -108,7 +110,8 @@ export default { STATUS: '', add: false, // 新增按钮 del: false, // 删除按钮 - edit: false // 修改按钮 + edit: false, // 修改按钮 + multipleSelection: [] } }, created() { @@ -222,6 +225,12 @@ export default { }).catch((e) => { this.listLoading = false }) + }, + getRowKeys(row) { + return row.XGF_USER_ID + }, + handleSelectionChange(val) { + console.log(val) } } }