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} |
| | |
| | | ) |
| | | } |
| | | |
| | | export default LocItemList; |
| | | export default LocPreviewList; |