Selaa lähdekoodia

融资阶段删除

Xiao_123 6 kuukautta sitten
vanhempi
commit
9029346911

+ 0 - 2
src/components/Enterprise/details.vue

@@ -11,8 +11,6 @@
               <span :style="{'color': statusInfo.color,'font-size': '14px'}">{{ statusInfo.label }}</span> -->
             </div>
             <div class="contact-info">
-              {{ info.financingName }}
-              <span v-if="info.financingName && info.scaleName">·</span> 
               {{ info.scaleName }}
               <span v-if="info.industryName && info.scaleName">·</span> 
               {{ info.industryName }}

+ 0 - 2
src/components/Enterprise/hotPromoted.vue

@@ -10,8 +10,6 @@
           <div class="company-info cursor-pointer">
             <h3>{{ item.enterprise.anotherName }}</h3>
             <p>
-              {{ item?.enterprise.financingName }}
-              <span class="septal-line" v-if="item.enterprise.financingName && item.enterprise.scaleName"></span>
               {{ item?.enterprise.scaleName }}
               <span class="septal-line" v-if="item.enterprise.industryName"></span>
               {{ item?.enterprise.industryName }}

+ 1 - 2
src/components/Enterprise/info.vue

@@ -35,7 +35,6 @@ const props = defineProps({
 })
 
 const list = [
-  { icon: 'mdi-domain', label: 'financingName' },
   { icon: 'mdi-account-multiple', label: 'scaleName' },
   { icon: 'mdi-family-tree', label: 'industryName' }
 ]
