From 4014aef3bc15d24ffbb7dacfdffece321c1b9158 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 20 九月 2024 15:26:55 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/agv/AgvListFilter.jsx | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/zy-acs-flow/src/page/agv/AgvListFilter.jsx b/zy-acs-flow/src/page/agv/AgvListFilter.jsx
index ff658b6..e31a93f 100644
--- a/zy-acs-flow/src/page/agv/AgvListFilter.jsx
+++ b/zy-acs-flow/src/page/agv/AgvListFilter.jsx
@@ -9,15 +9,32 @@
import BusinessIcon from '@mui/icons-material/Business';
import LocalShippingIcon from '@mui/icons-material/LocalShipping';
import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount';
+import FiberManualRecordIcon from '@mui/icons-material/FiberManualRecord';
+import request from '@/utils/request'
export const AgvListFilter = () => {
const translate = useTranslate();
+
+ const [models, setModels] = React.useState([]);
+
+ React.useEffect(() => {
+ request.post('/agvModel/list', {}).then(res => {
+ if (res?.data?.code === 200) {
+ setModels(res.data.data);
+ }
+ })
+ }, [])
return (
<Box width="13em" minWidth="13em" order={-1} mr={2} mt={5}>
<FilterLiveSearch hiddenLabel source='uuid' label={translate('table.field.agv.uuid')} />
- <FilterList label="Size" icon={<BusinessIcon />}>
+ <FilterList
+ label={translate('table.field.agvDetail.pos')}
+ icon={<FiberManualRecordIcon />}
+ >
+ <FilterListItem label="common.enums.true" value={{ pos: '1' }} />
+ <FilterListItem label="common.enums.false" value={{ pos: '0' }} />
</FilterList>
<FilterList label="Sector" icon={<LocalShippingIcon />}>
--
Gitblit v1.9.1