Explorar o código

feat(types): 修改gatherExecutor和executor

LuoHaoxuan %!s(int64=3) %!d(string=hai) anos
pai
achega
2be660cbd3
Modificáronse 2 ficheiros con 14 adicións e 13 borrados
  1. 13 12
      types/src/interface/executor.ts
  2. 1 1
      types/src/interface/index.ts

+ 13 - 12
types/src/interface/executor.ts

@@ -1,4 +1,5 @@
 import { BusinessTypeKey } from './gather';
+import { IExecutorApprovaledPermission } from './gatherExecutor';
 
 // export interface member {
 //   ID: string;
@@ -6,21 +7,21 @@ import { BusinessTypeKey } from './gather';
 //   approvalTime: string;
 // }
 
-export interface IExecutorApprovaledPermission {
-    ID: string;
-    permission: string[];
-}
+// export interface IExecutorApprovaledPermission {
+//     ID: string;
+//     permission: string[];
+// }
 
 // // 执行者
 export interface IExecutor {
-    ID: string;
-    subjectID: string;
-    businessType: BusinessTypeKey;
-    setType: string;
-    name: string;
-    participantMode: string;
-    approvaledPermission: IExecutorApprovaledPermission[];
-    members: string[];
+  ID: string;
+  subjectID: string;
+  businessType: BusinessTypeKey;
+  setType: string;
+  name: string;
+  participantMode: string;
+  approvaledPermission: IExecutorApprovaledPermission[];
+  members: string[];
 }
 // // 拷贝后的数据表
 // export interface ISubjectExecutor extends IExecutor {

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

@@ -29,7 +29,7 @@ export * from './structure';
 export * from './editLog';
 export * from './institutionRole';
 export * from './gather';
-// export * from './executor';
+export * from './executor';
 export * from './gatherExecutor';
 export * from './matter';
 export * from './loginLog';