招聘网页
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.

index.vue 8.1KB

1 anno fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. <template>
  2. <a-form :model="createForm" :label-col="{span: 4}" labelAlign="right">
  3. <a-row gutter="20">
  4. <a-col span="12">
  5. <a-row>
  6. <a-col span="24">
  7. <a-form-item label="关键字" name="full_name">
  8. <a-input v-model:value="value" placeholder="Basic usage" />
  9. </a-form-item>
  10. </a-col>
  11. <a-col span="24">
  12. <a-form-item label="关键词匹配" name="registration_number">
  13. <a-checkbox-group>
  14. <a-checkbox>求职意向</a-checkbox>
  15. <a-checkbox>工作经历</a-checkbox>
  16. <a-checkbox>教育经历</a-checkbox>
  17. <a-checkbox>技能专长</a-checkbox>
  18. </a-checkbox-group>
  19. </a-form-item>
  20. </a-col>
  21. <a-col span="24">
  22. <a-form-item label="应聘职位" name="mandarin">
  23. <!-- <a-c-cascader :dict="2009" @saveCascader="compantJiguanSave" placeholder="请选择籍贯"
  24. :cascader_content="addOtherForm.company_jiguan_cascader"></a-c-cascader> -->
  25. </a-form-item>
  26. </a-col>
  27. <a-col span="24">
  28. <a-form-item label="期望地区" name="mandarin">
  29. <!-- <a-c-cascader :dict="2009" @saveCascader="compantJiguanSave" placeholder="请选择籍贯"
  30. :cascader_content="addOtherForm.company_jiguan_cascader"></a-c-cascader> -->
  31. </a-form-item>
  32. </a-col>
  33. <a-col span="24">
  34. <a-form-item label="户口所在地" name="mandarin">
  35. <!-- <a-c-cascader :dict="2009" @saveCascader="compantSuozaidiSave" placeholder="请选择所在地"
  36. :cascader_content="addOtherForm.company_suozaidi_cascader"></a-c-cascader> -->
  37. </a-form-item>
  38. </a-col>
  39. <a-col span="24">
  40. <a-form-item label="学历">
  41. <!-- <a-c-select :dict="2006" placeholder="请选择学历" @saveSelect="saveSchoolDegree"></a-c-select> -->
  42. </a-form-item>
  43. </a-col>
  44. <a-col span="24">
  45. <a-form-item label="含最高学历" name="degree_better">
  46. <a-radio-group v-model:value="createForm.degree_better" button-style="solid">
  47. <a-radio-button :value="1">是</a-radio-button>
  48. <a-radio-button :value="2">否</a-radio-button>
  49. </a-radio-group>
  50. </a-form-item>
  51. </a-col>
  52. <a-col span="24">
  53. <a-form-item required label="英语">
  54. <!-- <a-c-select :dict="2014" placeholder="请选择职称要求" @saveSelect="saveProfelevel"></a-c-select> -->
  55. </a-form-item>
  56. </a-col>
  57. <a-col span="24">
  58. <a-form-item required label="国语">
  59. <!-- <a-c-select :dict="2014" placeholder="请选择职称要求" @saveSelect="saveProfelevel"></a-c-select> -->
  60. </a-form-item>
  61. </a-col>
  62. <a-col span="24">
  63. <a-form-item required label="粤语">
  64. <!-- <a-c-select :dict="2014" placeholder="请选择职称要求" @saveSelect="saveProfelevel"></a-c-select> -->
  65. </a-form-item>
  66. </a-col>
  67. <a-col span="24">
  68. <a-form-item required label="第二外语">
  69. <!-- <a-c-select :dict="2014" placeholder="请选择职称要求" @saveSelect="saveProfelevel"></a-c-select> -->
  70. </a-form-item>
  71. </a-col>
  72. <a-col span="24">
  73. <a-form-item required label="计算机能力">
  74. <!-- <a-c-select :dict="2014" placeholder="请选择职称要求" @saveSelect="saveProfelevel"></a-c-select> -->
  75. </a-form-item>
  76. </a-col>
  77. <a-col span="24">
  78. <a-form-item required label="工作经验">
  79. <!-- <a-c-select :dict="2021" placeholder="请选择工作经验" @saveSelect="saveExperience"></a-c-select> -->
  80. </a-form-item>
  81. </a-col>
  82. <a-col span="24">
  83. <a-form-item label="性别" name="sex">
  84. <a-radio-group v-model:value="createForm.sex" button-style="solid">
  85. <a-radio-button :value="1">男</a-radio-button>
  86. <a-radio-button :value="2">女</a-radio-button>
  87. <a-radio-button :value="3">不限</a-radio-button>
  88. </a-radio-group>
  89. </a-form-item>
  90. </a-col>
  91. <a-col span="24">
  92. <a-form-item label="最小年龄" name="age_min">
  93. <a-input-number :min="0" type="number" v-model:value="createForm.age_min"
  94. placeholder="请输入最小年龄" style="width: 100%;" />
  95. </a-form-item>
  96. </a-col>
  97. <a-col span="24">
  98. <a-form-item label="最大年龄" name="age_max">
  99. <a-input-number :min="0" type="number" v-model:value="createForm.age_max"
  100. placeholder="请输入最大年龄" style="width: 100%;" />
  101. </a-form-item>
  102. </a-col>
  103. <a-col span="24">
  104. <a-form-item required label="简历更新" name="marital_status">
  105. </a-form-item>
  106. </a-col>
  107. <a-col span="24">
  108. <a-form-item required label="简历编号" name="major">
  109. <a-input v-model:value="createForm.major" placeholder="请输入专业" />
  110. </a-form-item>
  111. </a-col>
  112. </a-row>
  113. </a-col>
  114. </a-row>
  115. </a-form>
  116. <a-button block>保存</a-button>
  117. </template>
  118. <script setup lang="ts">
  119. import { ref, onMounted, computed, defineProps, watch, defineEmits } from 'vue';
  120. // import dayjs from 'dayjs';
  121. // import 'dayjs/locale/zh-cn';
  122. // dayjs.locale('zh-cn');
  123. // const dayjsRef = ref(dayjs);
  124. let createForm : companyListType.addrFormType = ref({
  125. full_name: '',
  126. registration_number: '',
  127. establishment_date: '',
  128. contact: '',
  129. phone: '',
  130. mobile: '',
  131. email: '',
  132. fax: '',
  133. website: '',
  134. province: 0,
  135. city: 0,
  136. district: 0,
  137. street: 0,
  138. address: '',
  139. industry: 0,
  140. nature: 0,
  141. scale: 0,
  142. introduction: '',
  143. photo: '',
  144. photo_status: 1,
  145. license_path: '',
  146. license_status: 1,
  147. login_name: '',
  148. login_pwd: '',
  149. company_photos: [],
  150. })
  151. let addOtherForm = ref<companyListType.addOtherFormType>({
  152. chengli_date: '',
  153. content: '',
  154. photo_img: '',
  155. license_img: '',
  156. company_photo_img: '',
  157. company_address_cascader: '',
  158. company_industry_cascader: '',
  159. company_nature_cascader: '',
  160. company_scale_cascader: '',
  161. })
  162. onMounted(async () => {
  163. // let res = await listSection({ page: 1, pagesize: 10, sort: 'id', sortby: "asc", keyword: "" });
  164. // section_list.value = res.data.sections;
  165. })
  166. // 上传图片
  167. // 企业照片
  168. // const uploadPhotoSuccess = (data : Object) => {
  169. // addOtherForm.value.photo_img = "http://114.132.245.7:242494" + data
  170. // createForm.value.photo = data
  171. // }
  172. // // 营业执照
  173. // const uploadLicenseSuccess = (data : Object) => {
  174. // addOtherForm.value.license_img = "http://114.132.245.7:242494" + data
  175. // createForm.value.license_path = data
  176. // }
  177. // // 企业相册
  178. // const uploadSuccess = (data : Object) => {
  179. // addOtherForm.value.company_photo_img = "http://114.132.245.7:242494" + data
  180. // createForm.value.company_photos.push({ photo: data })
  181. // }
  182. // // 成立日期
  183. // const establishmentDateChange = (val) => {
  184. // createForm.value.establishment_date = dayjsRef.value(val).format('YYYY-MM-DD');
  185. // }
  186. // // 选择地址
  187. // const compantAddressSave = (data) => {
  188. // createForm.value.province = data.arr1[0] ? data.arr1[0] : 0;
  189. // createForm.value.city = data.arr1[1] ? data.arr1[1] : 0;
  190. // createForm.value.district = data.arr1[2] ? data.arr1[2] : 0;
  191. // createForm.value.street = data.arr1[3] ? data.arr1[3] : 0;
  192. // }
  193. // // 所属行业 industrySave
  194. // const industrySave = (data) => {
  195. // createForm.value.industry = data.arr1[1] ? data.arr1[1] : 0;
  196. // }
  197. // // 企业性质
  198. // const natureSave = (data) => {
  199. // createForm.value.nature = data.arr1[1] ? data.arr1[1] : 0;
  200. // }
  201. // // 企业规模
  202. // const scaleSave = (data) => {
  203. // createForm.value.scale = data.val ? data.val : 0;
  204. // }
  205. // // 富文本
  206. // const onEditorUpdate = (data) => {
  207. // createForm.value.introduction = data
  208. // }
  209. // const sumbitForm = () => {
  210. // console.log(createForm.value)
  211. // if (createForm.value.full_name) {
  212. // if (!createForm.value.id) {
  213. // addCompany(createForm.value).then(res => {
  214. // message.success('新增企业成功');
  215. // hideModal();
  216. // resetForm();
  217. // emit('successAdd');
  218. // }).catch(err => {
  219. // })
  220. // } else {
  221. // PostCompanyEdit(createForm.value).then(res => {
  222. // message.success('修改企业信息成功');
  223. // hideModal();
  224. // resetForm();
  225. // emit('successAdd');
  226. // }).catch(err => {
  227. // })
  228. // }
  229. // } else {
  230. // message.warning('请补充完整信息');
  231. // }
  232. // }
  233. </script>
  234. <style>
  235. </style>
  236. <style>
  237. </style>