matter.ts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import { BusinessTypeKey, MatterTypeKey } from './subjectUnit';
  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. }
  14. export interface IGatherMatter extends IMatter {
  15. businessID: string;
  16. }
  17. export interface IStepMatter {
  18. ID: string;
  19. gatherID: string;
  20. businessType: BusinessTypeKey;
  21. stepID: string;
  22. matterID: string;
  23. formPermission: string[];
  24. zjPermission: string[];
  25. profilePermission: string[];
  26. }
  27. export interface IGatherStepMatter extends IStepMatter {
  28. businessID: string;
  29. }
  30. export interface IYsProfileTemplate {
  31. ID: string;
  32. parentID: string;
  33. gatherID: string;
  34. businessType: BusinessTypeKey;
  35. name: string;
  36. sort: string;
  37. enable: boolean;
  38. required: boolean;
  39. folder: boolean;
  40. mode: string[];
  41. }
  42. export interface IGatherYsProfileTemplate extends IYsProfileTemplate {
  43. businessID: string;
  44. }