#
luxiaotao1123
2024-10-21 41da932b9629d7f1426e2030412df1a41f65ff6e
zy-acs-flow/src/map/insight/agv/AgvMain.jsx
@@ -17,6 +17,7 @@
import { handleRestoreAgvAll } from '../../http';
import BoolValueIcon from '../BoolValueIcon';
import ConfirmButton from '../../../page/components/ConfirmButton';
import { grey } from '@mui/material/colors';
let three;
@@ -135,7 +136,7 @@
                        left="50%"
                        style={{ transform: 'translate(-50%, -50%)' }}
                    >
                        <CircularProgress />
                        <CircularProgress sx={{ color: grey[50] }} />
                    </Box>
                )}
            </Box>
@@ -200,15 +201,6 @@
                                    >
                                        {translate('page.map.settings.map.more.title')}
                                    </Button>
                                    <ConfirmButton
                                        label="page.map.action.restoreALl"
                                        color="primary"
                                        variant="contained"
                                        onConfirm={() => {
                                            handleRestoreAll();
                                        }}
                                    />
                                    {info && (
                                        info.status === 1
                                            ? <Button variant="contained" color="error" fullWidth onClick={() => {
@@ -222,6 +214,14 @@
                                                {translate('page.map.action.enable')}
                                            </Button>
                                    )}
                                    <ConfirmButton
                                        label="page.map.action.restoreALl"
                                        color="inherit"
                                        // variant="contained"
                                        onConfirm={() => {
                                            handleRestoreAll();
                                        }}
                                    />
                                </Stack>
                            </Grid>
                        </Grid>