Jelajahi Sumber

feat(types): 评分记录

lipk 3 tahun lalu
induk
melakukan
3aa8ae8cf7
2 mengubah file dengan 24 tambahan dan 1 penghapusan
  1. 13 1
      types/src/interface/api/approvaApi.ts
  2. 11 0
      types/src/interface/auditScore.ts

+ 13 - 1
types/src/interface/api/approvaApi.ts

@@ -1,4 +1,10 @@
-import { EUpDown, IGatherYsProfileFile, IMatterNode, UploadMsg } from '..';
+import {
+  EUpDown,
+  IAuditScoreLog,
+  IGatherYsProfileFile,
+  IMatterNode,
+  UploadMsg,
+} from '..';
 
 
 export namespace PostApprovalCopyGatherYsProfileFiles {
 export namespace PostApprovalCopyGatherYsProfileFiles {
   export type Params = {
   export type Params = {
@@ -119,3 +125,9 @@ export namespace GetApprovalExecutorMembers {
     members: string[];
     members: string[];
   }[];
   }[];
 }
 }
+
+export namespace PostApprovalBatchAddAuditScoreLog {
+  export type Params = {
+    list: Omit<IAuditScoreLog, 'ID'>[];
+  };
+}

+ 11 - 0
types/src/interface/auditScore.ts

@@ -28,3 +28,14 @@ export interface IAuditScore {
     failure: number;
     failure: number;
   };
   };
 }
 }
+
+export interface IAuditScoreLog {
+  ID: string;
+  auditID: string; // IAuditScore的ID
+  businessID: string;
+  rateScore: number; // 等级分
+  executorID: string; // 打分的角色的id
+  matterID: string;
+  name: string; // 考核名称设置
+  accountID: string; // 打分的具体账号的id
+}