Explorar el Código

在线简历-求职意向

Xiao_123 hace 3 meses
padre
commit
9c490c5b2c

+ 0 - 7
src/layout/company/navBar.vue

@@ -171,13 +171,6 @@ getEnterpriseListData()
   padding-left: 0px;
   height: 50px;
   font-size: 15px;
-  .left {
-    height: 100%;
-    display: flex;
-    align-items: center;
-    font-size: 20px;
-    cursor: pointer;
-  }
 }
 .hover:hover {
   cursor: pointer;

+ 4 - 5
src/layout/enterprise.vue

@@ -3,7 +3,7 @@
     <Headers class="headers"></Headers>
     <div class="content d-flex">
       <side class="content-sticky" v-if="!isInWhiteList(route.path)"></side>
-      <div class="content-box d-flex flex-column" :style="`width: ${ !isInWhiteList(route.path) ? 'calc(100vw - 230px)' : '100%'}`">
+      <div class="content-box d-flex flex-column" :style="`width: ${ !isInWhiteList(route.path) ? 'calc(100% - 230px)' : '100%'}`">
         <div v-if="!isInWhiteList(route.path)" class="breadcrumbs_sticky">
           <div class=" d-flex align-center justify-space-between">
             <v-breadcrumbs :items="system.breadcrumbs" elevation="3">
@@ -24,17 +24,15 @@
         </div>
       </div>
     </div>
-    <!-- <Slider class="slider"></Slider> -->
   </div>
 </template>
 
 <script setup>
 defineOptions({ name: 'enterprise-layout-index' })
 import Headers from './company/navBar.vue'
-// import Slider from './company/slider.vue'
 import side from './company/side.vue'
 import { useRouter, useRoute } from 'vue-router'
-import { watch, ref, computed } from 'vue'
+import { watch, computed } from 'vue'
 import { useSystem } from '@/store/system'
 import { useUserStore } from '@/store/user'
 
@@ -112,6 +110,7 @@ const toPath = (item) => {
 $top: 50px;
 .parent {
   background-color: var(--default-bgc);
+  min-width: 1200px;
 }
 .headers {
   position: sticky;
@@ -131,7 +130,7 @@ $top: 50px;
   }
 }
 .full {
-  height: calc(100vh - $top);
+  height: calc(100vh - $top - 25px);
   width: 100%;
   flex: 1;
   position: relative;

+ 1 - 1
src/styles/index.css

@@ -241,7 +241,7 @@
 }
 
 .card-box {
-  width: 100%;
+  min-width: calc(100vw - 272px);
   height: 100%;
   min-height: 70vh;
 }

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
src/styles/index.min.css


+ 2 - 2
src/styles/index.scss

@@ -170,8 +170,8 @@
 }
 
 .card-box {
-  // width: calc(100vw - 272px);
-  width: 100%;
+  min-width: calc(100vw - 272px);
+  // width: 100%;
   height: 100%;
   min-height: 70vh;
 }

+ 1 - 1
src/views/recruit/components/message/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="default-width message" :style="`height: calc(100vh - ${isEnterprise ? '130px' : '50px'});`">
+  <div class="message" :class="{'default-width': !isEnterprise}" :style="`height: calc(100vh - ${isEnterprise ? '130px' : '50px'});`">
     <div class="message-left d-flex flex-column">
       <div class="message-left-search d-flex align-center px-3 justify-space-between" >
         <div>

+ 1 - 1
src/views/recruit/enterprise/newlyAppointed/index.vue

@@ -1,5 +1,5 @@
 <template>
-	<div style="width: calc(100vw - 271px)">
+	<div>
 		<CtFilter :items="formItems" @reset="handleReset" @search="handleSearch" />
 
 		<v-card elevation="5" class="mt-3">

+ 1 - 1
src/views/recruit/enterprise/talentPool/components/details/dict.js

@@ -72,7 +72,7 @@ export const dealJobData = (list) => {
       if (item.isArray) {
         if (e[item.key] && e[item.key].length) {
           const result = e[item.key].map(val => {
-            return obj = dictObj[item.value].find(i => i[item.itemKey] === val)
+            return obj = dictObj[item.value].find(i => Number(i[item.itemKey]) === Number(val))
           })
           e[item.label] = result && result.length ? result.filter(Boolean) : []
         }

+ 5 - 6
src/views/recruit/enterprise/talentPool/components/details/jobIntention.vue

@@ -11,11 +11,13 @@
         <div v-if="!k.payFrom && !k.payTo">面议</div>
         <div v-else>{{k.payFrom ? k.payFrom + '-' : ''}}{{k.payTo}}</div>
         <div class="line">|</div>
-        <div class="grey-text text-box">{{ k.industry?.map(e => e.nameCn).join('、') }}</div>
+        <div class="color-999 text-truncate" style="max-width: 300px;">{{ k.industry?.map(e => e.nameCn).join('、') }}</div>
         <div class="line" v-if="k.industry?.length">|</div>
-        <div class="grey-text">{{ k.jobTypeName }}</div>
+        <div class="color-999">{{ k.jobTypeName }}</div>
         <div class="line" v-if="k.jobTypeName && k.workArea">|</div>
-        <div class="grey-text">{{ k.workArea }}</div>
+        <div class="color-999 text-truncate" style="max-width: 160px;">
+          {{ k.interestedArea && k.interestedArea.length ? k.workArea + ',' + k.interestedArea.map(e => e.name).join(',') : k.workArea }}
+        </div>
       </div>
     </div>
   </div>
@@ -47,9 +49,6 @@ if (props.data?.length) interestList.value = dealJobData(props.data)
   span {
     font-size: 15px;
   }
-  .grey-text {
-    color: var(--color-999);
-  }
   .line {
     color: #e0e0e0;
     margin: 0 10px;

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio