From b5c8cba9d4aa66f0c22aa27e9b49918014f1a0a6 Mon Sep 17 00:00:00 2001
From: xpz2018 <107107461@qq.com>
Date: Mon, 25 Aug 2025 15:06:24 +0800
Subject: [PATCH] no message
---
src/views/invite/list/index.vue | 34 ++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/views/invite/list/index.vue b/src/views/invite/list/index.vue
index a171553..58d7bd0 100644
--- a/src/views/invite/list/index.vue
+++ b/src/views/invite/list/index.vue
@@ -8,18 +8,16 @@
-
-
-
-
+
- -->
+
@@ -95,15 +93,15 @@
showIndexColumn: false,
showTableSetting: false,
api: getInvitationList,
- // rowKey: 'id',
- // rowSelection: {
- // type: 'checkbox',
- // onChange,
- // getCheckboxProps(record: Recordable) {
- // // Demo: 第一行(id为0)的选择框禁用
- // return { disabled: record.allocationStatus !== 1 };
- // },
- // },
+ rowKey: 'id',
+ rowSelection: {
+ type: 'checkbox',
+ onChange,
+ getCheckboxProps(record: Recordable) {
+ // Demo: 第一行(id为0)的选择框禁用
+ return true;
+ },
+ },
formConfig: {
labelWidth: 120,
schemas: tableFormSchema,
@@ -138,7 +136,9 @@
datingClueIdList.value = []
reload()
}
-
+ function onChange(selectedRowKeys) {
+ datingClueIdList.value = selectedRowKeys
+ }
const [registerModal, { openModal, closeModal }] = useModal()
function handleModal(record) {
openModal(true, {record})