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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. company_id: 0,
  17. urgent: 2,
  18. name: '',
  19. department_id: 0,
  20. invite_count: '',
  21. job_type: [],
  22. job_location: [],
  23. describe_text: '',
  24. pay_range: 0,
  25. key_word: '',
  26. useful_life: 1,
  27. disabled_date: '',
  28. fulltime: 2,
  29. parttime: 2,
  30. casual: 2,
  31. practical: 2,
  32. campus: 2,
  33. shisu: 0,
  34. holidays: 0,
  35. experience: 0,
  36. school_degree: 0,
  37. degree_better: 0,
  38. profelevel: 0,
  39. certification: 0,
  40. language: 0,
  41. language_degree: 0,
  42. sex: 3,
  43. age_min: 0,
  44. age_max: 0,
  45. marital_status: 3,
  46. major: '',
  47. license: [],
  48. household_province: 0,
  49. household_city: 0,
  50. location_province: 0,
  51. location_city: 0,
  52. location_town: 0,
  53. contact: '',
  54. possession: '',
  55. phone: '',
  56. phone_public: 2,
  57. mobile: '',
  58. mobile_public: 2,
  59. email: '',
  60. email_public: 2,
  61. fax: '',
  62. fax_public: 2,
  63. other_address: '',
  64. interview_address: '',
  65. status: 2
  66. }
  67. export let otherDataForm = {
  68. describe_content: '',
  69. daoqi_date: '',
  70. company_jiguan_cascader: '',
  71. company_suozaidi_cascader: '',
  72. }
  73. export const reset = () => {
  74. dataForm = {
  75. company_id: 0,
  76. urgent: 2,
  77. name: '',
  78. department_id: 0,
  79. invite_count: '',
  80. job_type: [],
  81. job_location: [],
  82. describe_text: '',
  83. pay_range: 0,
  84. key_word: '',
  85. useful_life: 1,
  86. disabled_date: '',
  87. fulltime: 2,
  88. parttime: 2,
  89. casual: 2,
  90. practical: 2,
  91. campus: 2,
  92. shisu: 0,
  93. holidays: 0,
  94. experience: 0,
  95. school_degree: 0,
  96. degree_better: 0,
  97. profelevel: 0,
  98. certification: 0,
  99. language: 0,
  100. language_degree: 0,
  101. sex: 3,
  102. age_min: 0,
  103. age_max: 0,
  104. marital_status: 3,
  105. major: '',
  106. license: [],
  107. household_province: 0,
  108. household_city: 0,
  109. location_province: 0,
  110. location_city: 0,
  111. location_town: 0,
  112. contact: '',
  113. possession: '',
  114. phone: '',
  115. phone_public: 2,
  116. mobile: '',
  117. mobile_public: 2,
  118. email: '',
  119. email_public: 2,
  120. fax: '',
  121. fax_public: 2,
  122. other_address: '',
  123. interview_address: '',
  124. status: 2
  125. };
  126. otherDataForm = {
  127. describe_content: '',
  128. daoqi_date: '',
  129. company_jiguan_cascader: '',
  130. company_suozaidi_cascader: '',
  131. }
  132. return { dataForm, otherDataForm }
  133. }