fix: download query bug
This commit is contained in:
@@ -108,7 +108,7 @@ export function deleteBusiness(id: number) {
|
||||
|
||||
/** 导出商机 */
|
||||
export function exportBusiness(params: any) {
|
||||
return requestClient.download('/crm/business/export-excel', params);
|
||||
return requestClient.download('/crm/business/export-excel', { params });
|
||||
}
|
||||
|
||||
/** 联系人关联商机列表 */
|
||||
|
||||
@@ -67,7 +67,7 @@ export function deleteClue(id: number) {
|
||||
|
||||
/** 导出线索 */
|
||||
export function exportClue(params: any) {
|
||||
return requestClient.download('/crm/clue/export-excel', params);
|
||||
return requestClient.download('/crm/clue/export-excel', { params });
|
||||
}
|
||||
|
||||
/** 线索转移 */
|
||||
|
||||
@@ -96,7 +96,7 @@ export function deleteContact(id: number) {
|
||||
|
||||
/** 导出联系人 */
|
||||
export function exportContact(params: any) {
|
||||
return requestClient.download('/crm/contact/export-excel', params);
|
||||
return requestClient.download('/crm/contact/export-excel', { params });
|
||||
}
|
||||
|
||||
/** 获得联系人列表(精简) */
|
||||
|
||||
@@ -108,7 +108,7 @@ export function deleteContract(id: number) {
|
||||
|
||||
/** 导出合同 */
|
||||
export function exportContract(params: any) {
|
||||
return requestClient.download('/crm/contract/export-excel', params);
|
||||
return requestClient.download('/crm/contract/export-excel', { params });
|
||||
}
|
||||
|
||||
/** 提交审核 */
|
||||
|
||||
@@ -74,7 +74,7 @@ export function deleteCustomer(id: number) {
|
||||
|
||||
/** 导出客户 */
|
||||
export function exportCustomer(params: any) {
|
||||
return requestClient.download('/crm/customer/export-excel', params);
|
||||
return requestClient.download('/crm/customer/export-excel', { params });
|
||||
}
|
||||
|
||||
/** 下载客户导入模板 */
|
||||
|
||||
@@ -53,5 +53,5 @@ export function deleteProduct(id: number) {
|
||||
|
||||
/** 导出产品 */
|
||||
export function exportProduct(params: any) {
|
||||
return requestClient.download('/crm/product/export-excel', params);
|
||||
return requestClient.download('/crm/product/export-excel', { params });
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ export function deleteReceivable(id: number) {
|
||||
|
||||
/** 导出回款 */
|
||||
export function exportReceivable(params: any) {
|
||||
return requestClient.download('/crm/receivable/export-excel', params);
|
||||
return requestClient.download('/crm/receivable/export-excel', { params });
|
||||
}
|
||||
|
||||
/** 提交审核 */
|
||||
|
||||
Reference in New Issue
Block a user