📖 CRM:【客户】微调客户列表界面

This commit is contained in:
YunaiV
2024-01-03 19:38:55 +08:00
parent 7448f6e08c
commit 4fbb3b88e6
5 changed files with 36 additions and 5 deletions

View File

@ -59,7 +59,7 @@ export const deleteCustomer = async (id: number) => {
}
// 导出客户 Excel
export const exportCustomer = async (params) => {
export const exportCustomer = async (params: any) => {
return await request.download({ url: `/crm/customer/export-excel`, params })
}
@ -69,6 +69,11 @@ export const queryAllList = async () => {
}
// 查询客户操作日志
export const getOperateLogPage = async (params) => {
export const getOperateLogPage = async (params: any) => {
return await request.get({ url: '/crm/customer/operate-log-page', params })
}
// 锁定/解锁客户
export const lockCustomer = async (id: number, lockStatus: boolean) => {
return await request.put({ url: `/crm/customer/lock`, data: { id, lockStatus } })
}