提交 5040bad8 authored 作者: matian's avatar matian

updates

上级 3c6b8eb2
<script setup lang="ts"> <script setup lang="ts">
import { positionType, adultStatusMap } from '../map' import { positionType, adultStatusMap, highGraduation } from '../map'
import { getPositionList, getPositionStatus } from '../api' import { getPositionList, getPositionStatus } from '../api'
const router = useRouter() const router = useRouter()
...@@ -25,13 +25,7 @@ const listOptions = { ...@@ -25,13 +25,7 @@ const listOptions = {
type: 'select', type: 'select',
prop: 'education', prop: 'education',
placeholder: '学历要求', placeholder: '学历要求',
options: [ options: highGraduation,
{ label: '高中或以下', value: 1 },
{ label: '大专', value: 2 },
{ label: '本科', value: 3 },
{ label: '硕士研究生', value: 4 },
{ label: '博士', value: 5 }
],
align: 'center' align: 'center'
}, },
{ type: 'input', prop: 'work_locations', placeholder: '工作地点' }, { type: 'input', prop: 'work_locations', placeholder: '工作地点' },
...@@ -70,7 +64,14 @@ const listOptions = { ...@@ -70,7 +64,14 @@ const listOptions = {
align: 'center' align: 'center'
}, },
{ label: '地点', prop: 'work_locations', align: 'center' }, { label: '地点', prop: 'work_locations', align: 'center' },
{ label: '学历要求', prop: 'education', align: 'center' }, {
label: '学历要求',
prop: 'education',
align: 'center',
computed(row: any) {
return highGraduation.filter(item => item.value === row.row.education)[0]?.label
}
},
{ {
label: '薪酬范围', label: '薪酬范围',
prop: 'salary', prop: 'salary',
......
...@@ -71,7 +71,7 @@ onMounted(() => { ...@@ -71,7 +71,7 @@ onMounted(() => {
<div class="dataList"> <div class="dataList">
<a target="_blank" :href="item.url || item" v-for="(item, index) in detailList.documents" :key="index"> <a target="_blank" :href="item.url || item" v-for="(item, index) in detailList.documents" :key="index">
<div class="item"> <div class="item">
<el-icon><Picture /></el-icon> <el-icon style="font-size: 30px"><Picture /></el-icon>
<p class="doc">{{ item.name || '' }}</p> <p class="doc">{{ item.name || '' }}</p>
<p class="p1">预览</p> <p class="p1">预览</p>
</div> </div>
...@@ -123,7 +123,6 @@ onMounted(() => { ...@@ -123,7 +123,6 @@ onMounted(() => {
font-weight: 400; font-weight: 400;
color: #2b2b2b; color: #2b2b2b;
margin-top: 14px; margin-top: 14px;
margin-left: 30px;
} }
.p1 { .p1 {
font-size: 16px; font-size: 16px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论