From ca6f90dcc968c4dd83e0664aaab0ea724b7892a4 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Fri, 30 Aug 2024 14:34:12 +0800 Subject: [PATCH] feat: 查看当事人详情 --- 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