From 922009d0383770bd0f2da88e7412cd1459946a67 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Fri, 30 Aug 2024 14:34:14 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh --- gz-customerSystem/src/views/register/visit/component/agentDialog.jsx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx b/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx index 1a2c4f0..5d4197d 100644 --- a/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx +++ b/gz-customerSystem/src/views/register/visit/component/agentDialog.jsx @@ -275,6 +275,12 @@ label: <span>{x.trueName} <span style={{ color: '#86909c' }}>({x.perTypeName})</span></span>, value: x.id, }))} + onChange={(value) => { + if (value) { + const personList = visitList.filter(item => value.indexOf(item.id) != -1).map(item => item.trueName) + formRef.current.setFieldValue('personNameList', personList) + } + }} > </CheckboxGroup> </FormItem> -- Gitblit v1.8.0