forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-13 899e81654c9389785d58f9dbdf2ea7d2b2bc9082
gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx
@@ -4,7 +4,6 @@
import ArcoUpload from '@/components/ArcoUpload';
import { Scrollbars } from "react-custom-scrollbars";
import SelectObjModal from '@/components/SelectObjModal/selectPerson';
import { useParams } from 'react-router-dom';
import * as $$ from '@/utils/utility';
import { useNavigate } from 'react-router-dom';
@@ -22,7 +21,6 @@
}
export default function BackModel(props) {
  const routeData = useParams();
  const navigate = useNavigate();
  const formRef = useRef();
  const [isModalVisible, setIsModalVisible] = useState(false);
@@ -38,7 +36,7 @@
    formRef.current.validate(undefined, (errors, values) => {
      if (!errors) {
        handleAssign({
          caseTaskId: routeData.caseTaskId,
          caseTaskId: props.caseTaskId,
          assignContent: values.assignContent,
          handleUnitId: wantUser['handleUnit'][0].value,
          handleUnitName: wantUser['handleUnit'][0].name,
@@ -63,7 +61,7 @@
  //交办请求
  const handleAssign = async (data) => {
    const res = await assign({ ...data, caseTaskId: props.caseTaskId })
    const res = await assign(data)
    if (res.type) {
      $$.infoSuccess({ content: '交办成功!' });
      props.onCancel();