Selaa lähdekoodia

Merge branch 'dev' of https://git.citupro.com/zhengnaiwen_citu/menduner into dev

lifanagju_citu 9 kuukautta sitten
vanhempi
commit
3a21a481a3

+ 38 - 29
src/views/recruit/enterprise/positionManagement/components/baseInfo.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <CtForm ref="formPageRef" :items="items" style="width: 650px;">
-      <template #explain>
+      <!-- <template #explain>
         <div class="d-flex align-center font-size-13">
           <div style="color: var(--v-error-base); cursor: pointer; text-decoration: underline;" @click="handleViewRule">
             <v-icon size="20" color="error">mdi-help-circle-outline</v-icon>
@@ -11,21 +11,30 @@
             众聘岗位分配比例:推荐人占比{{ ratio.recommendRate }}%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 平台占比{{ ratio.headhuntRate }}%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 投递人占比{{ ratio.cvRate }}%
           </div>
         </div>
-      </template>
+      </template> -->
       <template #numericalValue>
         <div class="font-size-14 color-error my-1">
+          <div class="d-flex align-center font-size-13">
+          <div style="color: var(--v-error-base); cursor: pointer; text-decoration: underline;" @click="handleViewRule">
+            <v-icon size="20" color="error">mdi-help-circle-outline</v-icon>
+            众聘岗位规则说明;
+          </div>
+          <div class=" ml-5" style="color: var(--v-error-base);">
+            众聘岗位分配比例:推荐人占比{{ ratio.recommendRate }}%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 平台占比{{ ratio.headhuntRate }}%&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 投递人占比{{ ratio.cvRate }}%
+          </div>
+        </div>
           <div class="d-flex">
             按众聘岗位分配比例计算后的赏金: 
             <span class="calculation ml-3">推荐人{{ calculation('hirePrice', 1) }}元</span>
             <span class="calculation">平台{{ calculation('hirePrice', 0) }}元</span>
             <span class="calculation">投递人{{ calculation('hirePrice', 2) }}元</span>
           </div>
-          <div class="d-flex">
+          <!-- <div class="d-flex">
             按众聘岗位分配比例计算后的积分: 
             <span class="calculation ml-3">推荐人{{ calculation('hirePoint', 1) }}点</span>
             <span class="calculation">平台{{ calculation('hirePoint', 0) }}点</span>
             <span class="calculation">投递人{{ calculation('hirePoint', 2) }}点</span>
-          </div>
+          </div> -->
         </div>
       </template>
       <template #positionId="{ item }">
@@ -88,7 +97,7 @@ const handleChangePublic = (val) => {
       e.hide = false
       return
     }
-    if (e.slotName === 'explain') e.hide = val ? false : true
+    // if (e.slotName === 'explain') e.hide = val ? false : true
   })
 }
 
@@ -111,39 +120,39 @@ const items = ref({
       ],
       change: val => handleChangePublic(val)
     },
-    {
-      slotName: 'explain',
-      noParam: true,
-      value: null,
-      disabled: false,
-      hide: true,
-      flexStyle: 'mb-3'
-    },
+    // {
+    //   slotName: 'explain',
+    //   noParam: true,
+    //   value: null,
+    //   disabled: false,
+    //   hide: true,
+    //   flexStyle: 'mb-3'
+    // },
     {
       type: 'number',
       key: 'hirePrice',
       value: null,
-      label: '众聘赏金',
+      label: '请填写众聘赏金',
       suffix: '元',
       hide: true,
       show: true,
       disabled: false,
       hideDetails: true,
-      col: 6,
-      flexStyle: 'mr-3'
-    },
-    {
-      type: 'number',
-      key: 'hirePoint',
-      value: null,
-      label: '众聘奖励积分数',
-      suffix: '点',
-      hide: true,
-      col: 6,
-      disabled: false,
-      hideDetails: true,
-      show: false
+      // col: 6,
+      // flexStyle: 'mr-3'
     },
+    // {
+    //   type: 'number',
+    //   key: 'hirePoint',
+    //   value: null,
+    //   label: '众聘奖励积分数',
+    //   suffix: '点',
+    //   hide: true,
+    //   col: 6,
+    //   disabled: false,
+    //   hideDetails: true,
+    //   show: false
+    // },
     {
       slotName: 'numericalValue',
       noParam: true,
@@ -274,7 +283,7 @@ const getQuery = async () => {
   })
   // 不是众聘岗位的默认给0
   if (!obj.hire) {
-    obj.hirePoint = 0
+    // obj.hirePoint = 0
     obj.hirePrice = 0
   }
   query = Object.assign(query, obj)