forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-08-30 ca6f90dcc968c4dd83e0664aaab0ea724b7892a4
gz-customerSystem/src/views/register/visit/component/agentDialog.jsx
@@ -275,6 +275,12 @@
                        label: <span>{x.trueName}&nbsp;&nbsp;<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>