Jelajahi Sumber

职位管理:招聘会职位新增、编辑添加标识

Xiao_123 2 minggu lalu
induk
melakukan
5bf2979d6b

+ 3 - 3
src/router/modules/components/recruit/enterprise.js

@@ -174,7 +174,7 @@ const enterprise = [
             path: '/recruit/enterprise/jobFair/details/:id/edit',
             show: true,
             meta: {
-              title: '职位编辑',
+              title: '招聘会职位编辑',
               enName: 'Job Fair Edit'
             },
             component: () => import('@/views/recruit/enterprise/jobFair/editJob/index.vue')
@@ -234,7 +234,7 @@ const enterprise = [
         path: '/recruit/enterprise/hirePosition/add',
         show: true,
         meta: {
-          title: '新增职位'
+          title: '新增赏金职位'
         },
         component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
       },
@@ -242,7 +242,7 @@ const enterprise = [
         path: '/recruit/enterprise/hirePosition/edit',
         show: true,
         meta: {
-          title: '职位编辑'
+          title: '赏金职位编辑'
         },
         component: () => import('@/views/recruit/enterprise/hirePosition/components/add.vue')
       }

+ 11 - 0
src/views/recruit/enterprise/positionManagement/components/baseInfo.vue

@@ -15,6 +15,9 @@
         </v-menu>
         <v-btn v-if="showTemplateBtn" class="ml-3 half-button" color="primary" style="margin-top: 2px;" @click="useJobTemplate(item)">职位模板</v-btn>
       </template>
+      <template #jobFairSign>
+        <svg-icon name="jobFair" size="40"></svg-icon>
+      </template>
     </CtForm>
 
     <CtDialog :visible="showDialog" :widthType="1" titleClass="text-h6" :footer="false" title="重复职位列表" @close="showDialog = false">
@@ -122,10 +125,18 @@ const items = ref({
       readonly: true,
       rules: [v => !!v || '请选择职位类型']
     },
+    // 招聘会职位展示标识
+    {
+      slotName: 'jobFairSign',
+      hide: !props.isFair,
+      col: 1,
+      noParam: true
+    },
     {
       type: 'text',
       key: 'name',
       value: '',
+      col: props.isFair ? 11 : 12,
       label: '职位名称 *',
       blur: handleValidName, // 效验职位名称是否重复
       rules: [v => !!v || '请填写职位名称']