From f4d50b49b828b9722d6e6cd63e7bdacf5cf05bea Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 09 十月 2024 10:45:49 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/mission/MissionList.jsx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/zy-acs-flow/src/page/mission/MissionList.jsx b/zy-acs-flow/src/page/mission/MissionList.jsx index f1bb75c..b0b3eca 100644 --- a/zy-acs-flow/src/page/mission/MissionList.jsx +++ b/zy-acs-flow/src/page/mission/MissionList.jsx @@ -14,11 +14,11 @@ import { matchPath, useLocation } from 'react-router'; import { Box, Typography, Card, Stack, LinearProgress } from '@mui/material'; import { styled } from '@mui/material/styles'; -import PageDrawer from "../components/PageDrawer"; 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 = () => { @@ -45,6 +45,7 @@ const MissionLayout = () => { const location = useLocation(); const matchShow = matchPath('/mission/:id/show', location.pathname); + const matchResend = matchPath('/mission/:id/resend', location.pathname); const { data, isPending, filterValues } = useListContext(); const hasFilters = filterValues && Object.keys(filterValues).length > 0; @@ -72,6 +73,7 @@ <MissionListContent /> </Card> <MissionShow open={!!matchShow} id={matchShow?.params.id} /> + <MissionResend open={!!matchResend} id={matchResend?.params.id} /> </Stack> ); } -- Gitblit v1.9.1