|
@@ -5,12 +5,15 @@ import { queryAcountInstitutionList } from '@/services/api/institution'
|
|
|
|
|
|
const TreeNodeSelect = ({ onChange, placeholder = '请选择', ...otherProps }) => {
|
|
const TreeNodeSelect = ({ onChange, placeholder = '请选择', ...otherProps }) => {
|
|
const [list, setList] = useState([])
|
|
const [list, setList] = useState([])
|
|
- const { run: tryAcountInstitutionList } = useRequest(() => queryAcountInstitutionList(), {
|
|
|
|
- manual: true,
|
|
|
|
- onSuccess: result => {
|
|
|
|
- setList(result)
|
|
|
|
|
|
+ const { run: tryAcountInstitutionList } = useRequest(
|
|
|
|
+ () => queryAcountInstitutionList({ pageSize: 125000 }),
|
|
|
|
+ {
|
|
|
|
+ manual: true,
|
|
|
|
+ onSuccess: result => {
|
|
|
|
+ setList(result)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- })
|
|
|
|
|
|
+ )
|
|
|
|
|
|
useEffect(() => {
|
|
useEffect(() => {
|
|
tryAcountInstitutionList()
|
|
tryAcountInstitutionList()
|