#
luxiaotao1123
2024-11-08 6faab23aa66f4c29f9f83458d2d899341f5725b0
zy-acs-flow/src/page/loc/LocList.jsx
@@ -31,6 +31,7 @@
    AutocompleteInput,
    DeleteButton,
    Button,
    Pagination,
} from 'react-admin';
import { Box, Typography, Card, Stack } from '@mui/material';
import { styled } from '@mui/material/styles';
@@ -46,7 +47,8 @@
import CorporateFareIcon from '@mui/icons-material/CorporateFare';
import LocInit from "./LocInit";
import rowSx from "./rowSx";
import BulkUpdateButton from "./BulkUpdateButton";
import BulkUpdateButton from "../components/BulkUpdateButton";
import LocBulkUpdateContent from './LocBulkUpdateContent';
const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({
    '& .css-1vooibu-MuiSvgIcon-root': {
@@ -103,7 +105,9 @@
const LocBulkActionButtons = () => {
    return (
        <>
            <BulkUpdateButton />
            <BulkUpdateButton>
                <LocBulkUpdateContent />
            </BulkUpdateButton>
            <BulkDeleteButton mutationMode={OPERATE_MODE} />
        </>
    );
@@ -143,7 +147,8 @@
                        <MyExportButton />
                    </TopToolbar>
                )}
                perPage={DEFAULT_PAGE_SIZE}
                pagination={<Pagination rowsPerPageOptions={[10, 20, 50, 100, 300, 500]} />}
                perPage={20}
            >
                <StyledDatagrid
                    preferenceKey='loc'