projectModel.ts 1005 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'
  2. /**
  3. * @description: Request list interface parameters
  4. */
  5. export type ProjectListParams = BasicPageParams & { search?: string; insideCategoryId?: string }
  6. export interface ProjectListItem {
  7. id: string
  8. code: string
  9. name: string
  10. userId: string
  11. userAccount: string
  12. categoryId: string
  13. category: string
  14. staffId: string
  15. staffName: string
  16. staffQq: string
  17. staffPhone: string
  18. staffTelephone: string
  19. createTime: string
  20. createName: string
  21. createCategory: string
  22. insideCategoryId: string
  23. insideCategory: string
  24. remark: string
  25. status: number
  26. }
  27. export type ProjectDetailParams = {
  28. id: string
  29. name: string
  30. insideCategoryId: string
  31. insideCategory: string
  32. categoryId: string
  33. category: string
  34. staffId: string
  35. staffName: string
  36. remark: string
  37. status: string
  38. }
  39. /**
  40. * @description: Request list return value
  41. */
  42. export type ProjectListGetResultModel = BasicFetchResult<ProjectListItem[]>