From 0114b079a32f03f69dfcd4d77ed89b54694126e2 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期日, 29 九月 2024 16:25:03 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/action/Action.jsx | 40 ++++++++++++++++++++++++++++------------
1 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/zy-acs-flow/src/page/action/Action.jsx b/zy-acs-flow/src/page/action/Action.jsx
index d6bf503..50f36e1 100644
--- a/zy-acs-flow/src/page/action/Action.jsx
+++ b/zy-acs-flow/src/page/action/Action.jsx
@@ -22,7 +22,7 @@
const translate = useTranslate();
const theme = useTheme();
const [isHover, setHover] = useState(false);
- console.log(data);
+ // console.log(data);
return (
<Box
@@ -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