|  |  |  | 
|---|
|  |  |  | import { styled } from "@mui/material/styles"; | 
|---|
|  |  |  | import SerialRuleItemCreate from "./SerialRuleItemCreate"; | 
|---|
|  |  |  | import SerialRuleItemPanel from "./SerialRuleItemPanel"; | 
|---|
|  |  |  | import EmptyData from "../components/EmptyData"; | 
|---|
|  |  |  | import MyCreateButton from "../components/MyCreateButton"; | 
|---|
|  |  |  | import MyExportButton from "../components/MyExportButton"; | 
|---|
|  |  |  | import PageDrawer from "../components/PageDrawer"; | 
|---|
|  |  |  | import MyField from "../components/MyField"; | 
|---|
|  |  |  | import EmptyData from "../../components/EmptyData"; | 
|---|
|  |  |  | import MyCreateButton from "../../components/MyCreateButton"; | 
|---|
|  |  |  | import MyExportButton from "../../components/MyExportButton"; | 
|---|
|  |  |  | import PageDrawer from "../../components/PageDrawer"; | 
|---|
|  |  |  | import MyField from "../../components/MyField"; | 
|---|
|  |  |  | import { | 
|---|
|  |  |  | PAGE_DRAWER_WIDTH, | 
|---|
|  |  |  | OPERATE_MODE, | 
|---|
|  |  |  | DEFAULT_PAGE_SIZE, | 
|---|
|  |  |  | } from "@/config/setting"; | 
|---|
|  |  |  | import * as Common from "@/utils/common"; | 
|---|
|  |  |  | import CustomerTopToolBar from "../components/EditTopToolBar"; | 
|---|
|  |  |  | import CustomerTopToolBar from "../../components/EditTopToolBar"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({ | 
|---|
|  |  |  | "& .css-1vooibu-MuiSvgIcon-root": { | 
|---|
|  |  |  | 
|---|
|  |  |  | <BulkDeleteButton mutationMode={OPERATE_MODE} /> | 
|---|
|  |  |  | )} | 
|---|
|  |  |  | rowClick={(id, resource, record) => false} | 
|---|
|  |  |  | expand={() => <SerialRuleItemPanel />} | 
|---|
|  |  |  | expandSingle={true} | 
|---|
|  |  |  | omit={["id", "createTime", "createBy", "memo"]} | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <NumberField source="id" /> | 
|---|