#
luxiaotao1123
2024-09-26 8bc656160970188fb4bd694f70493e0cbe7b1307
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': {
@@ -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>
                                            }
                                            &nbsp;ms