Commit 778b72c8f2212b96aeb244c9b3ddf6a5ccb04e13
1 parent
7a03dbfa
delets
Showing
1 changed file
with
0 additions
and
16 deletions
src/pages/finance/FinanceInvestor/components/Filter.tsx
... | ... | @@ -8,26 +8,11 @@ const { Option } = Select; |
8 | 8 | const Search = Input.Search; |
9 | 9 | |
10 | 10 | export default function AccountList() { |
11 | - // const { setVisible, setParams, innerParams, dealerLoading, dealerList } = useStore(); | |
12 | 11 | const { triggerModal, brands, financeList, setInvestList, companys, dealers } = useStore(); |
13 | - // investList, | |
14 | - // setInvestList, | |
15 | 12 | // 存储删选条件 |
16 | 13 | const [filterParams, setFilterParams] = useState({}); |
17 | 14 | |
18 | - console.log("投资主体11列表", financeList); | |
19 | - | |
20 | - // function searchType(accountType: number) { | |
21 | - // setParams({ accountType }, true); | |
22 | - // } | |
23 | - | |
24 | - // _onSelectSubject; | |
25 | - // const fetchListByName = debounce(value => { | |
26 | - // setParams({ keywords: value }, true); | |
27 | - // }, 500); | |
28 | - | |
29 | 15 | useEffect(() => { |
30 | - console.log("筛选参数filterParams", filterParams); | |
31 | 16 | let originList = financeList; |
32 | 17 | let res = []; |
33 | 18 | if (filterParams.brandId) { |
... | ... | @@ -41,7 +26,6 @@ export default function AccountList() { |
41 | 26 | if (filterParams.includeId) { |
42 | 27 | //删选包含商家 includeId |
43 | 28 | originList = originList.filter((item) => item.includeDealers?.find((y) => y.id === filterParams.includeId)); |
44 | - console.log("筛选输入:", originList); | |
45 | 29 | } |
46 | 30 | if (filterParams.creditDealerId) { |
47 | 31 | //删选授信商家 creditDealerId | ... | ... |