Przeglądaj źródła

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

shizhong 1 rok temu
rodzic
commit
9a2dac3f73
1 zmienionych plików z 10 dodań i 0 usunięć
  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' })
+}