Parcourir la source

feat(types): 调整审核意见

vian il y a 3 ans
Parent
commit
c759733b0a
2 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 2 1
      types/src/interface/matter.ts
  2. 6 0
      types/src/interface/process.ts

+ 2 - 1
types/src/interface/matter.ts

@@ -30,7 +30,7 @@ export interface IMatter {
   // 审批金额组件配置
   auditAmountConfig?: IAuditSummaryConfig[];
   // 审核意见组件配置
-  comment?: IAuditCommentConfig;
+  auditCommentsConfig?: IAuditCommentConfig;
 }
 
 export interface IGatherMatter extends IMatter {
@@ -47,6 +47,7 @@ export interface IStepMatter {
   formPermission: string[];
   costPermission: string[];
   profilePermission: string[];
+  auditCommentsPermission: string[];
 }
 
 export interface IGatherStepMatter extends IStepMatter {

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

@@ -506,12 +506,18 @@ export interface IAuditSummaryItem {
 // 审核意见表(入库数据)
 export interface IAuditComment {
   ID: string;
+  // 业务ID
+  businessID: string;
   // 关联模板步骤ID(一个步骤只有一份意见,所以得用模板ID,不能用全环节中的步骤)
   refProcessID: string;
   // 富文本
   richText: string;
+  // 创建时间
+  createTime: number;
   // 更新时间
   updateTime: number;
+  // 富文本模板(只有第一版才有内容,方便还原模板)
+  template?: string;
 }
 
 // 审核意见历史