| | |
| | | import ArcoUpload from '@/components/ArcoUpload'; |
| | | import { Scrollbars } from "react-custom-scrollbars"; |
| | | 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 returnApply(data) { |
| | |
| | | } |
| | | |
| | | export default function BackModel(props) { |
| | | const navigate = useNavigate(); |
| | | const formRef = useRef(); |
| | | const [id, setId] = useState(); |
| | | const options = [ |
| | |
| | | handleReturn({ |
| | | id, |
| | | caseId: props.caseId, |
| | | caseTaskId: props.caseTaskId, |
| | | returnContent: values.returnContent |
| | | }) |
| | | } |
| | |
| | | if (res.type) { |
| | | $$.infoSuccess({ content: '提交申请成功!' }); |
| | | props.onCancel() |
| | | navigate('/mediate/visit/visitWorkBench') |
| | | } |
| | | } |
| | | |