Browse Source

feat: 岗位详情显示工种名称

zhangying 11 tháng trước cách đây
mục cha
commit
d85e9bc7d9

+ 4 - 0
h5app/src/views/pages/company/detail.vue

@@ -151,6 +151,10 @@
             <ion-label>岗位名称</ion-label>
             <ion-text>{{ curCompanyPostInfo.professionName }}</ion-text>
           </div>
+          <div class="form-detail">
+            <ion-label>工种名称</ion-label>
+            <ion-text>{{ curCompanyPostInfo.workCategoryName }}</ion-text>
+          </div>
           <div class="form-detail">
             <ion-label>招聘数量(人)</ion-label>
             <ion-text>{{ curCompanyPostInfo.recruitCount }}</ion-text>

+ 4 - 0
h5app/src/views/pages/post/detail.vue

@@ -19,6 +19,10 @@
           <ion-label>岗位名称</ion-label>
           <ion-text>{{ dataModel.professionName }}</ion-text>
         </div>
+        <div class="form-detail">
+          <ion-label>工种名称</ion-label>
+          <ion-text>{{ dataModel.workCategoryName }}</ion-text>
+        </div>
         <div class="form-detail">
           <ion-label>招聘人数</ion-label>
           <ion-text>{{ dataModel.recruitCount }}</ion-text>

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

@@ -4,6 +4,7 @@
     <a-descriptions bordered>
       <a-descriptions-item label="企业名称">{{ postInfo.companyName }}</a-descriptions-item>
       <a-descriptions-item label="岗位名称">{{ postInfo.professionName }}</a-descriptions-item>
+      <a-descriptions-item label="工种名称">{{ postInfo.workCategoryName }}</a-descriptions-item>
       <a-descriptions-item label="招聘人数">{{ postInfo.recruitCount }}</a-descriptions-item>
       <a-descriptions-item label="招聘日期">
         {{ postInfo.startTime ? dayjs(postInfo.startTime).format('YYYY-MM-DD') : '' }}
@@ -59,6 +60,7 @@ import {get} from "@/api/common";
 const postInfo = reactive({
   companyName: "",
   professionName: "",
+  workCategoryName: "",
   recruitCount: "",
   startTime: "",
   endTime: "",