CRM:待办事项(接入合同)

This commit is contained in:
YunaiV
2024-02-24 17:55:34 +08:00
parent 8f8591fc45
commit 6caa94ec47
8 changed files with 183 additions and 63 deletions

View File

@ -1,11 +1,6 @@
import request from '@/config/axios'
// TODO 芋艿:融合下
// 3. 获得分配给我的客户数量
export const getFollowCustomerCount = async () => {
return await request.get({ url: '/crm/customer/follow-customer-count' })
}
// 5. 获得待审核合同数量
export const getCheckContractCount = async () => {
return await request.get({ url: '/crm/contract/check-contract-count' })

View File

@ -94,3 +94,13 @@ export const submitContract = async (id: number) => {
export const transferContract = async (data: TransferReqVO) => {
return await request.put({ url: '/crm/contract/transfer', data })
}
// 获得待审核合同数量
export const getAuditContractCount = async () => {
return await request.get({ url: '/crm/contract/audit-count' })
}
// 获得即将到期(提醒)的合同数量
export const getRemindContractCount = async () => {
return await request.get({ url: '/crm/contract/remind-count' })
}