File was renamed from rsf-admin/src/page/locPreview/LocItemList.jsx |
| | |
| | | } |
| | | })); |
| | | |
| | | const LocItemList = () => { |
| | | const LocPreviewList = () => { |
| | | const dicts = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_loc_use_stas')) || []; |
| | | const locType = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_loc_type')) || []; |
| | | const [createDialog, setCreateDialog] = useState(false); |
| | |
| | | marginRight: drawerVal ? `${PAGE_DRAWER_WIDTH}px` : 0, |
| | | }} |
| | | storeKey="locPreview" |
| | | resource="loc/preview" |
| | | resource="locPreview" |
| | | title={"menu.locPreview"} |
| | | empty={false} |
| | | filters={filters} |
| | |
| | | actions={( |
| | | <TopToolbar> |
| | | <FilterButton /> |
| | | <SelectColumnsButton preferenceKey='loc' /> |
| | | <SelectColumnsButton preferenceKey='locPreview' /> |
| | | </TopToolbar> |
| | | )} |
| | | perPage={DEFAULT_PAGE_SIZE} |
| | |
| | | <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' }} label="toolbar.detail" /> |
| | | <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} label="toolbar.detail" /> |
| | | </WrapperField> |
| | | </StyledDatagrid> |
| | | </List> |
| | |
| | | ) |
| | | } |
| | | |
| | | export default LocItemList; |
| | | export default LocPreviewList; |