| | |
| | | <TextInput source="type" label="table.field.agvModel.type" />, |
| | | <TextInput source="name" label="table.field.agvModel.name" />, |
| | | <NumberInput source="length" label="table.field.agvModel.length" />, |
| | | <NumberInput source="headOffset" label="table.field.agvModel.headOffset" />, |
| | | <NumberInput source="tailOffset" label="table.field.agvModel.tailOffset" />, |
| | | <NumberInput source="width" label="table.field.agvModel.width" />, |
| | | <NumberInput source="height" label="table.field.agvModel.height" />, |
| | | <NumberInput source="liftHeight" label="table.field.agvModel.liftHeight" />, |
| | |
| | | theme.transitions.create(['all'], { |
| | | duration: theme.transitions.duration.enteringScreen, |
| | | }), |
| | | marginRight: !!drawerVal ? `${PAGE_DRAWER_WIDTH}px` : 0, |
| | | marginRight: drawerVal ? `${PAGE_DRAWER_WIDTH}px` : 0, |
| | | }} |
| | | title={"menu.agvModel"} |
| | | empty={<EmptyData onClick={() => { setCreateDialog(true) }} />} |
| | |
| | | > |
| | | <StyledDatagrid |
| | | preferenceKey='agvModel' |
| | | bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />} |
| | | // bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />} |
| | | bulkActionButtons={false} |
| | | rowClick={(id, resource, record) => false} |
| | | expand={() => <AgvModelPanel />} |
| | | expandSingle={true} |
| | | omit={['id', 'uuid', 'liftHeight', 'mqttTopic', 'password', 'protocol', 'statusBool', 'updateBy', 'updateTime', 'createTime', 'createBy', 'memo']} |
| | | omit={['id', 'uuid', 'liftHeight', 'mqttTopic', 'password', 'protocol' |
| | | // , 'headOffset', 'tailOffset', 'width' |
| | | , 'length', 'height', 'allDirectionBool', 'diameter' |
| | | , 'statusBool', 'updateBy', 'updateTime', 'createTime', 'createBy', 'memo']} |
| | | > |
| | | <NumberField source="id" /> |
| | | <TextField source="uuid" label="table.field.agvModel.uuid" /> |
| | | <TextField source="name" label="table.field.agvModel.name" /> |
| | | <TextField source="type" label="table.field.agvModel.type" /> |
| | | <NumberField source="length" label="table.field.agvModel.length" /> |
| | | <NumberField source="headOffset" label="table.field.agvModel.headOffset" /> |
| | | <NumberField source="tailOffset" label="table.field.agvModel.tailOffset" /> |
| | | <NumberField source="width" label="table.field.agvModel.width" /> |
| | | <NumberField source="height" label="table.field.agvModel.height" /> |
| | | <NumberField source="liftHeight" label="table.field.agvModel.liftHeight" /> |