financialProject.ts 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. import { IProjectApproval, IScopeType } from './process';
  2. // 财审项目类型,字段来自后台,无法修改
  3. export interface IFinancialProjectType {
  4. ID: string;
  5. name: string;
  6. }
  7. // 财审项目审批流程
  8. export interface IFinancialProjectApproval {
  9. ID: string;
  10. name: string;
  11. }
  12. // 财审项目上报人
  13. export interface IFinancialProjectReporter {
  14. ID: string;
  15. name: string;
  16. }
  17. export interface IFinancialProjectSecrecy {
  18. protected: boolean;
  19. institutions: string[];
  20. }
  21. // 财审项目,字段来自后台,无法修改
  22. export interface IFinancialProject {
  23. ID: string;
  24. name: string;
  25. code?: string;
  26. gatherID?: string;
  27. approvalID?: string; // 流程名称
  28. businessType?: string;
  29. status?: string;
  30. created: string; // 创建人名称
  31. createdID: string; // 创建人ID
  32. projectType: IFinancialProjectType;
  33. approval?: IFinancialProjectApproval; // 审批流程
  34. reportAccount?: IFinancialProjectReporter[]; // 上报人(即前端列表的编辑者列)
  35. constructionID?: string; // 关联的建设项目
  36. createdTime: number;
  37. secrecy?: IFinancialProjectSecrecy; // 项目设置保密
  38. [props: string]: any;
  39. delete?: number;
  40. sendReviewTime?: string; // 送审时间
  41. completionTime?: string; // 审结时间
  42. estimateFee?: number; // 手输的概算金额
  43. estimateCode?: string; // 手输的概算编号
  44. /* 为了实现三合一业务审批显示全部业务并且分页的需求 */
  45. members?: string[]; // 项目参与者
  46. collaborators?: string[]; // 项目协审人
  47. monitorPermission?: {
  48. // 审批简报、进度、日志的流程可见性
  49. approvalBrief: IScopeType[];
  50. approvalLog: IScopeType[];
  51. approvalProgress: IScopeType[];
  52. };
  53. deleteTime?: number; // 删除时间
  54. }
  55. // 财审项目信息
  56. export interface IFinancialProjectInfo {
  57. name: string;
  58. shortName: string; // 项目简称
  59. projectType: IFinancialProjectType;
  60. }
  61. // 项目列表
  62. export interface IFinancialProjectListItem extends IFinancialProject {
  63. projectApproval?: IProjectApproval;
  64. }