📖 CRM:线索的跟进逻辑

This commit is contained in:
YunaiV
2024-02-19 22:47:35 +08:00
parent 0ae6139e92
commit 04a42bc6d4
6 changed files with 153 additions and 70 deletions

View File

@@ -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' })
}