mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 03:15:07 +08:00
✨ CRM:增加回款的待办事项逻辑
This commit is contained in:
@ -1,22 +0,0 @@
|
||||
import request from '@/config/axios'
|
||||
// TODO 芋艿:融合下
|
||||
|
||||
// 5. 获得待审核合同数量
|
||||
export const getCheckContractCount = async () => {
|
||||
return await request.get({ url: '/crm/contract/check-contract-count' })
|
||||
}
|
||||
|
||||
// 6. 获得待审核回款数量
|
||||
export const getCheckReceivablesCount = async () => {
|
||||
return await request.get({ url: '/crm/receivable/check-receivables-count' })
|
||||
}
|
||||
|
||||
// 7. 获得待回款提醒数量
|
||||
export const getRemindReceivablePlanCount = async () => {
|
||||
return await request.get({ url: '/crm/receivable-plan/remind-receivable-plan-count' })
|
||||
}
|
||||
|
||||
// 8. 获得即将到期的合同数量
|
||||
export const getEndContractCount = async () => {
|
||||
return await request.get({ url: '/crm/contract/end-contract-count' })
|
||||
}
|
@ -64,3 +64,8 @@ export const exportReceivable = async (params) => {
|
||||
export const submitReceivable = async (id: number) => {
|
||||
return await request.put({ url: `/crm/receivable/submit?id=${id}` })
|
||||
}
|
||||
|
||||
// 获得待审核回款数量
|
||||
export const getAuditReceivableCount = async () => {
|
||||
return await request.get({ url: '/crm/receivable/audit-count' })
|
||||
}
|
||||
|
@ -67,3 +67,8 @@ export const deleteReceivablePlan = async (id: number) => {
|
||||
export const exportReceivablePlan = async (params) => {
|
||||
return await request.download({ url: `/crm/receivable-plan/export-excel`, params })
|
||||
}
|
||||
|
||||
// 获得待回款提醒数量
|
||||
export const getReceivablePlanRemindCount = async () => {
|
||||
return await request.get({ url: '/crm/receivable-plan/remind-count' })
|
||||
}
|
||||
|
Reference in New Issue
Block a user