Explorar el Código

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

lipk hace 2 años
padre
commit
890450edae
Se han modificado 1 ficheros con 33 adiciones y 0 borrados
  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;
+  };
+}