Explorar el Código

feat(types): 修改流程相关属性

zhangweicheng hace 4 años
padre
commit
9292fbe4f1
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      types/src/interface/process.ts

+ 4 - 2
types/src/interface/process.ts

@@ -30,7 +30,7 @@ export enum AccountConfigure {
 }
 
 export interface IProcessAccount {
-  // ID 账号IDname 名称institutionID 企事业ID
+  // ID 账号ID name 名称institutionID 企事业ID
   ID: string;
   name: string;
   institutionID?: string; // 可能不会用到
@@ -70,8 +70,10 @@ export enum ApprovalState {
 }
 // 复制到项目里的流程
 export interface IProjectApproval extends IApproval {
-  projectID: string[]; // 包含在流程里的项目
+  projectIDs: string[]; // 包含在流程里的项目
   state: ApprovalState; // 状态
+  approvalTime?: number; // 审批通过时间
+  currentProcessID?: string; // 当前正处于哪个环节ID
 }
 
 // 流程过程中存储的数据