Browse Source

feat(types): 调整审核意见

vian 3 năm trước cách đây
mục cha
commit
c759733b0a

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

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

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

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