From 5df87dcdbcd6cd34939d43fba9d80b08e61f642b Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Sat, 31 Aug 2024 17:56:45 +0800 Subject: [PATCH] feat: 当事人详情修改、纠纷类型完善 --- gz-customerSystem/src/views/register/visit/index.jsx | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/index.jsx b/gz-customerSystem/src/views/register/visit/index.jsx index bc275d9..1826e76 100644 --- a/gz-customerSystem/src/views/register/visit/index.jsx +++ b/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-28 14:38:20 + * @LastEditTime: 2024-08-31 16:52:26 * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\index.jsx * @Description: 来访登记 */ @@ -43,8 +43,8 @@ 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, @@ -60,8 +60,8 @@ //保存草稿信息,不需要校验规则 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) }) } -- Gitblit v1.8.0