feat: 关联平台账号,关联渠道账户

This commit is contained in:
rd
2025-07-22 16:29:16 +08:00
parent 55174e4258
commit a9d055c479
24 changed files with 808 additions and 18 deletions

View File

@ -9,6 +9,7 @@ interface UseTableSelectionWithPaginationOptions {
};
onPageChange?: (page: number) => void;
onPageSizeChange?: (size: number) => void;
onSelectChange?: () => void;
}
const DEFAULT_PAGE_INFO = {
@ -39,6 +40,7 @@ export function useTableSelectionWithPagination(options: UseTableSelectionWithPa
} else {
selectedRows.value = selectedRows.value.filter((v) => v[rowKey] !== record[rowKey]);
}
options.onSelectChange?.();
};
// 全选/取消全选
@ -56,6 +58,7 @@ export function useTableSelectionWithPagination(options: UseTableSelectionWithPa
selectedRowKeys.value = selectedRowKeys.value.filter((key) => !currentPageKeys.includes(key));
selectedRows.value = selectedRows.value.filter((row) => !currentPageKeys.includes(row[rowKey]));
}
options.onSelectChange?.();
};
const onPageChange = (page: number) => {