| | |
| | | * @Author: dminyi 1301963064@qq.com |
| | | * @Date: 2024-08-09 09:59:43 |
| | | * @LastEditors: dminyi 1301963064@qq.com |
| | | * @LastEditTime: 2024-08-28 14:38:20 |
| | | * @LastEditTime: 2024-08-31 16:52:26 |
| | | * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\index.jsx |
| | | * @Description: 来访登记 |
| | | */ |
| | |
| | | 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'; |
| | | |
| | |
| | | if (formRef.current) { |
| | | formRef.current.validate(undefined, (errors, values) => { |
| | | if (!errors) { |
| | | const data = formRef.current.getFields() |
| | | handleData(data).then(res => { |
| | | const {myCaseType, myQuesAddress, ...rest} = formRef.current.getFields() |
| | | handleData(rest).then(res => { |
| | | reauestSubmit({ |
| | | ...res, |
| | | isSelfAccept: 0, |
| | |
| | | //保存草稿信息,不需要校验规则 |
| | | const handleSave = () => { |
| | | if (formRef.current) { |
| | | const data = formRef.current.getFields() |
| | | handleData(data).then(res => { |
| | | const {myCaseType, myQuesAddress, ...rest} = formRef.current.getFields() |
| | | handleData(rest).then(res => { |
| | | requestSave(res) |
| | | }) |
| | | } |