From be946e511a29d71b74e7cc4398e2620d48cc619b Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@gmail.com>
Date: 星期三, 16 四月 2025 14:08:37 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/page/action/Action.jsx | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/zy-acs-flow/src/page/action/Action.jsx b/zy-acs-flow/src/page/action/Action.jsx
index 40d7da5..766f824 100644
--- a/zy-acs-flow/src/page/action/Action.jsx
+++ b/zy-acs-flow/src/page/action/Action.jsx
@@ -22,7 +22,6 @@
const translate = useTranslate();
const theme = useTheme();
const [isHover, setHover] = useState(false);
- // console.log(data);
return (
<Box
@@ -40,14 +39,14 @@
>
{data.priority}
</Avatar>
- <Typography color="textPrimary" variant="body2">
+ <Typography color="textPrimary" variant="body2" sx={{ transform: 'scale(1.1)', pl: 1, pr: .1 }}>
{data.actionType$}
</Typography>
<Typography
variant="body2"
color="textSecondary"
>
- ({data.actionSts$ || '-'})
+ ({data.actionSts$ || '-'})
</Typography>
<Box flex={1}></Box>
<Typography
@@ -74,28 +73,28 @@
variant="body2"
color="textSecondary"
>
- task: {data.taskId$ || '-'}
+ {translate('table.field.action.taskId')}: {data.taskId$ || '-'}
</Typography>
<Divider orientation="vertical" flexItem sx={{ marginX: 1 }} />
<Typography
variant="body2"
color="textSecondary"
>
- code: {data.code || '-'}
+ {translate('table.field.action.code')}: {data.code || '-'}
</Typography>
<Divider orientation="vertical" flexItem sx={{ marginX: 1 }} />
<Typography
variant="body2"
color="textSecondary"
>
- val: {data.val || '-'}
+ {translate('table.field.action.val')}: {data.val || '-'}
</Typography>
<Divider orientation="vertical" flexItem sx={{ marginX: 1 }} />
<Typography
variant="body2"
color="textSecondary"
>
- param: {data.param || '-'}
+ {translate('table.field.action.params')}: {data.param || '-'}
</Typography>
</Stack>
</Box>
--
Gitblit v1.9.1