From 41688b73b030785a261b636fd0690933d274fc2c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 26 九月 2024 11:10:28 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/segment/SegmentPanel.jsx | 14 +------------- zy-acs-flow/src/page/segment/SegmentList.jsx | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/zy-acs-flow/src/page/segment/SegmentList.jsx b/zy-acs-flow/src/page/segment/SegmentList.jsx index 2fcb395..55cba50 100644 --- a/zy-acs-flow/src/page/segment/SegmentList.jsx +++ b/zy-acs-flow/src/page/segment/SegmentList.jsx @@ -199,7 +199,7 @@ <> <StyledDatagrid preferenceKey='segment' - bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />} + bulkActionButtons={false} rowClick={(id, resource, record) => false} expand={() => <SegmentPanel />} expandSingle={true} diff --git a/zy-acs-flow/src/page/segment/SegmentPanel.jsx b/zy-acs-flow/src/page/segment/SegmentPanel.jsx index b6ab04f..9a7bf71 100644 --- a/zy-acs-flow/src/page/segment/SegmentPanel.jsx +++ b/zy-acs-flow/src/page/segment/SegmentPanel.jsx @@ -27,7 +27,7 @@ </Typography> {/* inherit, primary, secondary, textPrimary, textSecondary, error */} <Typography variant="h6" gutterBottom align="right" > - ID: {record.id} + {Common.camelToPascalWithSpaces(translate('table.field.segment.uuid'))}:{record.uuid} </Typography> </Grid> </Grid> @@ -40,12 +40,6 @@ </Grid> <Box height={20}> </Box> <Grid container spacing={2}> - <Grid item xs={6}> - <PanelTypography - title="table.field.segment.uuid" - property={record.uuid} - /> - </Grid> <Grid item xs={6}> <PanelTypography title="table.field.segment.groupId" @@ -74,12 +68,6 @@ <PanelTypography title="table.field.segment.serial" property={record.serial} - /> - </Grid> - <Grid item xs={6}> - <PanelTypography - title="table.field.segment.startNode" - property={record.startNode$} /> </Grid> <Grid item xs={6}> -- Gitblit v1.9.1