Pārlūkot izejas kodu

feat(types): process

qinlaiqiao 4 gadi atpakaļ
vecāks
revīzija
8535aeda76
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      types/src/interface/process.ts

+ 1 - 1
types/src/interface/process.ts

@@ -52,7 +52,6 @@ export interface IProcessAccount {
   institutionName?: string; // 单位名称(不要保存到数据库,而是在使用的时候通过ID去查)
   institutionName?: string; // 单位名称(不要保存到数据库,而是在使用的时候通过ID去查)
   status: ProcessStatus; // 审批状态
   status: ProcessStatus; // 审批状态
   configure: AccountConfigure[]; // 权限配置
   configure: AccountConfigure[]; // 权限配置
-  alreadyAddProcess?: boolean; // 是否已添加了环节(只针对configure中包含NEXTSECTOR的情况,其余默认都是false)
   remark: string; // 审批意见(肯定有,会有默认值)
   remark: string; // 审批意见(肯定有,会有默认值)
   coreViews: ICoreView[]; // 协审人信息
   coreViews: ICoreView[]; // 协审人信息
   projectIDs: string[]; // 允许审批的单位工程ID,为空数组时表示可以审批当前环节的所有项目
   projectIDs: string[]; // 允许审批的单位工程ID,为空数组时表示可以审批当前环节的所有项目
@@ -71,6 +70,7 @@ export interface IProcess {
   name: string;
   name: string;
   sectorType: SectorType;
   sectorType: SectorType;
   seq?: number;
   seq?: number;
+  createdByProcess?: string; // 上环节ID, 表示哪个环节创建的(上环节添加的)
   time?: number; // 当前环节完成时间(仅当审批通过或审批退回时会有时间)
   time?: number; // 当前环节完成时间(仅当审批通过或审批退回时会有时间)
   participantInfo: IParticipantInfo;
   participantInfo: IParticipantInfo;
 }
 }