| | |
| | | useTranslate, |
| | | } from 'react-admin'; |
| | | import { Box } from '@mui/material'; |
| | | import BusinessIcon from '@mui/icons-material/Business'; |
| | | import LocalShippingIcon from '@mui/icons-material/LocalShipping'; |
| | | import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount'; |
| | | import CommuteIcon from '@mui/icons-material/Commute'; |
| | | import FiberManualRecordIcon from '@mui/icons-material/FiberManualRecord'; |
| | | import request from '@/utils/request' |
| | | |
| | |
| | | <FilterListItem label="common.enums.false" value={{ pos: '0' }} /> |
| | | </FilterList> |
| | | |
| | | <FilterList label="Sector" icon={<LocalShippingIcon />}> |
| | | <FilterList |
| | | label={translate('table.field.agv.agvModel')} |
| | | icon={<CommuteIcon />} |
| | | > |
| | | {models.map(model => { |
| | | return ( |
| | | <FilterListItem |
| | | key={model.id} |
| | | label={`${model.name}`} |
| | | value={{ agvModel: model.id }} |
| | | /> |
| | | ) |
| | | })} |
| | | </FilterList> |
| | | |
| | | </Box> |