import { IProjectApproval, IScopeType } from './process'; // 财审项目类型,字段来自后台,无法修改 export interface IFinancialProjectType { ID: string; name: string; } // 财审项目审批流程 export interface IFinancialProjectApproval { ID: string; name: string; } // 财审项目上报人 export interface IFinancialProjectReporter { ID: string; name: string; } export interface IFinancialProjectSecrecy { protected: boolean; institutions: string[]; } // 财审项目,字段来自后台,无法修改 export interface IFinancialProject { ID: string; name: string; code?: string; gatherID?: string; approvalID?: string; // 流程名称 businessType?: string; status?: string; created: string; // 创建人名称 createdID: string; // 创建人ID projectType: IFinancialProjectType; approval?: IFinancialProjectApproval; // 审批流程 reportAccount?: IFinancialProjectReporter[]; // 上报人(即前端列表的编辑者列) constructionID?: string; // 关联的建设项目 createdTime: number; secrecy?: IFinancialProjectSecrecy; // 项目设置保密 [props: string]: any; delete?: number; sendReviewTime?: string; // 送审时间 completionTime?: string; // 审结时间 estimateFee?: number; // 手输的概算金额 estimateCode?: string; // 手输的概算编号 /* 为了实现三合一业务审批显示全部业务并且分页的需求 */ members?: string[]; // 项目参与者 collaborators?: string[]; // 项目协审人 monitorPermission?: { // 审批简报、进度、日志的流程可见性 approvalBrief: IScopeType[]; approvalLog: IScopeType[]; approvalProgress: IScopeType[]; }; deleteTime?: number; // 删除时间 } // 财审项目信息 export interface IFinancialProjectInfo { name: string; shortName: string; // 项目简称 projectType: IFinancialProjectType; } // 项目列表 export interface IFinancialProjectListItem extends IFinancialProject { projectApproval?: IProjectApproval; }