Browse Source

招聘会-参数字段调整

Xiao_123 2 months ago
parent
commit
1321ee2d53

+ 1 - 4
components.d.ts

@@ -32,9 +32,6 @@ declare module 'vue' {
     Echarts: typeof import('./src/components/Echarts/index.vue')['default']
     ElCascader: typeof import('element-plus/es')['ElCascader']
     ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
-    ElIcon: typeof import('element-plus/es')['ElIcon']
-    ElTree: typeof import('element-plus/es')['ElTree']
-    ElUpload: typeof import('element-plus/es')['ElUpload']
     Empty: typeof import('./src/components/Empty/index.vue')['default']
     File: typeof import('./src/components/Upload/file.vue')['default']
     HeadSearch: typeof import('./src/components/headSearch/index.vue')['default']
@@ -47,7 +44,7 @@ declare module 'vue' {
     IndustryTypeCard: typeof import('./src/components/industryTypeCard/index.vue')['default']
     Info: typeof import('./src/components/Enterprise/info.vue')['default']
     InitPay: typeof import('./src/components/personalRecharge/initPay.vue')['default']
-    Item: typeof import('./src/components/Position/item.vue')['default']
+    Item: typeof import('./src/components/PositionLongStrip/item.vue')['default']
     JobTypeCard: typeof import('./src/components/jobTypeCard/index.vue')['default']
     ListGroup: typeof import('./src/components/FormUI/nestedListGroup/components/listGroup.vue')['default']
     Loading: typeof import('./src/components/Loading/index.vue')['default']

+ 3 - 12
src/views/recruit/personal/jobFair/details/components/entCard1.vue

@@ -12,16 +12,9 @@
 							<span>{{ val.scaleName }}</span>
 						</p>
 						<div class="flex-nowrap overflow-hidden pl-3" style="height: 35px;">
-							<template v-if="env === 'production'">
-								<v-chip v-for="(welfare, index) in val.welfareList" :key="index" class="mr-2 mb-4 display-inline-block" color="primary" size="small">
-									{{ welfare }}
-								</v-chip>
-							</template>
-							<template v-else>
-								<v-chip v-for="(job, index) in val.lastJobTop5" :key="index" class="mr-2 mb-4 display-inline-block" variant="flat" color="primary" size="small">
-									{{ formatName(job.name) }}
-								</v-chip>
-							</template>
+							<v-chip v-for="(job, index) in val.lastJobTop5" :key="index" class="mr-2 mb-4 display-inline-block" variant="flat" color="primary" size="small">
+								{{ formatName(job.name) }}
+							</v-chip>
 						</div>
 					</div>
 				</div>
@@ -44,8 +37,6 @@ const props = defineProps({
 	isMobile: Boolean
 })
 
-const env = import.meta.env.VITE_NODE_ENV
-
 const handleClickEnterprise = (id) => {
 	window.open(`/recruit/personal/jobFair/entPosition/${props.jobFairId}?enterpriseId=${id}`)
 }

+ 1 - 2
src/views/recruit/personal/jobFair/details/enterprises.vue

@@ -148,10 +148,9 @@ const getList = async () => {
 	loadingType.value = 1
 
   // 有类别的添加筛选条件
-  const env = import.meta.env.VITE_NODE_ENV
   if (jobFair.value?.tag && jobFair.value?.tag.length) {
     const key = jobFair.value.tag[tab.value].key
-    const value = env === 'production' ? jobFair.value.tag[tab.value].value : jobFair.value.tag[tab.value].content.map(e => e.value)
+    const value = jobFair.value.tag[tab.value].content.map(e => e.value)
     query[key] = value
   }