Procházet zdrojové kódy

feat(types): 修改执行人名称

caipin před 3 roky
rodič
revize
9f4b2ee163

+ 15 - 15
types/src/interface/executor.ts

@@ -1,4 +1,4 @@
-// import { BusinessTypeKey } from './subjectUnit';
+import { BusinessTypeKey } from './gather';
 
 // export interface member {
 //   ID: string;
@@ -6,22 +6,22 @@
 //   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[];
-// }
+export interface IExecutor {
+    ID: string;
+    subjectID: string;
+    businessType: BusinessTypeKey;
+    setType: string;
+    name: string;
+    participantMode: string;
+    approvaledPermission: IExecutorApprovaledPermission[];
+    members: string[];
+}
 // // 拷贝后的数据表
 // export interface ISubjectExecutor extends IExecutor {
 //   businessID: string;

+ 1 - 6
types/src/interface/gatherExecutor.ts

@@ -14,10 +14,5 @@ export interface IGatherExecutor {
   participantMode: string;
   approvaledPermission: IExecutorApprovaledPermission[];
   businessID: string;
-  members?: {
-    ID: string;
-    approvalStatus: string;
-    approvalTime: number | string;
-    approvalComment: string;
-  }[];
+  members: string[];
 }