mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 11:25:07 +08:00
📖 CRM:线索的跟进逻辑
This commit is contained in:
@ -6,11 +6,6 @@ export const getTodayCustomerCount = async () => {
|
||||
return await request.get({ url: '/crm/customer/today-customer-count' })
|
||||
}
|
||||
|
||||
// 2. 获得分配给我的线索数量
|
||||
export const getFollowLeadsCount = async () => {
|
||||
return await request.get({ url: '/crm/clue/follow-leads-count' })
|
||||
}
|
||||
|
||||
// 3. 获得分配给我的客户数量
|
||||
export const getFollowCustomerCount = async () => {
|
||||
return await request.get({ url: '/crm/customer/follow-customer-count' })
|
||||
|
@ -68,6 +68,11 @@ export const transferClue = async (data: TransferReqVO) => {
|
||||
}
|
||||
|
||||
// 线索转化为客户
|
||||
export const transformClue = async (ids: number[]) => {
|
||||
return await request.put({ url: '/crm/clue/transform?ids=' + ids.join(',') })
|
||||
export const transformClue = async (id: number) => {
|
||||
return await request.put({ url: '/crm/clue/transform', params: { id } })
|
||||
}
|
||||
|
||||
// 获得分配给我的、待跟进的线索数量
|
||||
export const getFollowClueCount = async () => {
|
||||
return await request.get({ url: '/crm/clue/follow-count' })
|
||||
}
|
||||
|
Reference in New Issue
Block a user