招聘网页
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

data.ts 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. export const steps = [
  2. {
  3. title: '基本信息',
  4. content: 'First-content',
  5. },
  6. {
  7. title: '应聘要求',
  8. content: 'Second-content',
  9. },
  10. {
  11. title: '联系方式',
  12. content: 'Last-content',
  13. },
  14. ];
  15. export let dataForm = {
  16. urgent: 2,
  17. department_id: 0,
  18. name: '',
  19. invite_count: '',
  20. job_type: [],
  21. job_location: [],
  22. describe_text: '',
  23. pay_range: 0,
  24. useful_life: 0,
  25. disabled_date: '',
  26. key_word: '',
  27. fulltime: 2,
  28. parttime: 2,
  29. casual: 2,
  30. practical: 2,
  31. campus: 2,
  32. shisu: 0,
  33. holidays: 0,
  34. experience: 0,
  35. school_degree: 0,
  36. degree_better: 0,
  37. profelevel: 0,
  38. certification: 0,
  39. language: 0,
  40. language_degree: 0,
  41. sex: 3,
  42. age_min: 0,
  43. age_max: 0,
  44. marital_status: 3,
  45. major: '',
  46. license: [],
  47. household_province: 0,
  48. household_city: 0,
  49. location_province: 0,
  50. location_city: 0,
  51. location_town: 0,
  52. contact: '',
  53. possession: '',
  54. phone: '',
  55. phone_public: 2,
  56. mobile: '',
  57. mobile_public: 2,
  58. email: '',
  59. email_public: 2,
  60. fax: '',
  61. fax_public: 2,
  62. other_address: '',
  63. interview_address: '',
  64. longitude: 0,
  65. latitude: 0,
  66. }
  67. export let otherDataForm = {
  68. department_name: null,
  69. describe_content: '',
  70. daoqi_date: '',
  71. job_nature: '',
  72. pay_range_cascader: '',
  73. shisu_select: '',
  74. holidays_select: '',
  75. company_jiguan_cascader: [],
  76. company_suozaidi_cascader: [],
  77. }
  78. export const reset = () => {
  79. dataForm = {
  80. urgent: 2,
  81. department_id: 0,
  82. name: '',
  83. invite_count: '',
  84. job_type: [],
  85. job_location: [],
  86. describe_text: '',
  87. pay_range: 0,
  88. useful_life: 0,
  89. disabled_date: '',
  90. key_word: '',
  91. fulltime: 2,
  92. parttime: 2,
  93. casual: 2,
  94. practical: 2,
  95. campus: 2,
  96. shisu: 0,
  97. holidays: 0,
  98. experience: 0,
  99. school_degree: 0,
  100. degree_better: 0,
  101. profelevel: 0,
  102. certification: 0,
  103. language: 0,
  104. language_degree: 0,
  105. sex: 3,
  106. age_min: 0,
  107. age_max: 0,
  108. marital_status: 3,
  109. major: '',
  110. license: [],
  111. household_province: 0,
  112. household_city: 0,
  113. location_province: 0,
  114. location_city: 0,
  115. location_town: 0,
  116. contact: '',
  117. possession: '',
  118. phone: '',
  119. phone_public: 2,
  120. mobile: '',
  121. mobile_public: 2,
  122. email: '',
  123. email_public: 2,
  124. fax: '',
  125. fax_public: 2,
  126. other_address: '',
  127. interview_address: '',
  128. longitude: 0,
  129. latitude: 0,
  130. }
  131. otherDataForm = {
  132. department_name: null,
  133. describe_content: '',
  134. daoqi_date: '',
  135. job_nature: '',
  136. pay_range_cascader: '',
  137. shisu_select: '',
  138. holidays_select: '',
  139. company_jiguan_cascader: [],
  140. company_suozaidi_cascader: [],
  141. }
  142. return { dataForm, otherDataForm }
  143. }