feature/业务线管理

This commit is contained in:
lys 2025-10-20 10:45:39 +08:00
parent 88a419491a
commit 23c659f04b
1 changed files with 3 additions and 2 deletions

View File

@ -307,7 +307,8 @@ const index: FunctionComponent<Props> = (props) => {
const rowSelection = {
columnWidth: 50,
columnTitle: isDetailTable && !showSee ? "序号" : "",
renderCell: (value: boolean, record: any, index: number, originNode: React.ReactNode) => (isDetailTable && !showSee ? <span>{index + 1}</span> : originNode),
renderCell: (value: boolean, record: any, index: number, originNode: React.ReactNode) =>
isDetailTable && !showSee ? <span>{((pageInfo.current as number) - 1) * (pageInfo.pageSize as number) + index + 1}</span> : originNode,
selectedRowKeys,
preserveSelectedRowKeys: true,
onChange: (rowKeys: React.Key[]) => {
@ -361,4 +362,4 @@ const index: FunctionComponent<Props> = (props) => {
);
};
export default index;
export default index;