#
luxiaotao1123
2024-09-29 2be80f8dbf6bc0d66c7ebb21f8a1b9d3a2eb902d
zy-acs-flow/src/page/mission/MissionShow.jsx
@@ -29,6 +29,7 @@
import MoveToInboxIcon from '@mui/icons-material/MoveToInbox';
import { format } from 'date-fns';
import { TaskList } from "./TaskList";
import { ActionsIterator } from "../action/ActionsIterator";
const MissionShow = ({ open, id }) => {
    const redirect = useRedirect();
@@ -116,7 +117,7 @@
                                    gap={1}
                                >
                                    <Typography variant="body2">
                                        {format(record.sendTime, 'yyyy-MM-dd HH:mm:ss')}
                                        {format(record.sendTime, 'yyyy-MM-dd HH:mm:ss') || '-'}
                                    </Typography>
                                </Stack>
                            </Box>
@@ -129,7 +130,7 @@
                                    Bus No
                                </Typography>
                                <Typography variant="body2">
                                    {record.busNo}
                                    {record.busNo || '-'}
                                </Typography>
                            </Box>
@@ -182,22 +183,23 @@
                            </Box>
                        )}
                        {record.description && (
                        {!!record.codeList?.length && (
                            <Box m={2} sx={{ whiteSpace: 'pre-line' }}>
                                <Typography
                                    color="textSecondary"
                                    variant="caption"
                                >
                                    Description
                                    Run Path
                                </Typography>
                                <Typography variant="body2">
                                    {record.description}
                                    [&nbsp;{record.codeList.join(' , ')}&nbsp;]
                                </Typography>
                            </Box>
                        )}
                        <Box m={2}>
                            <Divider />
                            <ActionsIterator actionIds={record.actionIds} />
                        </Box>
                    </Box>
                </Box>