From 099d9a5da5b562e63e2e56efbe9f799e2bcdd614 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 22 十一月 2024 09:35:24 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/jam/JamList.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/zy-acs-flow/src/page/jam/JamList.jsx b/zy-acs-flow/src/page/jam/JamList.jsx index e29392b..117584d 100644 --- a/zy-acs-flow/src/page/jam/JamList.jsx +++ b/zy-acs-flow/src/page/jam/JamList.jsx @@ -49,6 +49,7 @@ import ConfirmButton from "../components/ConfirmButton"; import CloseIcon from '@mui/icons-material/Close'; import request from '@/utils/request'; +import { red } from '@mui/material/colors'; const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({ '& .css-1vooibu-MuiSvgIcon-root': { @@ -260,7 +261,7 @@ </ReferenceField> <ReferenceField source="jamSeg" label="table.field.jam.jamSeg" reference="segment" link={false} sortable={false}> <FunctionField render={(record) => { - return <>{record.groupId} ({record.serial})</> + return <>{record.uuid} ({record.serial})</> }} /> </ReferenceField> <ReferenceField source="jamCode" label="table.field.jam.jamCode" reference="code" link={false} sortable={false}> @@ -271,7 +272,7 @@ </ReferenceField> <ReferenceField source="avoSeg" label="table.field.jam.avoSeg" reference="segment" link={false} sortable={false}> <FunctionField render={(record) => { - return <>{record.groupId} ({record.serial})</> + return <>{record.uuid} ({record.serial})</> }} /> </ReferenceField> <ReferenceField source="avoCode" label="table.field.jam.avoCode" reference="code" link={false} sortable={false}> @@ -284,7 +285,7 @@ <FunctionField label="table.field.jam.duration" cellClassName="duration" render={record => ( <> {((record.duration > 6000)) - ? <span style={{ color: 'red', fontWeight: 'bold' }}>{record.duration}</span> + ? <span style={{ color: red[700], fontWeight: 'bold' }}>{record.duration}</span> : <span>{record.duration || "-"}</span> } ms -- Gitblit v1.9.1