Просмотр исходного кода

Merge branch 'master' of http://192.168.1.41:3000/SmartCost/SCCommon

Tony Kang 4 лет назад
Родитель
Сommit
06e1bc5f33
1 измененных файлов с 6 добавлено и 3 удалено
  1. 6 3
      types/src/interface/process.ts

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

@@ -34,8 +34,9 @@ export enum AccountConfigure {
   SKIP = 'skip',
   RETURN = 'return',
   REVOKE = 'revoke',
-  ASSISTAUDIT = 'assistAudit',
-  ADDSIGN = 'addSign',
+  ASSISTAUDIT = 'assistAudit', // 协审
+  ADDSIGN = 'addSign', // 加签
+  NEXTSECTOR = 'nextSector', // 是否可添加环节
 }
 
 export interface ICoreView {
@@ -50,7 +51,8 @@ export interface IProcessAccount {
   institutionID?: string; // 单位ID(可能不会用到)
   institutionName?: string; // 单位名称(不要保存到数据库,而是在使用的时候通过ID去查)
   status: ProcessStatus; // 审批状态
-  configure: AccountConfigure[];
+  alreadyAddProcess?: boolean; // 是否已经添加了新环节(暂时用的,用于标记是否添加了环节,以后可能删除)
+  configure: AccountConfigure[]; // 权限配置
   remark: string; // 审批意见(肯定有,会有默认值)
   coreViews: ICoreView[]; // 协审人信息
   projectIDs: string[]; // 允许审批的单位工程ID,为空数组时表示可以审批当前环节的所有项目
@@ -69,6 +71,7 @@ export interface IProcess {
   name: string;
   sectorType: SectorType;
   seq?: number;
+  createdByProcess?: string; // 上环节ID, 表示哪个环节创建的(上环节添加的)
   time?: number; // 当前环节完成时间(仅当审批通过或审批退回时会有时间)
   participantInfo: IParticipantInfo;
 }