index.ts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. declare interface Window {
  2. init: any
  3. BMapGL: any
  4. }
  5. interface Feature {
  6. img: string
  7. title: string
  8. subtitle: string
  9. href: string
  10. }
  11. interface Page<T> {
  12. records: T[];
  13. total: number;
  14. size: number;
  15. current: number;
  16. }
  17. interface RecruitmentInfo {
  18. id: string;
  19. jobOpenings: string; // 职位名称
  20. keyTerms: string; // 关键词
  21. jobRequirements: string; // 职位要求
  22. numberRecruits: number; // 招聘人数 (改为数字类型)
  23. salary: string; // 薪资
  24. workLocation: string; // 工作地点
  25. contact: string; // 联系人
  26. contactInformation: string; // 联系方式
  27. remarks: string; // 备注
  28. createBy: string | null; // 创建人
  29. createTime: string; // 创建时间 (ISO 8601 格式)
  30. updateBy: string | null; // 更新人
  31. updateTime: string; // 更新时间 (ISO 8601 格式)
  32. }
  33. interface HonorInfo {
  34. /**
  35. * 荣誉资质ID
  36. */
  37. id?: string;
  38. /**
  39. * 证书类型
  40. */
  41. certificateType?: string;
  42. /**
  43. * 文件列表
  44. */
  45. fileList?: { id: string; url: string; }[];
  46. }
  47. /**
  48. * 首页基础信息
  49. */
  50. interface BasicInfo {
  51. /**
  52. * 主键
  53. */
  54. id?: string;
  55. /**
  56. * 公司简介
  57. */
  58. companyProfile?: string;
  59. /**
  60. * 公司简介2
  61. */
  62. companyProfileTwo?: string;
  63. /**
  64. * 公司简介图片地址
  65. */
  66. companyProfileUrl?: string;
  67. /**
  68. * 软件简介
  69. */
  70. softwareIntroduction?: string;
  71. /**
  72. * 硬件简介
  73. */
  74. hardwareIntroduction?: string;
  75. /**
  76. * 电话
  77. */
  78. telephone?: string;
  79. /**
  80. * 服务热线
  81. */
  82. serviceHotline?: string;
  83. /**
  84. * 咨询热线
  85. */
  86. consultationHotline?: string;
  87. /**
  88. * 邮箱
  89. */
  90. email?: string;
  91. /**
  92. * 地址
  93. */
  94. address?: string;
  95. /**
  96. * 二维码图片地址
  97. */
  98. qrCodeUrl?: string;
  99. }
  100. interface NewsUpdates {
  101. /**
  102. * 主键
  103. */
  104. id?: string;
  105. /**
  106. * 新闻名称
  107. */
  108. newsName?: string;
  109. /**
  110. * 新闻详情
  111. */
  112. newsDetails?: string;
  113. /**
  114. * 新闻图片地址
  115. */
  116. newsUrl: string;
  117. /**
  118. * 发布时间
  119. */
  120. releaseTime?: string;
  121. /**
  122. * 是否为特别新闻
  123. */
  124. isSpecial?: boolean;
  125. }
  126. interface Solution {
  127. /**
  128. * 主键
  129. */
  130. id?: string;
  131. /**
  132. * 方案名称
  133. */
  134. programName?: string;
  135. /**
  136. * 发布时间
  137. */
  138. releaseTime?: string;
  139. /**
  140. * 方案详情
  141. */
  142. programDetails?: string;
  143. /**
  144. * 方案图片地址
  145. */
  146. productUrl?: string;
  147. /**
  148. * 创建人
  149. */
  150. createBy?: string;
  151. /**
  152. * 创建时间
  153. */
  154. createTime?: string;
  155. /**
  156. * 修改人
  157. */
  158. updateBy?: string;
  159. /**
  160. * 修改时间
  161. */
  162. updateTime?: string;
  163. }
  164. // 产品详细信息接口
  165. interface ProductItem {
  166. // 产品唯一标识符
  167. productId: string;
  168. // 产品名称
  169. productName: string;
  170. // 产品分类
  171. productCategory: string;
  172. // 产品类型
  173. productType: string;
  174. // 产品图片URL地址
  175. productUrl: string | null;
  176. // 产品介绍
  177. productIntroduction: string;
  178. // 产品型号
  179. productModel: string;
  180. }
  181. // 产品类型接口
  182. interface ProductType {
  183. // 产品类型名称
  184. productTypeName: string;
  185. // 该类型下的产品列表
  186. productCenters: ProductItem[];
  187. }
  188. // 产品分类接口
  189. interface ProductCategory {
  190. // 产品分类名称
  191. productCategoryName: string;
  192. // 该分类下的产品类型列表
  193. productTypes: ProductType[];
  194. }
  195. interface ProductCenter {
  196. // 主键
  197. productScene: any;
  198. id?: string;
  199. // 产品分类
  200. productCategory?: string;
  201. // 产品类型
  202. productType?: string;
  203. // 产品名称
  204. productName?: string;
  205. // 产品详情
  206. productDetails?: string;
  207. // 产品图片地址
  208. productUrl?: string;
  209. // 创建人
  210. createBy?: string;
  211. // 修改人
  212. updateBy?: string;
  213. // 产品介绍
  214. productIntroduction?: string;
  215. // 产品型号
  216. productModel?: string;
  217. }
  218. interface LocationInfo {
  219. /** 唯一标识 ID */
  220. id: string;
  221. /** 名称 */
  222. name: string;
  223. /** 手机号 */
  224. phone: string;
  225. /** 经度 */
  226. longitude: number;
  227. /** 纬度 */
  228. latitude: number;
  229. /** 标记内容 */
  230. marker: string;
  231. /** 创建人 */
  232. createBy: string;
  233. /** 创建时间(ISO 格式字符串) */
  234. createTime: string;
  235. /** 更新人 */
  236. updateBy: string;
  237. /** 更新时间(ISO 格式字符串) */
  238. updateTime: string;
  239. }