financialProject.ts 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. codeKey?: string;
  27. codeAutoEnum?: number;
  28. gatherID?: string;
  29. approvalID?: string; // 流程名称
  30. businessType?: string;
  31. status?: string;
  32. created: string; // 创建人名称
  33. createdID: string; // 创建人ID
  34. projectType: IFinancialProjectType;
  35. approval?: IFinancialProjectApproval; // 审批流程
  36. reportAccount?: IFinancialProjectReporter[]; // 上报人(即前端列表的编辑者列)
  37. constructionID?: string; // 关联的建设项目
  38. createdTime: number;
  39. secrecy?: IFinancialProjectSecrecy; // 项目设置保密
  40. [props: string]: any;
  41. delete?: number;
  42. sendReviewTime?: string; // 送审时间
  43. completionTime?: string; // 审结时间
  44. estimateFee?: number; // 手输的概算金额
  45. estimateCode?: string; // 手输的概算编号
  46. /* 为了实现三合一业务审批显示全部业务并且分页的需求 */
  47. members?: string[]; // 项目参与者
  48. collaborators?: string[]; // 项目协审人
  49. monitorPermission?: {
  50. // 审批简报、进度、日志的流程可见性
  51. approvalBrief: IScopeType[];
  52. approvalLog: IScopeType[];
  53. approvalProgress: IScopeType[];
  54. };
  55. deleteTime?: number; // 删除时间
  56. }
  57. // 财审项目信息
  58. export interface IFinancialProjectInfo {
  59. name: string;
  60. shortName: string; // 项目简称
  61. projectType: IFinancialProjectType;
  62. }
  63. // 项目列表
  64. export interface IFinancialProjectListItem extends IFinancialProject {
  65. projectApproval?: IProjectApproval;
  66. }