From 89ca1eb19972e8f5e0baccbaffcfa7fbb2ae85c3 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期六, 10 一月 2026 15:34:17 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/lane/LaneList.jsx | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/zy-acs-flow/src/page/lane/LaneList.jsx b/zy-acs-flow/src/page/lane/LaneList.jsx
index 994e467..dfea401 100644
--- a/zy-acs-flow/src/page/lane/LaneList.jsx
+++ b/zy-acs-flow/src/page/lane/LaneList.jsx
@@ -43,6 +43,7 @@
import MyField from "../components/MyField";
import { PAGE_DRAWER_WIDTH, OPERATE_MODE, DEFAULT_PAGE_SIZE } from '@/config/setting';
import * as Common from '@/utils/common';
+import LaneDeleteAllButton from "./LaneDeleteAllButton";
const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({
'& .css-1vooibu-MuiSvgIcon-root': {
@@ -70,18 +71,18 @@
const filters = [
<SearchInput source="condition" alwaysOn />,
- <DateInput label='common.time.after' source="timeStart" alwaysOn />,
- <DateInput label='common.time.before' source="timeEnd" alwaysOn />,
+ // <DateInput label='common.time.after' source="timeStart" alwaysOn />,
+ // <DateInput label='common.time.before' source="timeEnd" alwaysOn />,
- <TextInput source="uuid" label="table.field.lane.uuid" />,
+ // <TextInput source="uuid" label="table.field.lane.uuid" />,
<ReferenceInput source="zoneId" label="table.field.lane.zoneId" reference="zone">
<AutocompleteInput label="table.field.lane.zoneId" optionText="name" filterToQuery={(val) => ({ name: val })} />
</ReferenceInput>,
- <TextInput source="name" label="table.field.lane.name" />,
- <TextInput source="hashCode" label="table.field.lane.hashCode" />,
- <TextInput source="codes" label="table.field.lane.codes" />,
- <NumberInput source="entryAngle" label="table.field.lane.entryAngle" />,
- <NumberInput source="maximum" label="table.field.lane.maximum" />,
+ // <TextInput source="name" label="table.field.lane.name" />,
+ // <TextInput source="hashCode" label="table.field.lane.hashCode" />,
+ // <TextInput source="codes" label="table.field.lane.codes" />,
+ // <NumberInput source="entryAngle" label="table.field.lane.entryAngle" />,
+ // <NumberInput source="maximum" label="table.field.lane.maximum" />,
<TextInput label="common.field.memo" source="memo" />,
<SelectInput
@@ -92,6 +93,7 @@
{ id: '0', name: 'common.enums.statusFalse' },
]}
resettable
+ alwaysOn
/>,
]
@@ -118,8 +120,9 @@
sort={{ field: "create_time", order: "desc" }}
actions={(
<TopToolbar>
- <FilterButton />
+ {/* <FilterButton /> */}
{/* <MyCreateButton onClick={() => { setCreateDialog(true) }} /> */}
+ <LaneDeleteAllButton />
<SelectColumnsButton preferenceKey='lane' />
<MyExportButton />
</TopToolbar>
--
Gitblit v1.9.1