Просмотр исходного кода

feat(types): 新增IApprovalStatus接口

LuoHaoxuan 3 лет назад
Родитель
Сommit
1a098b589b

+ 13 - 0
types/src/interface/approvalStatus.ts

@@ -0,0 +1,13 @@
+export interface member {
+  ID: string;
+  approvalStatus: string;
+  approvalTime: number;
+}
+
+export interface IApprovalStatus {
+  ID: string;
+  businessID: string;
+  processID: string;
+  executorID: string;
+  members: [member];
+}

+ 1 - 0
types/src/interface/index.ts

@@ -34,3 +34,4 @@ export * from './subjectExecutor';
 export * from './matter';
 export * from './loginLog';
 export * from './budgetData';
+export * from './approvalStatus';

+ 1 - 3
types/src/interface/subjectExecutor.ts

@@ -1,9 +1,7 @@
 import { BusinessTypeKey } from './subjectUnit';
 
-export interface member {
+interface member {
   ID: string;
-  approvalStatus: string;
-  approvalTime: number;
 }
 
 export interface IExecutorApprovaledPermission {