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 |   42 +++++++++++++++++++++++++++++++++++-------
 1 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/zy-acs-flow/src/page/action/Action.jsx b/zy-acs-flow/src/page/action/Action.jsx
index d7999de..50f36e1 100644
--- a/zy-acs-flow/src/page/action/Action.jsx
+++ b/zy-acs-flow/src/page/action/Action.jsx
@@ -8,7 +8,7 @@
 } from 'react-admin';
 import {
     Box,
-    Button,
+    Divider,
     Stack,
     Tooltip,
     Typography,
@@ -22,6 +22,7 @@
     const translate = useTranslate();
     const theme = useTheme();
     const [isHover, setHover] = useState(false);
+    // console.log(data);
 
     return (
         <Box
@@ -49,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',
@@ -62,13 +65,38 @@
                 }}
             >
                 <Typography
-                    component="p"
                     variant="body2"
-                    lineHeight={1.5}
-                    margin={0}
+                    color="textSecondary"
                 >
-                    {/* // taskNo code val param action sts uuid
-                    {paragraph} */}
+                    code: {data.code || '-'}
+                </Typography>
+                <Divider orientation="vertical" flexItem sx={{ marginX: 1 }} />
+                <Typography
+                    variant="body2"
+                    color="textSecondary"
+                >
+                    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