fix: 单位客户列表API请求加上 customer_type 筛选参数
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -77,6 +77,7 @@ async function loadCustomers() {
|
|||||||
if (filterIndustry.value) params.industry = filterIndustry.value
|
if (filterIndustry.value) params.industry = filterIndustry.value
|
||||||
if (filterService.value) params.service = filterService.value
|
if (filterService.value) params.service = filterService.value
|
||||||
if (filterManagerId.value) params.manager_id = filterManagerId.value
|
if (filterManagerId.value) params.manager_id = filterManagerId.value
|
||||||
|
if (customerType.value) params.customer_type = customerType.value
|
||||||
const res = await customersApi.list(params)
|
const res = await customersApi.list(params)
|
||||||
customers.value = res.data.items
|
customers.value = res.data.items
|
||||||
total.value = res.data.total
|
total.value = res.data.total
|
||||||
|
|||||||
Reference in New Issue
Block a user