Przeglądaj źródła

feat(types): 审批意见

vian 3 lat temu
rodzic
commit
e8c5fb9135
2 zmienionych plików z 30 dodań i 0 usunięć
  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', // 事项-前台
   gatherMatter = 'gatherMatter', // 事项-前台
   gatherStepMatter = 'gatherStepMatter', // 步骤事项关系表
   gatherStepMatter = 'gatherStepMatter', // 步骤事项关系表
   conditionSetting = 'conditionSetting',
   conditionSetting = 'conditionSetting',
+  auditComment = 'auditComment', // 审批意见
 }
 }
 
 
 // 无数据表的模块名称的枚举
 // 无数据表的模块名称的枚举

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

@@ -502,3 +502,32 @@ export interface IAuditSummaryItem {
   // 与上送审对比
   // 与上送审对比
   compareToReport: IAuditSummaryDiff;
   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;
+}