forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-08-31 be0cfd366f118b482a0e981e3adb4eea6cbc165f
gz-customerSystem/src/views/register/visit/index.jsx
@@ -2,7 +2,7 @@
 * @Author: dminyi 1301963064@qq.com
 * @Date: 2024-08-09 09:59:43
 * @LastEditors: dminyi 1301963064@qq.com
 * @LastEditTime: 2024-08-31 16:41:02
 * @LastEditTime: 2024-08-28 14:38:20
 * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\index.jsx
 * @Description: 来访登记
 */
@@ -10,11 +10,10 @@
import React, { useState, useRef, Fragment } from "react";
import NewPage from '@/components/NewPage';
import * as $$ from '@/utils/utility';
import { Matter, transfer } from '@/assets/icon';
import "@arco-themes/react-gzzz/css/arco.css";
import '../index.less';
import { Space } from 'antd';
import { Button, Steps, Message } from '@arco-design/web-react';
import { Button, Steps, Tabs, Message } from '@arco-design/web-react';
import VisitorRegister from './component/visitorRegister';
import Preview from './preview';
@@ -37,27 +36,7 @@
   const formRef = useRef();
   const [isReview, setIsReview] = useState(false);//预览页面控制
   const [current, setCurrent] = useState(3);
   const [tabsActive, setTabsActive] = useState('1');
   const [tabsList, setTabList] = useState([
      {
         img: Matter,
         label: '事项详情',
         key: '1'
      },
      {
         img: transfer,
         label: '流转办理',
         key: '2',
         isNeedStep: true,//加上这个就有进度条
      },
   ])
   const breadcrumbDataMap = {
      1: { breadcrumbData: [{ title: '工作台' }, { title: '来访登记' }], title: '来访登记' },
      2: { breadcrumbData: [{ title: '工作台' }, { title: '事件中心' }], title: '办理反馈' },
      3: { breadcrumbData: [{ title: '工作台' }, { title: '事件中心' }], title: '办理反馈' }
   }
   // const [current, setCurrent] = useState(1);
   const [current, setCurrent] = useState(1);
   //提交信息,需要校验规则
   const handleSubmit = async () => {