Selaa lähdekoodia

洲际集团页面

Xiao_123 7 kuukautta sitten
vanhempi
commit
c0b2c405c3

+ 1 - 1
src/components/Enterprise/details.vue

@@ -47,7 +47,7 @@
           <div class="content-right">
             <div class="welfare mb-3">
               <h4>福利</h4>
-              <div v-if="info?.enterprise?.welfareList.length" class="welfare-tags mt-3">
+              <div v-if="info?.enterprise?.welfareList?.length" class="welfare-tags mt-3">
                 <v-chip size="small" label v-for="(k, i) in info?.enterprise?.welfareList?.slice(0, 6)" :key="i" class="mb-2 welfare-tags-item ellipsis" color="primary">{{ k }}</v-chip>
               </div>
               <div v-else class="color-666 font-size-14 mt-3">暂无</div>

+ 17 - 17
src/components/Enterprise/info.vue

@@ -1,12 +1,12 @@
 <template>
   <div class="info-box">
     <h4 class="mb-3">{{ $t('enterprise.companyInfo') }}</h4>
-    <div style="height: 50px;">
+    <div style="height: 50px; line-height: 50px;">
       <v-img class="float-left" :src="props.info.enterprise.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'" :width="45" height="45"></v-img>
       <div class="ml-3 float-left">
         <p class="enterprise-name cursor-pointer" @click="handleEnterprise(0)">{{ props.info.enterprise.anotherName }}</p>
-        <v-icon :color="statusInfo.color" size="20">{{ statusInfo.mdi }}</v-icon>
-        <span :style="{'color': statusInfo.color,'font-size': '14px'}">{{ statusInfo.label }}</span>
+        <!-- <v-icon :color="statusInfo.color" size="20">{{ statusInfo.mdi }}</v-icon>
+        <span :style="{'color': statusInfo.color,'font-size': '14px'}">{{ statusInfo.label }}</span> -->
       </div>
     </div>
     <div class="mt-3 border-bottom-dashed" style="font-size: 14px;">
@@ -23,9 +23,9 @@
 
 <script setup>
 defineOptions({ name: 'enterprise-info' })
-import { ref, computed } from 'vue'
+import { ref } from 'vue'
 import { dealDictObjData } from '@/utils/position'
-import { getEnterpriseAuthDetails } from '@/api/position'
+// import { getEnterpriseAuthDetails } from '@/api/position'
 
 const props = defineProps({
   info: {
@@ -39,27 +39,27 @@ const list = [
   { icon: 'mdi-account-multiple', label: 'scaleName' },
   { icon: 'mdi-family-tree', label: 'industryName' }
 ]
-const statusList = [
-  { label: '未认证', color: '#fb8c00', value: null, mdi: 'mdi-shield-remove' },
-  { label: '审核中', color: '#fb8c00', value: '0', mdi: 'mdi-shield-half-full' },
-  { label: '已认证', color: 'var(--v-primary-base)', value: '1', mdi: 'mdi-shield-check' },
-  { label: '已驳回', color: '#fe574a', value: '2', mdi: 'mdi-shield-off' }
-]
+// const statusList = [
+//   { label: '未认证', color: '#fb8c00', value: null, mdi: 'mdi-shield-remove' },
+//   { label: '审核中', color: '#fb8c00', value: '0', mdi: 'mdi-shield-half-full' },
+//   { label: '已认证', color: 'var(--v-primary-base)', value: '1', mdi: 'mdi-shield-check' },
+//   { label: '已驳回', color: '#fe574a', value: '2', mdi: 'mdi-shield-off' }
+// ]
 
 const obj = ref({})
-const authInfo = ref({})
+// const authInfo = ref({})
 const getData = async () => {
   const prise = props.info.enterprise
   obj.value = dealDictObjData({}, prise)
   // 企业实名认证信息
-  authInfo.value = await getEnterpriseAuthDetails(props.info.enterprise.id)
+  // authInfo.value = await getEnterpriseAuthDetails(props.info.enterprise.id)
 }
 getData()
 
-const statusInfo = computed(() => {
-  const obj = (authInfo.value && Object.keys(authInfo.value).length) ? statusList.find(e => e.value === authInfo.value.status) : statusList[0]
-  return obj
-})
+// const statusInfo = computed(() => {
+//   const obj = (authInfo.value && Object.keys(authInfo.value).length) ? statusList.find(e => e.value === authInfo.value.status) : statusList[0]
+//   return obj
+// })
 
 const handleEnterprise = (val) => {
   const key = val ? 'recruitmentPositions' : 'briefIntroduction'

+ 1 - 0
src/views/common/loginDialog.vue

@@ -23,6 +23,7 @@ defineOptions({name: 'dialog-login-common-page'})
 import phoneFrom from '@/components/VerificationCode'
 import { useUserStore } from '@/store/user'; const userStore = useUserStore()
 import { nextTick, ref } from 'vue'
+
 const emit = defineEmits(['loginSuccess'])
 
 const props = defineProps({

+ 1 - 1
src/views/recruit/personal/home/components/advertisement/index.vue

@@ -28,7 +28,7 @@ const list = [
 const handleOpen = (index) => {
   // 目前只有洲际有集团展示页面
   if (index !== 1) return
-  const id = 1
+  const id = '582610176201330688'
   window.open(`/recruit/personal/advertisement/introduce/${id}`)
 }
 </script>