瀏覽代碼

Merge remote-tracking branch 'yudao/dev' into dev-crm

shizhong 1 年之前
父節點
當前提交
9a2dac3f73
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      src/api/crm/contract/index.ts

+ 10 - 0
src/api/crm/contract/index.ts

@@ -111,3 +111,13 @@ export const getAuditContractCount = async () => {
 export const getRemindContractCount = async () => {
   return await request.get({ url: '/crm/contract/remind-count' })
 }
+
+// 获得待审核合同数量
+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' })
+}