Преглед изворни кода

在线简历-项目经历隐藏

Xiao_123 пре 7 месеци
родитељ
комит
b907bd0721

+ 14 - 13
src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/basicInfo.vue

@@ -51,7 +51,9 @@ const formItems = ref({
       type: 'text',
       key: 'name',
       value: '',
+      col: 6,
       label: '企业全称 *',
+      flexStyle: 'mr-3',
       slotName: 'name',
       rules: [v => !!v || '请输入企业全称']
     },
@@ -60,7 +62,6 @@ const formItems = ref({
       key: 'anotherName',
       value: '',
       col: 6,
-      flexStyle: 'mr-3',
       label: '企业别名 *',
       rules: [v => !!v || '请输入企业别名']
     },
@@ -69,6 +70,7 @@ const formItems = ref({
       key: 'website',
       value: '',
       col: 6,
+      flexStyle: 'mr-3',
       label: '企业官网'
     },
     {
@@ -76,7 +78,6 @@ const formItems = ref({
       key: 'contact',
       value: '',
       col: 6,
-      flexStyle: 'mr-3',
       label: '联系人'
     },
     {
@@ -84,6 +85,7 @@ const formItems = ref({
       key: 'phone',
       value: '',
       col: 6,
+      flexStyle: 'mr-3',
       label: '联系电话'
     },
     {
@@ -97,7 +99,6 @@ const formItems = ref({
       itemValue: 'value',
       col: 6,
       noParam: true,
-      flexStyle: 'mr-3',
       rules: [v => !!v || '请选择所在行业']
     },
     {
@@ -110,6 +111,7 @@ const formItems = ref({
       itemText: 'label',
       itemValue: 'value',
       col: 6,
+      flexStyle: 'mr-3',
       dictTypeName: 'menduner_financing_status',
       rules: [v => !!v || '请选择融资阶段'],
       items: []
@@ -124,20 +126,19 @@ const formItems = ref({
       itemText: 'label',
       itemValue: 'value',
       col: 6,
-      flexStyle: 'mr-3',
       dictTypeName: 'menduner_scale',
       rules: [v => !!v || '请选择企业规模'],
       items: []
     },
-    {
-      type: 'text',
-      key: 'workTime',
-      value: null,
-      col: 6,
-      class: 'mb-3',
-      label: '上班时间(示例:上午09:00 - 下午17:00)',
-      placeholder: '请输入上班时间'
-    },
+    // {
+    //   type: 'text',
+    //   key: 'workTime',
+    //   value: null,
+    //   col: 6,
+    //   class: 'mb-3',
+    //   label: '上班时间(示例:上午09:00 - 下午17:00)',
+    //   placeholder: '请输入上班时间'
+    // },
     {
       type: 'datePicker',
       key: 'openTime',

+ 3 - 3
src/views/recruit/enterprise/talentPool/components/details.vue

@@ -25,10 +25,10 @@
         <workExperience style="flex: 1;" :data="cvData.workList"></workExperience>
       </div>
       <!-- 项目经历 -->
-      <div class="d-flex mt-8">
+      <!-- <div class="d-flex mt-8">
         <span class="mr-6">{{ $t('resume.projectExperience') }}</span>
         <projectExperience style="flex: 1;" :data="cvData.projectList"></projectExperience>
-      </div>
+      </div> -->
       <!-- 培训经历 -->
       <div class="d-flex mt-8">
         <span class="mr-6">{{ $t('resume.trainingExperience') }}</span>
@@ -62,7 +62,7 @@ import baseInfo from './details/baseInfo.vue'
 import vocationalSkills from './details/vocationalSkills.vue'
 import jobIntention from './details/jobIntention.vue'
 import workExperience from './details/workExperience.vue'
-import projectExperience from './details/projectExperience.vue'
+// import projectExperience from './details/projectExperience.vue'
 import trainingExperience from './details/trainingExperience.vue'
 import educationExp from './details/educationExp.vue'
 // import attachmentResume from './details/attachmentResume.vue'

+ 3 - 3
src/views/recruit/enterprise/talentRecommendation/details.vue

@@ -25,10 +25,10 @@
         <workExperience style="flex: 1;" :data="cvData.workList"></workExperience>
       </div>
       <!-- 项目经历 -->
-      <div class="d-flex mt-8" v-if="cvData?.projectList?.length">
+      <!-- <div class="d-flex mt-8" v-if="cvData?.projectList?.length">
         <span class="mr-6">{{ $t('resume.projectExperience') }}</span>
         <projectExperience style="flex: 1;" :data="cvData.projectList"></projectExperience>
-      </div>
+      </div> -->
       <!-- 培训经历 -->
       <div class="d-flex mt-8" v-if="cvData?.trainList?.length">
         <span class="mr-6">{{ $t('resume.trainingExperience') }}</span>
@@ -49,7 +49,7 @@ import baseInfo from './details/baseInfo.vue'
 import vocationalSkills from '@/views/recruit/enterprise/talentPool/components/details/vocationalSkills.vue'
 import jobIntention from '@/views/recruit/enterprise/talentPool/components/details/jobIntention.vue'
 import workExperience from '@/views/recruit/enterprise/talentPool/components/details/workExperience.vue'
-import projectExperience from '@/views/recruit/enterprise/talentPool/components/details/projectExperience.vue'
+// import projectExperience from '@/views/recruit/enterprise/talentPool/components/details/projectExperience.vue'
 import trainingExperience from '@/views/recruit/enterprise/talentPool/components/details/trainingExperience.vue'
 import educationExp from '@/views/recruit/enterprise/talentPool/components/details/educationExp.vue'
 import { getPersonCvDetail } from '@/api/enterprise'

+ 10 - 10
src/views/recruit/personal/PersonalCenter/resume/online/components/vocationalSkills.vue

@@ -4,17 +4,8 @@
       <div class="resume-title">{{ $t('resume.vocationalSkills') }}</div>
       <v-btn variant="text" color="primary" prepend-icon="mdi-plus-box" @click="handleAdd">{{ $t('common.add') }}</v-btn>
     </div>
-    <div v-if="isEdit" class="edit">
-      <h4 class="label-title my-3 mx-2"> {{ type === 'add' ? $t('common.add') : $t('common.edit') }}{{ $t('resume.vocationalSkills') }}</h4>
-      <CtForm ref="formPageRef" :items="formItems" style="width: 100%;"></CtForm>
-      <div class="text-end">
-        <v-btn class="half-button mr-3" variant="tonal" @click="isEdit = false; type = ''">{{ $t('common.cancel') }}</v-btn>
-        <v-btn color="primary" class="half-button" @click="handleSave">{{ $t('common.save') }}</v-btn>
-      </div>
-    </div>
-    <div v-else-if="!dataList?.length" class="resumeNoDataText">{{ $t('resume.dataDefaultPrompt') }}{{ $t('resume.vocationalSkills') }}...</div>
     <!-- 展示 -->
-    <div v-else>
+    <div>
       <div>
         <v-chip v-for="k in dataList" class="mr-3" :key="k.id">
           <span class="cursor-pointer" @click="handleEdit(k)">{{ getText(k.skillId, skillList, 'nameCn', 'id') }}/{{ getText(k.level, skillLevelArr) }}</span>
@@ -24,6 +15,15 @@
         </v-chip>
       </div>
     </div>
+    <div v-if="isEdit" class="edit mt-3">
+      <h4 class="label-title my-3 mx-2"> {{ type === 'add' ? $t('common.add') : $t('common.edit') }}{{ $t('resume.vocationalSkills') }}</h4>
+      <CtForm ref="formPageRef" :items="formItems" style="width: 100%;"></CtForm>
+      <div class="text-end">
+        <v-btn class="half-button mr-3" variant="tonal" @click="isEdit = false; type = ''">{{ $t('common.cancel') }}</v-btn>
+        <v-btn color="primary" class="half-button" @click="handleSave">{{ $t('common.save') }}</v-btn>
+      </div>
+    </div>
+    <div v-else-if="!dataList?.length" class="resumeNoDataText">{{ $t('resume.dataDefaultPrompt') }}{{ $t('resume.vocationalSkills') }}...</div>
   </div>
 </template>
 

+ 3 - 3
src/views/recruit/personal/PersonalCenter/resume/online/index.vue

@@ -37,20 +37,20 @@ import jobIntention from './components/jobIntention.vue'
 import trainingExperience from './components/trainingExperience.vue'
 import educationExp from './components/educationExp.vue'
 import workExperience from './components/workExperience.vue'
-import projectExperience from './components/projectExperience.vue'
+// import projectExperience from './components/projectExperience.vue'
 import vocationalSkills from './components/vocationalSkills.vue'
 
 const { t } = useI18n()
 const scrollBox = ref()
 const tab = ref(0)
-const paths = [basicInfo, selfEvaluation, jobIntention, educationExp, workExperience, projectExperience, trainingExperience, vocationalSkills]
+const paths = [basicInfo, selfEvaluation, jobIntention, educationExp, workExperience, trainingExperience, vocationalSkills]
 const items = ref([
   { text: t('resume.basicInfo'), id: 'basicInfo', status: false },
   { text: t('resume.personalAdvantages'), id: 'selfEvaluation', status: false },
   { text: t('resume.jobIntention'), id: 'jobIntention', status: false },
   { text: t('resume.educationExp'), id: 'educationExp', status: false },
   { text: t('resume.workExperience'), id: 'workExperience', status: false },
-  { text: t('resume.projectExperience'), id: 'projectExperience', status: false },
+  // { text: t('resume.projectExperience'), id: 'projectExperience', status: false },
   { text: t('resume.trainingExperience'), id: 'trainingExperience', status: false },
   { text: t('resume.vocationalSkills'), id: 'vocationalSkills', status: false }
 ])

+ 3 - 3
src/views/recruit/personal/position/components/details.vue

@@ -127,12 +127,12 @@
       @close="shareDialog = false"
     >
       <div>
-        <div class="mb-3">微信分享:保存图片分享给好友</div>
+        <div class="mb-3 text-center">微信分享:保存图片分享给好友</div>
         <div class="d-flex align-center flex-column">
           <v-img :src="previewSrc" width="200" height="250"></v-img>
           <div class="mt-5">
-            <v-btn color="primary" variant="outlined" prepend-icon="mdi-eye-outline" @click="showPreview = true">预览</v-btn>
-            <v-btn class="ml-3" color="primary" variant="outlined" prepend-icon="mdi-arrow-down-bold-box-outline" @click="handleDownloadImage">保存到本地</v-btn>
+            <v-btn color="primary" variant="outlined" prepend-icon="mdi-eye-outline" @click="showPreview = true" style="width: 133px">预 览</v-btn>
+            <v-btn class="ml-3" color="primary" variant="outlined" prepend-icon="mdi-arrow-down-bold-box-outline" @click="handleDownloadImage" style="width: 133px">保存到本地</v-btn>
           </div>
         </div>
       </div>