客户导出 加筛选条件
This commit is contained in:
@@ -486,7 +486,9 @@
|
|||||||
current: currentPage,
|
current: currentPage,
|
||||||
size: pageSize,
|
size: pageSize,
|
||||||
user_id: selectValue.value.join(','),
|
user_id: selectValue.value.join(','),
|
||||||
tag_id: Object.values(tagActiveMap).filter(Boolean)
|
tag_id: Object.values(tagActiveMap).filter(Boolean),
|
||||||
|
keyword: keyword.value,
|
||||||
|
channel_id: selectchannel_id.value
|
||||||
}
|
}
|
||||||
// manageService.crmCustomerExport(params)
|
// manageService.crmCustomerExport(params)
|
||||||
try {
|
try {
|
||||||
@@ -494,7 +496,7 @@
|
|||||||
// const res = await manageService.crmCustomerExport(params)
|
// const res = await manageService.crmCustomerExport(params)
|
||||||
const urls =
|
const urls =
|
||||||
import.meta.env.VITE_API_URL +
|
import.meta.env.VITE_API_URL +
|
||||||
`/admin/crm/customer/export?current=${params.currentPage}&size=${params.pageSize}&user_id=${params.user_id}&tag_id=${params.tag_id}`
|
`/admin/crm/customer/export?current=${params.current}&size=${params.size}&user_id=${params.user_id}&tag_id=${params.tag_id}&channel_id=${params.channel_id}&keyword=${params.keyword}`
|
||||||
// 2. 创建blob对象
|
// 2. 创建blob对象
|
||||||
// const blob = new Blob([res], { type: 'application/vnd.ms-excel' }) // 或根据后端实际类型调整
|
// const blob = new Blob([res], { type: 'application/vnd.ms-excel' }) // 或根据后端实际类型调整
|
||||||
// 3. 创建下载链接
|
// 3. 创建下载链接
|
||||||
|
|||||||
Reference in New Issue
Block a user