| | |
| | | * @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: 来访登记 |
| | | */ |
| | |
| | | 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) |
| | | }) |
| | | } |