From 1bc33546a044cbc84dd9595c19dbcd9a4e309fc9 Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期六, 10 一月 2026 14:06:10 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/map/constants.js | 2 +-
zy-acs-flow/src/page/lane/LaneList.jsx | 40 ++++++++++++++++++++++------------------
2 files changed, 23 insertions(+), 19 deletions(-)
diff --git a/zy-acs-flow/src/map/constants.js b/zy-acs-flow/src/map/constants.js
index 4484312..6875e15 100644
--- a/zy-acs-flow/src/map/constants.js
+++ b/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;
diff --git a/zy-acs-flow/src/page/lane/LaneList.jsx b/zy-acs-flow/src/page/lane/LaneList.jsx
index 216da5f..7e29158 100644
--- a/zy-acs-flow/src/page/lane/LaneList.jsx
+++ b/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>
--
Gitblit v1.9.1