#
luxiaotao1123
2024-09-29 0114b079a32f03f69dfcd4d77ed89b54694126e2
zy-acs-flow/src/page/mission/MissionShow.jsx
@@ -23,6 +23,7 @@
    Stack,
    Typography,
    Avatar,
    useTheme,
} from '@mui/material';
import DialogCloseButton from "../components/DialogCloseButton";
import { blueGrey } from '@mui/material/colors';
@@ -61,6 +62,7 @@
}
const MissionShowContent = ({ handleClose }) => {
    const theme = useTheme();
    const record = useRecordContext();
    const translate = useTranslate();
    if (!record) return null;
@@ -191,8 +193,14 @@
                                >
                                    Run Path
                                </Typography>
                                <Typography variant="body2">
                                    [&nbsp;{record.codeList.join(' , ')}&nbsp;]
                                <Typography variant="body2" sx={{ whiteSpace: 'normal', overflow: 'hidden', display: 'flex', flexWrap: 'wrap' }}>
                                    [&nbsp;{record.codeList.map((code, index) => (
                                        <span key={index} style={{
                                            color: record.currCode === code ? theme.palette.primary.main : 'inherit',
                                        }}>
                                            {code}{index < record.codeList.length - 1 && ','}&nbsp;
                                        </span>
                                    ))}&nbsp;]
                                </Typography>
                            </Box>
                        )}