userInfo.d.ts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /** =========================
  2. * userinfo 接口返回结构
  3. * ========================= */
  4. export interface UserInfoResponse {
  5. sumCount: number
  6. completedCount: number
  7. taskProgress: number
  8. roles: number[]
  9. userInfo: UserInfoItem[]
  10. }
  11. export interface UserInfoItem {
  12. deptName: string
  13. deptId: string
  14. managementFlag: boolean
  15. management: string
  16. userId: string
  17. userType: string
  18. userNewFlag: boolean
  19. phone: string
  20. realname: string
  21. avatar: string | null
  22. idCardNumber: string
  23. unpaid: number
  24. paid: number
  25. roles: number[]
  26. subjectTypeAndChannel: Record<string, number>
  27. subjectLocationList: string[]
  28. subjectLocationEid: Record<string, boolean>
  29. certList: CertItem[]
  30. signedAgreement: string[]
  31. reSignedAgreement: number
  32. taxHelperAgreementSignature: number
  33. ageLimit: boolean
  34. ageReminder: boolean
  35. ageReminderInfo: string | null
  36. subList: string[]
  37. hasTaskTypeTemplate: string[]
  38. certStatus: string | null
  39. rljCertStatus: string | null
  40. certRemark: string | null
  41. certToken: string
  42. waitApprove: string
  43. onTheWay: string
  44. jumpFlag: string
  45. latestChangePwdTime: string
  46. packageList: PackageItem[]
  47. csm: CsmInfo
  48. faceAuthStatus: boolean
  49. temp1: string | null
  50. temp2: string | null
  51. temp3: string | null
  52. temp4: string | null
  53. temp5: string | null
  54. bankName?: string | null
  55. bankPhone?: string | null
  56. bankCardNumber?: string | null
  57. }
  58. export interface CertItem {
  59. id: number
  60. userId: number
  61. deptId: number
  62. gigType: string
  63. gigChannel: string
  64. subjectLocation: string
  65. callbackStatus: string | null
  66. certStatus: string | null
  67. certStatusDisplay: string | null
  68. certRemark: string | null
  69. commonCertStatus: string | null
  70. commonCertStatusName: string | null
  71. userType: string | null
  72. bankPhone: string | null
  73. bankCardNumber: string | null
  74. idCardFrontUrl: string | null
  75. idCardBackUrl: string | null
  76. certVideo1Url: string | null
  77. certVideo2Url: string | null
  78. agreementUrl: string | null
  79. createTime: string
  80. updateTime: string
  81. createUser: number
  82. needContinue: boolean | null
  83. updateUser: number
  84. }
  85. export interface PackageItem {
  86. value: string
  87. label: string
  88. }
  89. export interface CsmInfo {
  90. recId: number
  91. deptId: number
  92. qrCodeId: string
  93. corpId: string
  94. csmName: string
  95. userId: number
  96. }