Browse Source

fix: 岗位详情添加字段

zhangying 10 months ago
parent
commit
5bf510c282

+ 4 - 3
src/main/resources/mapping/cquery/PostCQuery.xml

@@ -6,15 +6,16 @@
         post.postID,post.workCode,post.workName,post.recruitCount,post.companyID,post.postName,post.recordStatus,post.workNature,post.validDay,
         post.workYear,post.cultureRank,post.postDesc,post.maxSalary,post.minSalary,post.welfare,post.postEmail,post.workTime,post.isTrail,post.trailMonths,
         post.TrailMaxSalary,post.trailMinSalary,post.createUserID,post.createTime,post.modifyUserID,post.modifyTime,post.validTime,post.startTime,post.endTime,
+        post.contactName,post.contactMobile,post.contactEmail,
         post.jobPlace,post.contactName,post.contactMobile,post.contactEmail,post.workNatureID,post.tagID,company.userName,company.userMobile,company.companyEmail,
-        company.CompanyName,company.insuredCount,item.`Name` as cultureLevelName,job_hunt_type.Name as workNatureName,
+        company.CompanyName,company.insuredCount,item.`Name` as cultureLevelName,work_nature.Name as workNatureName,
         post.ProfessionID,pro.ProfessionName,pro.parentProfessionID
         , IFNULL(count(rmgt.RecommendMgtID),0) as recommendNum
         from pc_post post
         left join pc_company company on post.CompanyID = company.CompanyID
         left join sys_dictionary_item item on item.value=post.CultureRank and item.DictionaryCode='CultureLevel'
-        left join sys_dictionary_item job_hunt_type on job_hunt_type.value=post.WorkNatureID and
-        job_hunt_type.DictionaryCode='JobHuntType'
+        left join sys_dictionary_item work_nature on work_nature.value=post.WorkNatureID and
+        work_nature.DictionaryCode='WorkNature'
         left join pc_profession pro on post.ProfessionID = pro.ProfessionID
         left join pc_recommend_mgt rmgt on post.PostID = rmgt.PostID
         <where>

+ 8 - 0
vue/src/views/companyService/post/detail.vue

@@ -11,6 +11,10 @@
         {{ postInfo.endTime ? dayjs(postInfo.endTime).format('YYYY-MM-DD') : '' }}
       </a-descriptions-item>
       <a-descriptions-item :span="3" label="招聘地点">{{ postInfo.jobPlace }}</a-descriptions-item>
+      <a-descriptions-item label="联系人姓名">{{ postInfo.contactName }}</a-descriptions-item>
+      <a-descriptions-item label="联系人电话">{{ postInfo.contactMobile }}</a-descriptions-item>
+      <a-descriptions-item label="联系人邮箱">{{ postInfo.contactEmail }}</a-descriptions-item>
+      <a-descriptions-item label="工作性质">{{ postInfo.workNatureName }}</a-descriptions-item>
     </a-descriptions>
     <a-divider orientation="left">其他信息</a-divider>
     <a-descriptions bordered>
@@ -58,6 +62,10 @@ const postInfo = reactive({
   cultureLevelName: "",
   welfare: "",
   postDesc: "",
+  contactName: "",
+  contactMobile: "",
+  contactEmail: "",
+  workNatureName: ""
 })
 // 工作年限数据
 const WorkYearTypeList = ref<Array<any>>([])

+ 1 - 1
vue/src/views/companyService/post/edit.vue

@@ -335,7 +335,7 @@ export default defineComponent(
         WorkYearTypeList.value = result;
       });
 
-      get('system/dictionary/getDictionaryItemByCodeList', {code: 'JobHuntType'}).then(result => {
+      get('system/dictionary/getDictionaryItemByCodeList', {code: 'WorkNature'}).then(result => {
         jobHuntList.value = result;
       });