| | |
| | | import { Scrollbars } from "react-custom-scrollbars"; |
| | | import ReviewProgress from './ReviewProgress'; |
| | | import * as $$ from '@/utils/utility'; |
| | | import { useNavigate } from 'react-router-dom'; |
| | | |
| | | const RadioGroup = Radio.Group; |
| | | const FormItem = Form.Item; |
| | |
| | | } |
| | | |
| | | function delFile(id) { |
| | | return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'delete', service: 'sys', data: { id } }); |
| | | return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'get', service: 'sys', data: { id } }); |
| | | } |
| | | |
| | | function submit(data) { |
| | |
| | | } |
| | | |
| | | export default function ReviewExamine(props) { |
| | | const navigate = useNavigate(); |
| | | const formRef = useRef(); |
| | | const [result, setResult] = useState() |
| | | const [infoData, setInfoData] = useState({}); |
| | |
| | | const res = await submit(data) |
| | | if (res.type) { |
| | | $$.infoSuccess({ content: '提交成功!' }); |
| | | } |
| | | navigate(`/mediate/visit/visitWorkBench`) } |
| | | } |
| | | |
| | | //删除文件 |