Parcourir la source

feat(types): 审批意见

vian il y a 3 ans
Parent
commit
e8c5fb9135
2 fichiers modifiés avec 30 ajouts et 0 suppressions
  1. 1 0
      types/src/interface/base.ts
  2. 29 0
      types/src/interface/process.ts

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

@@ -158,6 +158,7 @@ export enum CptModelName {
   gatherMatter = 'gatherMatter', // 事项-前台
   gatherStepMatter = 'gatherStepMatter', // 步骤事项关系表
   conditionSetting = 'conditionSetting',
+  auditComment = 'auditComment', // 审批意见
 }
 
 // 无数据表的模块名称的枚举

+ 29 - 0
types/src/interface/process.ts

@@ -502,3 +502,32 @@ export interface IAuditSummaryItem {
   // 与上送审对比
   compareToReport: IAuditSummaryDiff;
 }
+
+// 审核意见表(入库数据)
+export interface IAuditComment {
+  ID: string;
+  // 关联模板步骤ID(一个步骤只有一份意见,所以得用模板ID,不能用全环节中的步骤)
+  refProcessID: string;
+  // 富文本
+  richText: string;
+  // 更新时间
+  updateTime: number;
+}
+
+// 审核意见历史
+export interface IAuditCommentHistory {
+  // 意见ID
+  commentID: string;
+  // 步骤
+  process: string;
+  // 版本(第几版)
+  version: string;
+  // 执行者
+  executor: string;
+  // 单位
+  institution: string;
+  // 审批通过时间
+  approvalTime?: string;
+  // 审批状态
+  status: ProcessStatus;
+}