Procházet zdrojové kódy

feat(types): 获取全部业务的接口

lipk před 2 roky
rodič
revize
890450edae
1 změnil soubory, kde provedl 33 přidání a 0 odebrání
  1. 33 0
      types/src/interface/api/businessApi.ts

+ 33 - 0
types/src/interface/api/businessApi.ts

@@ -1,4 +1,5 @@
 import { IBusinessProcessFeeParam, IBusinessProcessFee } from '../business';
+import { BusinessStatus } from '../process';
 
 export namespace PostGetFeeByProcessId {
   export type Params = {
@@ -15,3 +16,35 @@ export namespace GetPrepareOption {
     approvalList: { name: string; ID: string }[];
   };
 }
+
+export namespace GetALList {
+  export type Query = {
+    name?: string;
+
+    approvalID?: string;
+
+    status?: string[];
+
+    sendReviewTime?: {
+      start: string;
+      end: string;
+    };
+
+    completionTime?: {
+      start: string;
+      end: string;
+    };
+  };
+
+  export type Response = {
+    name: string;
+    approvalID: string;
+    ID: string;
+    code: string;
+    status: BusinessStatus;
+    createdID: string;
+    delete: number;
+    sendReviewTime: number;
+    approvalName: string;
+  };
+}