#
luxiaotao1123
2024-11-04 7f70cb15d035f0c233b9e62b9e43aa985317c908
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>