File was renamed from rsf-admin/src/page/locItem/LocItemList.jsx |
| | |
| | | }), |
| | | marginRight: drawerVal ? `${PAGE_DRAWER_WIDTH}px` : 0, |
| | | }} |
| | | storeKey="locItem" |
| | | resource="loc/items" |
| | | title={"menu.locItem"} |
| | | storeKey="locPreview" |
| | | resource="loc/preview" |
| | | title={"menu.locPreview"} |
| | | empty={false} |
| | | filters={filters} |
| | | sort={{ field: "create_time", order: "desc" }} |
| | | actions={( |
| | | <TopToolbar> |
| | | <FilterButton /> |
| | | {/* <SelectColumnsButton preferenceKey='loc' /> */} |
| | | <SelectColumnsButton preferenceKey='loc' /> |
| | | </TopToolbar> |
| | | )} |
| | | perPage={DEFAULT_PAGE_SIZE} |
| | | aside={<LocListAside />} |
| | | > |
| | | <StyledDatagrid |
| | | preferenceKey='locItem' |
| | | preferenceKey='locPreview' |
| | | align="left" |
| | | bulkActionButtons={false} |
| | | rowClick={() => false} |
| | |
| | | <BooleanField source="statusBool" label="common.field.status" sortable={false} align="left" /> |
| | | <TextField source="memo" label="common.field.memo" sortable={false} /> |
| | | <WrapperField cellClassName="opt" label="common.field.opt"> |
| | | <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} resource="locItem" label="toolbar.detail" /> |
| | | <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} label="toolbar.detail" /> |
| | | </WrapperField> |
| | | </StyledDatagrid> |
| | | </List> |