From 0114b079a32f03f69dfcd4d77ed89b54694126e2 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期日, 29 九月 2024 16:25:03 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/mission/MissionList.jsx | 34 +---------------------------------
1 files changed, 1 insertions(+), 33 deletions(-)
diff --git a/zy-acs-flow/src/page/mission/MissionList.jsx b/zy-acs-flow/src/page/mission/MissionList.jsx
index 6e74606..f1bb75c 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,9 +14,7 @@
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";
@@ -68,7 +45,6 @@
const MissionLayout = () => {
const location = useLocation();
const matchShow = matchPath('/mission/:id/show', location.pathname);
- console.log(matchShow);
const { data, isPending, filterValues } = useListContext();
const hasFilters = filterValues && Object.keys(filterValues).length > 0;
@@ -78,15 +54,7 @@
return (
<>
<EmptyDataLoader>
- <Typography
- variant="body2"
- align="center"
- color="text.secondary"
- gutterBottom
- >
- sss
- </Typography>
- <MissionShow open={!!matchShow} id={matchShow?.params.id} />
+ <MissionShow open={!!matchShow} groupNo={matchShow?.params.id} />
</EmptyDataLoader>
</>
);
--
Gitblit v1.9.1