matter.ts 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import { BusinessTypeKey, MatterTypeKey } from './gather';
  2. // 事项
  3. export interface IMatter {
  4. ID: string;
  5. gatherID: string;
  6. businessType: BusinessTypeKey;
  7. matterType: MatterTypeKey;
  8. parentID: string;
  9. name: string;
  10. sort: string;
  11. formSchema: any;
  12. assembly: string[];
  13. dataID: string;
  14. }
  15. export interface IGatherMatter extends IMatter {
  16. businessID: string;
  17. }
  18. export interface IStepMatter {
  19. ID: string;
  20. gatherID: string;
  21. businessType: BusinessTypeKey;
  22. stepID: string;
  23. matterID: string;
  24. formPermission: string[];
  25. costPermission: string[];
  26. profilePermission: string[];
  27. }
  28. export interface IGatherStepMatter extends IStepMatter {
  29. businessID: string;
  30. }
  31. export interface IYsProfileTemplate {
  32. ID: string;
  33. parentID: string;
  34. gatherID: string;
  35. businessType: BusinessTypeKey;
  36. name: string;
  37. sort: string;
  38. enable: boolean;
  39. required: boolean;
  40. folder: boolean;
  41. mode: string[];
  42. selectMode?: string;
  43. fileNum?: number;
  44. }
  45. export interface IGatherYsProfileTemplate extends IYsProfileTemplate {
  46. businessID: string;
  47. }
  48. export interface IDynamicStep {
  49. ID: string;
  50. gatherID: string;
  51. businessType: BusinessTypeKey;
  52. stepID: string;
  53. nextStepID: string;
  54. executorID: boolean;
  55. }
  56. export interface IGatherDynamicStep extends IDynamicStep {
  57. businessID: string;
  58. }