#
vincentlu
5 天以前 1bc33546a044cbc84dd9595c19dbcd9a4e309fc9
#
2个文件已修改
42 ■■■■ 已修改文件
zy-acs-flow/src/map/constants.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/lane/LaneList.jsx 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/map/constants.js
@@ -1,7 +1,7 @@
export const MAP_DEFAULT_ROTATION = 180;
export const AGV_ANGLE_OFFSET_VAL = 0;
export const AGV_ANGLE_OFFSET_VAL = 90;
export const MAP_MIRROR = true;
zy-acs-flow/src/page/lane/LaneList.jsx
@@ -51,10 +51,20 @@
    '& .RaDatagrid-row': {
        cursor: 'auto'
    },
    '& .column-name': {
    '& .column-codes': {
        // maxWidth: '18em',
        overflow: 'hidden',
        textOverflow: 'ellipsis',
        whiteSpace: 'nowrap',
    },
    '& .column-hashCode': {
        maxWidth: '18em',
        overflow: 'hidden',
        textOverflow: 'ellipsis',
        whiteSpace: 'nowrap',
    },
    '& .opt': {
        width: 200
        width: 120
    },
}));
@@ -122,32 +132,26 @@
                    rowClick={(id, resource, record) => false}
                    expand={() => <LanePanel />}
                    expandSingle={true}
                    omit={['id', 'createTime', 'createBy', 'memo']}
                    omit={['id', 'memo']}
                >
                    <NumberField source="id" />
                    <TextField source="uuid" label="table.field.lane.uuid" />
                    <ReferenceField source="zoneId" label="table.field.lane.zoneId" reference="zone" link={false} sortable={false}>
                    {/* <TextField source="uuid" label="table.field.lane.uuid" /> */}
                    {/* <ReferenceField source="zoneId" label="table.field.lane.zoneId" reference="zone" link={false} sortable={false}>
                        <TextField source="name" />
                    </ReferenceField>
                    <TextField source="name" label="table.field.lane.name" />
                    <TextField source="hashCode" label="table.field.lane.hashCode" />
                    <TextField source="codes" label="table.field.lane.codes" />
                    <NumberField source="entryAngle" label="table.field.lane.entryAngle" />
                    </ReferenceField> */}
                    {/* <TextField source="name" label="table.field.lane.name" /> */}
                    <TextField source="hashCode" label="table.field.lane.hashCode" sortable={false} />
                    <TextField source="codes" label="table.field.lane.codes" sortable={false} />
                    <NumberField source="entryAngle" label="table.field.lane.entryAngle" sortable={false} />
                    <NumberField source="maximum" label="table.field.lane.maximum" />
                    <ReferenceField source="updateBy" label="common.field.updateBy" reference="user" link={false} sortable={false}>
                        <TextField source="nickname" />
                    </ReferenceField>
                    <DateField source="updateTime" label="common.field.updateTime" showTime />
                    <ReferenceField source="createBy" label="common.field.createBy" reference="user" link={false} sortable={false}>
                        <TextField source="nickname" />
                    </ReferenceField>
                    {/* <DateField source="updateTime" label="common.field.updateTime" showTime /> */}
                    <DateField source="createTime" label="common.field.createTime" showTime />
                    <BooleanField source="statusBool" label="common.field.status" sortable={false} />
                    <TextField source="memo" label="common.field.memo" sortable={false} />
                    <WrapperField cellClassName="opt" label="common.field.opt">
                        <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} />
                        <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} />
                        {/* <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} /> */}
                    </WrapperField>
                </StyledDatagrid>
            </List>