| | |
| | | import React, { useState, useEffect, useRef, Fragment } from "react"; |
| | | import { Row, Col, Space } from 'antd'; |
| | | import { Form, Input, Button, Radio, Select, Checkbox, Upload } from '@arco-design/web-react'; |
| | | import KeyVisits from "./keyVisits"; |
| | | import KeyVisits from "@/components/personCard/KeyVisits"; |
| | | import { |
| | | IconLink, |
| | | } from '@arco-design/web-react/icon'; |
| | |
| | | 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> |