Xiao_123 10 hónapja
szülő
commit
27dec8e605

+ 3 - 4
src/views/recruit/personal/remuse/components/educationExp.vue

@@ -41,7 +41,7 @@
           <span class="color6 font15">{{ getText(item.educationSystemType, dictItemsObj.educationSystemType) }}</span>
         </div>
         <div class="level3">
-          <span class="color6 font15">在校经历:{{ item.content }}</span>
+          <span class="color6 font15">在校经历:{{ item.content || '暂无描述' }}</span>
         </div>
       </div>
     </div>
@@ -186,9 +186,8 @@ const formItems = ref({
       rows: 5,
       resize: true,
       counter: 1600,
-      label: '在校经历 *',
-      outlined: true,
-      rules: [v => !!v || '请输入在校经历']
+      label: '在校经历',
+      outlined: true
     },
   ]
 })

+ 3 - 3
src/views/recruit/personal/remuse/components/jobIntention.vue

@@ -116,7 +116,7 @@ const items = ref({
     {
       slotName: 'industryIdList',
       key: 'industryIdList',
-      value: '不限',
+      value: '',
       outlined: true,
       label: '期望行业 *',
       col: 6,
@@ -195,7 +195,7 @@ const handleJobClickItem = (list, name) => {
 // 行业类型
 let currentSelect = reactive([])
 const handleIndustry = (list, arr) => {
-  if (!list.length) return setValue('industryIdList', '不限')
+  if (!list.length) return setValue('industryIdList', '')
   query.industryIdList = list
   currentSelect = arr
   const str = arr.map(e => e.nameCn).join('、')
@@ -211,7 +211,7 @@ const handleArea = (list, name) => {
 
 const resetForm = () => {
   items.value.options.forEach(e => {
-    if (e.key === 'industryIdList') e.value = '不限'
+    if (e.key === 'industryIdList') e.value = ''
     else e.value = null
   })
   editId.value = null

+ 2 - 6
src/views/recruit/personal/remuse/components/trainingExperience.vue

@@ -34,7 +34,7 @@
           </div>
           <div>
             <span class="label-title">培训描述:</span>
-            <span class="label-title">{{ k.content }}</span>
+            <span class="label-title">{{ k.content || '暂无描述' }}</span>
           </div>
         </div>
       </div>
@@ -106,15 +106,11 @@ const items = ref({
       type: 'textarea',
       key: 'content',
       value: '',
-      label: '培训描述 *',
+      label: '培训描述',
       rows: 5,
       resize: true,
       counter: 2000,
       rules: [
-        value => {
-          if (value) return true
-          return '请输入培训描述'
-        },
         value => {
           if (value?.length <= 200) return true
           return '请输入2-200个字符'