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/AgvList.jsx |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/zy-acs-flow/src/page/agv/AgvList.jsx b/zy-acs-flow/src/page/agv/AgvList.jsx
index 2fbe561..1a8010b 100644
--- a/zy-acs-flow/src/page/agv/AgvList.jsx
+++ b/zy-acs-flow/src/page/agv/AgvList.jsx
@@ -48,7 +48,7 @@
 import { PAGE_DRAWER_WIDTH, OPERATE_MODE } from '@/config/setting';
 import * as Common from '@/utils/common';
 import { ImageList } from "./GridList";
-
+import { AgvListFilter } from "./AgvListFilter";
 
 export const AgvGrid = () => {
     const { identity } = useGetIdentity();
@@ -71,20 +71,21 @@
     )
 }
 
-const AgvGridLayout = (props) => {
+const AgvGridLayout = ({ setCreateDialog }) => {
     const { data, isPending, filterValues } = useListContext();
     const hasFilters = filterValues && Object.keys(filterValues).length > 0;
 
     if (isPending) return null;
-    if (!data?.length && !hasFilters) return <EmptyData onClick={() => { props.setCreateDialog(true) }} />;
+    if (!data?.length && !hasFilters) return <EmptyData onClick={() => { setCreateDialog(true) }} />;
 
     return (
         <Stack direction="row" component="div">
+            <AgvListFilter />
             <Stack sx={{ width: '100%' }}>
-                <Title title={'Companies'} />
+                <Title title={"menu.agv"} />
                 <ListToolbar actions={(
                     <TopToolbar>
-                        <MyCreateButton onClick={() => { setCreateDialog(true) }} />
+                        <MyCreateButton onClick={() => { setCreateDialog(true) }} variant="contained" />
                         <MyExportButton />
                     </TopToolbar>
                 )} />
@@ -94,7 +95,6 @@
         </Stack>
     );
 }
-
 
 
 

--
Gitblit v1.9.1