From 7f70cb15d035f0c233b9e62b9e43aa985317c908 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 04 十一月 2024 10:22:45 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/action/ActionList.jsx |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/zy-acs-flow/src/page/action/ActionList.jsx b/zy-acs-flow/src/page/action/ActionList.jsx
index da7ee0b..aa0c286 100644
--- a/zy-acs-flow/src/page/action/ActionList.jsx
+++ b/zy-acs-flow/src/page/action/ActionList.jsx
@@ -65,10 +65,10 @@
 
 const filters = [
     // <SearchInput source="condition" alwaysOn />,
+    <TextInput source="groupId" label="table.field.action.groupId" alwaysOn resettable />,
     <ReferenceInput source="agvId" label="table.field.action.agvId" reference="agv" alwaysOn>
         <AutocompleteInput label="table.field.action.agvId" optionText="uuid" filterToQuery={(val) => ({ uuid: val })} />
     </ReferenceInput>,
-    <TextInput source="groupId" label="table.field.action.groupId" alwaysOn />,
     <ReferenceInput source="busId" label="table.field.action.busId" reference="bus">
         <AutocompleteInput label="table.field.action.busId" optionText="busNo" filterToQuery={(val) => ({ seqNum: val })} />
     </ReferenceInput>,
@@ -127,7 +127,7 @@
                 title={"menu.action"}
                 empty={<EmptyData onClick={() => { setCreateDialog(true) }} />}
                 filters={filters}
-                sort={{ field: "create_time", order: "desc" }}
+                sort={{ field: "io_time", order: "desc" }}
                 actions={(
                     <TopToolbar>
                         <FilterButton />
@@ -141,7 +141,7 @@
             >
                 <StyledDatagrid
                     preferenceKey='action'
-                    bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />}
+                    bulkActionButtons={false}
                     rowClick={(id, resource, record) => false}
                     expand={() => <ActionPanel />}
                     expandSingle={true}
@@ -160,14 +160,14 @@
                         <TextField source="seqNum" />
                     </ReferenceField>
                     {/* <TextField source="seqNum" label="table.field.action.seqNum" /> */}
-                    <NumberField source="priority" label="table.field.action.priority" />
+                    <NumberField source="priority" label="table.field.action.priority" sortable={false} sx={{ fontWeight: 'bold' }} />
                     {/* <TextField source="name" label="table.field.action.name" /> */}
                     <ReferenceField source="actionType" label="table.field.action.actionType" reference="actionType" link={false} sortable={false}>
                         <TextField source="name" />
                     </ReferenceField>
-                    <TextField source="code" label="table.field.action.code" />
-                    <NumberField source="val" label="table.field.action.val" />
-                    <TextField source="params" label="table.field.action.params" />
+                    <TextField source="code" label="table.field.action.code" sortable={false} />
+                    <NumberField source="val" label="table.field.action.val" sortable={false} />
+                    <TextField source="params" label="table.field.action.params" sortable={false} />
                     <ReferenceField source="actionSts" label="table.field.action.actionSts" reference="actionSts" link={false} sortable={false}>
                         <TextField source="name" />
                     </ReferenceField>

--
Gitblit v1.9.1