|
|
@@ -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;
|
|
|
}
|