| | |
| | | import { PageContainer } from '@ant-design/pro-components'; |
| | | import { Button, Checkbox, Empty, message, Spin } from 'antd'; |
| | | import { Button, Empty, message, Select, Spin } from 'antd'; |
| | | import { useEffect, useState } from 'react'; |
| | | import { getList, update } from './service'; |
| | | import styles from './style.less'; |
| | |
| | | <div className={styles.fieldRow}> |
| | | <div className={styles.label}>可外呼站点</div> |
| | | <div className={styles.value}> |
| | | <Checkbox.Group |
| | | className={styles.siteGroup} |
| | | <Select |
| | | className={styles.siteSelect} |
| | | mode="multiple" |
| | | allowClear |
| | | options={siteOptions} |
| | | value={item.siteIds} |
| | | placeholder="请选择可外呼站点" |
| | | onChange={(value) => setSiteIds(item.id, value)} |
| | | /> |
| | | </div> |