@@ -69,7 +68,7 @@ const handleEnterprise = (val) => {
 
 <style lang="scss" scoped>
 .info-box {
-  height: 260px;
+  height: 230px;
   background-color: var(--color-f3);
   border-radius: 8px;
   padding: 20px 15px;

+ 1 - 1
src/components/Position/longCompany.vue

@@ -7,7 +7,7 @@
             <v-img :src="item.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" :alt="item.anotherName" :width="40" style="height: 40px;border-radius: 4px;"/>
           </div>
           <h3 :class="{'default-active': item.active }" class="cursor-pointer" @click="handleClickEnterprise(item, 'briefIntroduction')">{{ item.anotherName }}</h3>
-          <p>{{ item.financingName }}<span v-if="item.financingName && item.industryName" class="mx-2">|</span>{{ item.industryName }}<span v-if="item.scaleName" class="mx-2">|</span>{{ item.scaleName }}</p>
+          <p>{{ item.industryName }}<span v-if="item.scaleName" class="mx-2">|</span>{{ item.scaleName }}</p>
         </div>
         <div v-if="item.active">
           <v-btn class="half-button ml-3" color="primary" size="small" @click.stop="handleCancel(item)">取消收藏</v-btn>

+ 1 - 1
src/components/Position/longStrip.vue

@@ -79,7 +79,7 @@ const props = defineProps({
 
 const router = useRouter()
 
-const desc = ['industryName', 'financingName', 'scaleName']
+const desc = ['industryName', 'scaleName']
 
 const handleCancel = async (item) => {
   if (!item.job.id) return Snackbar.warning(t('sys.api.operationFailed'))

+ 0 - 2
src/components/PositionLongStrip/item.vue

@@ -40,8 +40,6 @@
             </template>
           </v-hover>
           <p class="mt-2">
-            {{ item.enterprise.financingName }}
-            <span class="mx-2" v-if="item.enterprise.financingName && item.enterprise.scaleName">|</span>
             {{ item.enterprise.scaleName }}
             <span class="mx-2" v-if="item.enterprise.scaleName && item.enterprise.industryName">|</span>
             {{ item.enterprise.industryName }}

+ 0 - 2
src/utils/position.js

@@ -12,11 +12,9 @@ const dictObj = reactive({
   area: [], // 地区
   jobStatus: [], // 求职状态
   marital: [], // 婚姻状态
-  financing: [] // 融资阶段
 })
 const dictList = ref([
   { type: 'menduner_pay_unit', value: 'payUnit', key: 'payUnit', label: 'payName' },
-  { type: 'menduner_financing_status', value: 'financing', key: 'financingStatus', label: 'financingName' },
   { type: 'menduner_scale', value: 'scale', key: 'scale', label: 'scaleName' },
   { type: 'menduner_job_seek_status', value: 'jobStatus', key: 'jobStatus', label: 'jobStatusName' },
   { type: 'menduner_marital_status', value: 'marital', key: 'maritalStatus', label: 'maritalStatusName' },

+ 0 - 16
src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/basicInfo.vue

@@ -103,21 +103,6 @@ const formItems = ref({
       noParam: true,
       rules: [v => !!v || '请选择所在行业']
     },
-    {
-      type: 'autocomplete',
-      key: 'financingStatus',
-      value: null,
-      label: '融资阶段',
-      outlined: true,
-      clearable: false,
-      itemText: 'label',
-      itemValue: 'value',
-      col: 6,
-      flexStyle: 'mr-3',
-      dictTypeName: 'menduner_financing_status',
-      // rules: [v => !!v || '请选择融资阶段'],
-      items: []
-    },
     {
       type: 'autocomplete',
       key: 'scale',
@@ -127,7 +112,6 @@ const formItems = ref({
       clearable: false,
       itemText: 'label',
       itemValue: 'value',
-      col: 6,
       dictTypeName: 'menduner_scale',
       rules: [v => !!v || '请选择企业规模'],
       items: []

+ 2 - 50
src/views/recruit/personal/PersonalCenter/components/communication.vue

@@ -52,7 +52,6 @@
 // 沟通过
 defineOptions({ name: 'position-communication' })
 import { ref } from 'vue'
-// import { dealDictArrayData, dealDictObjData } from '@/utils/position'
 import Empty from '@/components/Empty'
 
 const props = defineProps({
@@ -61,56 +60,9 @@ const props = defineProps({
     default: 0
   }
 })
+const list = ref([])
 
-// const items = ref([])
-// const page = ref({
-//   pageNo: 1,
-//   pageSize: 10
-// })
-const list = ref([
-  // {
-  //   contact: {
-  //     name: '肖女士',
-  //     avatars: 'https://cdn.vuetifyjs.com/images/john.jpg',
-  //     postNameCn: '人事经理'
-  //   },
-  //   name: '前端开发工程师',
-  //   areaName: '北京·石景山区·八大处',
-  //   payFrom: 15,
-  //   payTo: 18,
-  //   expName: '3-5年',
-  //   eduName: '本科',
-  //   active: false,
-  //   enterprise: {
-  //     name: '广州辞图科技有限公司',
-  //     industryName: '互联网',
-  //     scaleName: '0-20人',
-  //     financingName: '未融资'
-  //   }
-  // },
-  // {
-  //   contact: {
-  //     name: '肖女士',
-  //     avatars: 'https://cdn.vuetifyjs.com/images/john.jpg',
-  //     postNameCn: '人事经理'
-  //   },
-  //   name: '前端开发工程师',
-  //   areaName: '北京·石景山区·八大处',
-  //   payFrom: 15,
-  //   payTo: 18,
-  //   expName: '3-5年',
-  //   eduName: '本科',
-  //   active: false,
-  //   enterprise: {
-  //     name: '广州辞图科技有限公司',
-  //     industryName: '互联网',
-  //     scaleName: '0-20人',
-  //     financingName: '未融资'
-  //   }
-  // }
-])
-
-const desc = ['industryName', 'financingName', 'scaleName']
+const desc = ['industryName', 'scaleName']
 
 const handleMouseEnter = (val) => {
   if (props.tab !==3 ) val.active = true

+ 0 - 1
src/views/recruit/personal/PersonalCenter/jobFeedback/components/interview/item.vue

@@ -42,7 +42,6 @@
               <span class="mx-2 enterprise-name" @click="handleToEnterprise(val)">{{ val.enterprise.anotherName }}</span>
             [
               <span>{{ val.enterprise.industryName }}</span>
-              <span>&nbsp;·&nbsp;{{ val.enterprise.financingName }}</span>
               <span>&nbsp;·&nbsp;{{ val.enterprise.scaleName }}</span>
             ]
             </div>

+ 1 - 1
src/views/recruit/personal/PersonalCenter/jobFeedback/components/seenMe.vue

@@ -18,7 +18,7 @@
             </div>
             <div class="company-info">
               <h3 :class="{'default-active': item.active }" class="title1 cursor-pointer">{{ item.enterprise.anotherName }}</h3>
-              <p class="mt-2">{{ item.enterprise.financingName }}<span class="mx-2">|</span>{{ item.enterprise.scaleName }}<span class="mx-2">|</span>{{ item.enterprise.industryName }}</p>
+              <p class="mt-2">{{ item.enterprise.scaleName }}<span class="mx-2">|</span>{{ item.enterprise.industryName }}</p>
             </div>
           </div>
         </div>

+ 1 - 5
src/views/recruit/personal/company/components/companyItem.vue

@@ -7,11 +7,7 @@
         </div>
         <div class="company-info">
           <h3 :class="{'default-active': item.active }" style="width: 200px;">{{ item.enterprise.anotherName }}</h3>
-          <p>
-            {{ item.enterprise.financingName }}
-            <span class="septal-line" v-if="item.enterprise.financingName && item.enterprise.industryName"></span>
-            {{ item.enterprise.industryName }}
-          </p>
+          <p>{{ item.enterprise.industryName }}</p>
         </div>
       </div>
       <v-divider class="mx-4"></v-divider>

+ 0 - 70
src/views/recruit/personal/company/components/financingStatus.vue

@@ -1,70 +0,0 @@
-<template>
-  <div class="d-flex">
-    <div class="label-title">融资阶段</div>
-    <div class="label-content">
-      <span 
-        v-for="k in items" 
-        :key="k.value"
-        :class="['label-color', {'actives': k.active}]"
-        @click="handleItemClick(k)"
-      >{{ k.label }}</span>
-    </div>
-  </div>
-</template>
-
-<script setup>
-defineOptions({ name: 'search-financing-status'})
-import { ref, watch } from 'vue'
-import { useRoute } from 'vue-router'
-import { getDict } from '@/hooks/web/useDictionaries'
-
-const emits = defineEmits(['handleClick', 'clear'])
-const props = defineProps({
-  isClear: {
-    type: Boolean,
-    default: false
-  }
-})
-watch(
-  () => props.isClear, 
-  (newVal) => {
-    if (!newVal) return
-    // 清空筛选条件时默认选中不限
-    items.value.map(e => {
-      e.active = false
-      if (e.value === -1) e.active = true
-      return e
-    })
-    emits('clear')
-  }
-)
-
-const route = useRoute()
-const routeQuery = route.query
-
-const items = ref([])
-getDict('menduner_financing_status').then(({ data }) => {
-  data = data?.length && data || []
-  const list = data.map(e => {
-    e.active = false
-    return e
-  })
-  items.value = [{ value: -1, label: '不限', active: true }, ...list]
-  // 刷新回显
-  if (routeQuery.financingStatus) {
-    const obj = items.value.find(e => e.value === routeQuery.financingStatus)
-    items.value.map(e => e.active = false)
-    if (obj) obj.active = true
-  }
-})
-
-const handleItemClick = (k) => {
-  items.value.map(e => e.active = false)
-  k.active = true
-  emits('handleClick', k.value, 'financingStatus')
-}
-</script>
-
-<style scoped lang="scss">
-@import '@/styles/recruit/company.scss';
-</style>

+ 0 - 2
src/views/recruit/personal/company/index.vue

@@ -6,7 +6,6 @@
         <headSearch placeholder="搜索公司关键字" @handleSearch="val => handleSearch(val, 'name')"></headSearch>
         <div class="px-5 mt-3 clear-parent">
           <areaType :isClear="clear" @handleClick="handleSearch"></areaType>
-          <!-- <financingStatus class="my-5" :isClear="clear" @clear="clear = false" @handleClick="handleSearch"></financingStatus> -->
           <scaleType class="mt-5" :isClear="clear" @clear="clear = false" @handleClick="handleSearch"></scaleType>
           <div class="clear" @click="handleClear">清空筛选条件</div>
         </div>
@@ -34,7 +33,6 @@ import { getEnterpriseSearch } from '@/api/enterprise'
 import { dealDictObjData } from '@/utils/position'
 import headSearch from '@/components/headSearch'
 import scaleType from './components/scaleType'
-// import financingStatus from './components/financingStatus.vue'
 import areaType from './components/areaType'
 import companyItem from './components/companyItem'
 import MPagination from '@/components/CtPagination'

+ 1 - 10
src/views/recruit/personal/position/components/dict.js

@@ -82,16 +82,7 @@ const dictList = [
     title: '公司规模',
     path: commonPath,
     toFilterDictDataList: []
-  },
-  {
-    displayDictName: 'menduner_financing_status',
-    key: 'financingStatus',
-    itemKey: 'value',
-    itemText: 'label',
-    title: '融资阶段',
-    path: commonPath,
-    toFilterDictDataList: []
-  },
+  }
 ]
 export const filterList = dictList