| | |
| | | import SelectObjModal from '@/components/SelectObjModal/selectPerson'; |
| | | import { useParams } from 'react-router-dom'; |
| | | import * as $$ from '@/utils/utility'; |
| | | import { useNavigate } from 'react-router-dom'; |
| | | |
| | | |
| | | const FormItem = Form.Item; |
| | | const TextArea = Input.TextArea; |
| | |
| | | |
| | | export default function BackModel(props) { |
| | | const routeData = useParams(); |
| | | const navigate = useNavigate(); |
| | | const formRef = useRef(); |
| | | const [isModalVisible, setIsModalVisible] = useState(false); |
| | | const [wantUser, setWantUser] = useState({}); |
| | |
| | | |
| | | //交办请求 |
| | | const handleAssign = async (data) => { |
| | | const res = await assign(data) |
| | | const res = await assign({ ...data, caseTaskId: props.caseTaskId }) |
| | | if (res.type) { |
| | | $$.infoSuccess({ content: '交办成功!' }); |
| | | props.onCancel() |
| | | props.onCancel(); |
| | | navigate('/mediate/visit/visitWorkBench') |
| | | } |
| | | } |
| | | |
| | |
| | | <Col span={24} className="doubleFile"> |
| | | <ArcoUpload |
| | | params={{ |
| | | action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.caseId}&ownerId=${routeData.caseTaskId}&ownerType=22_00018-501`, |
| | | action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.caseId}&ownerId=${props.caseId}&ownerType=22_00018-501`, |
| | | }} |
| | | field='file' |
| | | label='附件材料' |