From 3fa7cdec6ce44f07a0dc7e1910511ead606990f3 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 11 九月 2025 08:19:53 +0800
Subject: [PATCH] 1

---
 zy-acs-flow/src/page/mission/MissionList.jsx |   30 ++++--------------------------
 1 files changed, 4 insertions(+), 26 deletions(-)

diff --git a/zy-acs-flow/src/page/mission/MissionList.jsx b/zy-acs-flow/src/page/mission/MissionList.jsx
index 0273f92..b0b3eca 100644
--- a/zy-acs-flow/src/page/mission/MissionList.jsx
+++ b/zy-acs-flow/src/page/mission/MissionList.jsx
@@ -2,32 +2,11 @@
 import { useNavigate } from 'react-router-dom';
 import {
     ListBase,
-    DatagridConfigurable,
-    SearchInput,
     TopToolbar,
-    SelectColumnsButton,
-    EditButton,
     FilterButton,
-    CreateButton,
-    ExportButton,
-    BulkDeleteButton,
-    WrapperField,
-    useRecordContext,
-    useTranslate,
     useListContext,
-    useCreatePath,
-    TextField,
-    NumberField,
-    DateField,
-    BooleanField,
-    ReferenceField,
     TextInput,
-    DateTimeInput,
-    DateInput,
-    SelectInput,
-    NumberInput,
     ReferenceInput,
-    ReferenceArrayInput,
     AutocompleteInput,
     ListToolbar,
     Title,
@@ -35,13 +14,11 @@
 import { matchPath, useLocation } from 'react-router';
 import { Box, Typography, Card, Stack, LinearProgress } from '@mui/material';
 import { styled } from '@mui/material/styles';
-import EmptyData from "../components/EmptyData";
-import PageDrawer from "../components/PageDrawer";
-import { PAGE_DRAWER_WIDTH, OPERATE_MODE, DEFAULT_PAGE_SIZE } from '@/config/setting';
 import * as Common from '@/utils/common';
 import MissionShow from "./MissionShow";
 import { MissionListContent } from "./MissionListContent";
 import EmptyDataLoader from "../components/EmptyDataLoader";
+import MissionResend from "./MissionResend";
 
 const MissionList = () => {
 
@@ -68,7 +45,7 @@
 const MissionLayout = () => {
     const location = useLocation();
     const matchShow = matchPath('/mission/:id/show', location.pathname);
-    console.log(matchShow);
+    const matchResend = matchPath('/mission/:id/resend', location.pathname);
 
     const { data, isPending, filterValues } = useListContext();
     const hasFilters = filterValues && Object.keys(filterValues).length > 0;
@@ -78,7 +55,7 @@
         return (
             <>
                 <EmptyDataLoader>
-                    <MissionShow open={!!matchShow} id={matchShow?.params.id} />
+                    <MissionShow open={!!matchShow} groupNo={matchShow?.params.id} />
                 </EmptyDataLoader>
             </>
         );
@@ -96,6 +73,7 @@
                 <MissionListContent />
             </Card>
             <MissionShow open={!!matchShow} id={matchShow?.params.id} />
+            <MissionResend open={!!matchResend} id={matchResend?.params.id} />
         </Stack>
     );
 }

--
Gitblit v1.9.1