profile.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. 'use strict';
  2. /**
  3. * 个人信息通用 相关常量
  4. *
  5. * @author ELlisran
  6. * @date 2024/03/26
  7. * @version
  8. */
  9. // 执业注册
  10. const cert_reg = [
  11. { name: '一级注册建筑师', value: 1, sort: 1 },
  12. { name: '二级注册建筑师', value: 2, sort: 2 },
  13. { name: '一级注册结构工程师', value: 3, sort: 3 },
  14. { name: '二级注册结构工程师', value: 4, sort: 4 },
  15. { name: '注册监理工程师', value: 5, sort: 5 },
  16. { name: '一级注册造价工程师', value: 6, sort: 6 },
  17. { name: '二级注册造价工程师', value: 7, sort: 7 },
  18. { name: '一级注册建造师', value: 8, sort: 8 },
  19. { name: '二级注册建造师', value: 9, sort: 9 },
  20. { name: '注册土木工程师', value: 10, sort: 10 },
  21. { name: '注册安全工程师', value: 11, sort: 11 },
  22. { name: '注册咨询工程师', value: 12, sort: 12 },
  23. { name: '注册结构工程师', value: 13, sort: 13 },
  24. ];
  25. // 执业资格
  26. const cert_qual = [
  27. { name: '监理工程师', value: 1, sort: 1 },
  28. { name: '造价工程师', value: 2, sort: 2 },
  29. { name: '建造师', value: 3, sort: 3 },
  30. ];
  31. const post_cert_const = ['reg', 'qual', 'code', 'reg_unit', 'job_title', 'file_name', 'file_path', 'edu_json'];
  32. const cert_const = {
  33. reg: 'registration',
  34. qual: 'qualification',
  35. code: 'code',
  36. reg_unit: 'reg_unit',
  37. job_title: 'job_title',
  38. file_name: 'file_name',
  39. file_path: 'file_path',
  40. edu_json: 'edu_json',
  41. };
  42. const edu_json = {
  43. id: null,
  44. date: null,
  45. unit: null,
  46. file_path: null,
  47. file_name: null,
  48. };
  49. const cert = {
  50. certReg: cert_reg,
  51. certQual: cert_qual,
  52. postCertConst: post_cert_const,
  53. certConst: cert_const,
  54. eduJsonConst: edu_json,
  55. };
  56. module.exports = {
  57. cert,
  58. };