From ff2ad1535d907dbb009cf4150d3c0c5593569ddf Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期日, 29 九月 2024 16:07:54 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/action/Action.jsx | 38 +++++++++++++++++++++++++++----------- 1 files changed, 27 insertions(+), 11 deletions(-) diff --git a/zy-acs-flow/src/page/action/Action.jsx b/zy-acs-flow/src/page/action/Action.jsx index d6bf503..3567857 100644 --- a/zy-acs-flow/src/page/action/Action.jsx +++ b/zy-acs-flow/src/page/action/Action.jsx @@ -50,10 +50,12 @@ component="span" > {/* {formatRelative(new Date(data.ioTime), new Date())} */} - {format(data.ioTime, 'yyyy-MM-dd HH:mm:ss') || '-'} + {/* {format(data.ioTime, 'yyyy-MM-dd HH:mm:ss') || '-'} */} + No.{data.uuid} </Typography> </Stack> <Stack + direction="row" sx={{ paddingTop: '0.5em', display: 'flex', @@ -61,26 +63,40 @@ minHeight: '0.75em', }, }} - direction="row" > <Typography variant="body2" color="textSecondary" - lineHeight={1.5} - margin={0} > - task: {data.taskId$} - {/* // taskNo code val param action sts uuid - {paragraph} */} + code: {data.code || '-'} </Typography> - <Divider orientation="vertical" flexItem sx={{ height: '1.5em', marginX: 1 }} /> + <Divider orientation="vertical" flexItem sx={{ marginX: 1 }} /> <Typography variant="body2" color="textSecondary" - lineHeight={1.5} - margin={0} > - code: {data.code} + task: {data.taskId$ || '-'} + </Typography> + <Divider orientation="vertical" flexItem sx={{ marginX: 1 }} /> + <Typography + variant="body2" + color="textSecondary" + > + status: {data.actionSts$ || '-'} + </Typography> + <Divider orientation="vertical" flexItem sx={{ marginX: 1 }} /> + <Typography + variant="body2" + color="textSecondary" + > + val: {data.val || '-'} + </Typography> + <Divider orientation="vertical" flexItem sx={{ marginX: 1 }} /> + <Typography + variant="body2" + color="textSecondary" + > + param: {data.param || '-'} </Typography> </Stack> </Box> -- Gitblit v1.9.1