flat: 暂存

This commit is contained in:
Apcallover
2025-12-07 12:56:02 +08:00
parent 2a5681f8e0
commit d01f153c6a
6 changed files with 261 additions and 246 deletions

View File

@@ -285,7 +285,9 @@ function deg2rad(deg) {
} }
function vacanciesTo(vacancies) { function vacanciesTo(vacancies) {
if (vacancies >= 0) { if (vacancies === null) {
return '-人'
} else if (vacancies >= 0) {
return vacancies + "人" return vacancies + "人"
} else { } else {
return '不限人数' return '不限人数'

View File

@@ -1,6 +1,6 @@
export default { export default {
baseUrl: 'https://fw.rc.qingdao.gov.cn/rgpp-api/api', // 内网 // baseUrl: 'https://fw.rc.qingdao.gov.cn/rgpp-api/api', // 内网
// baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试 baseUrl: 'https://qd.zhaopinzao8dian.com/api', // 测试
// baseUrl: 'http://192.168.3.29:8081', // baseUrl: 'http://192.168.3.29:8081',
// baseUrl: 'http://10.213.6.207:19010/api', // baseUrl: 'http://10.213.6.207:19010/api',
// 语音转文字 // 语音转文字

View File

@@ -80,7 +80,7 @@
"locale": "zh-Hans", "locale": "zh-Hans",
"h5": { "h5": {
"router": { "router": {
"base": "/app/", "base": "./",
"mode": "hash" "mode": "hash"
}, },
"title": "青岛智慧就业服务", "title": "青岛智慧就业服务",

View File

@@ -42,7 +42,7 @@
</view> </view>
<view class="subName"> <view class="subName">
<dict-Label class="mar_ri10" dictType="sex" :value="userInfo.sex"></dict-Label> <dict-Label class="mar_ri10" dictType="sex" :value="userInfo.sex"></dict-Label>
<text class="mar_ri10">{{ userInfo.age }}</text> <text class="mar_ri10">{{ userInfo.age || '-' }}</text>
<dict-Label class="mar_ri10" dictType="education" :value="userInfo.education"></dict-Label> <dict-Label class="mar_ri10" dictType="education" :value="userInfo.education"></dict-Label>
<dict-Label <dict-Label
class="mar_ri10" class="mar_ri10"
@@ -50,7 +50,7 @@
:value="userInfo.politicalAffiliation" :value="userInfo.politicalAffiliation"
></dict-Label> ></dict-Label>
</view> </view>
<view class="subName">{{ userInfo.phone }}</view> <view class="subName">{{ userInfo.phone || '未知手机号' }}</view>
</view> </view>
<view class="tops-right"> <view class="tops-right">
<view class="right-imghead"> <view class="right-imghead">

View File

@@ -15,11 +15,11 @@
<image v-else src="@/static/icon/girl.png"></image> <image v-else src="@/static/icon/girl.png"></image>
</view> </view>
<view class="info-right"> <view class="info-right">
<view class="name">{{ userInfo.name || "编辑用户名" }}</view> <view class="name">{{ userInfo.name || '编辑用户名' }}</view>
<view class="des"> <view class="des">
<dict-Label class="mar_ri10" dictType="sex" :value="userInfo.sex"></dict-Label> <dict-Label class="mar_ri10" dictType="sex" :value="userInfo.sex"></dict-Label>
<text class="mar_ri10">|</text> <text class="mar_ri10">|</text>
<text class="mar_ri10">{{ userInfo.age }}</text> <text class="mar_ri10">{{ userInfo.age || '-' }}</text>
<text class="mar_ri10">|</text> <text class="mar_ri10">|</text>
<dict-Label class="mar_ri10" dictType="education" :value="userInfo.education"></dict-Label> <dict-Label class="mar_ri10" dictType="education" :value="userInfo.education"></dict-Label>
<!-- <text class="mar_ri10">|</text> <!-- <text class="mar_ri10">|</text>
@@ -27,23 +27,28 @@
</view> </view>
<view class="phone"> <view class="phone">
<image class="call-icon" src="@/static/icon/call.png" /> <image class="call-icon" src="@/static/icon/call.png" />
<view>{{ userInfo.phone }}</view> <view>{{ userInfo.phone || '未知手机号' }}</view>
</view> </view>
</view> </view>
</view> </view>
<view class="info-bottom"> <view class="info-bottom">
<!-- <view>到岗2025-11-02</view> --> <!-- <view>到岗2025-11-02</view> -->
<view></view> <view></view>
<view>地点青岛市-<dict-Label dictType="area" :value="Number(userInfo.area)"></dict-Label></view> <view>
地点青岛市-
<dict-Label dictType="area" :value="Number(userInfo.area)"></dict-Label>
</view>
</view> </view>
<view class="des-card" style="margin-top: 24rpx"> <view class="des-card" style="margin-top: 24rpx">
<view class="fl_box fl_justbet"> <view class="fl_box fl_justbet">
<view style="white-space: nowrap">求职意向岗位</view> <view style="white-space: nowrap">求职意向岗位</view>
<view class="line_1" style="padding-left:40rpx" >{{ userInfo.jobIntention || userInfo.jobTitle?.join(',') || '-' }}</view> <view class="line_1" style="padding-left: 40rpx">
{{ userInfo.jobIntention || userInfo.jobTitle?.join(',') || '--' }}
</view>
</view> </view>
<view class="fl_box fl_justbet"> <view class="fl_box fl_justbet">
<view>毕业学校</view> <view>毕业学校</view>
<view>{{ userInfo.graduationSchool || "-" }}</view> <view>{{ userInfo.graduationSchool || '--' }}</view>
</view> </view>
<!-- <view class="fl_box fl_justbet"> <!-- <view class="fl_box fl_justbet">
<view>当前状态</view> <view>当前状态</view>
@@ -71,7 +76,9 @@
<view class="text">关键经历</view> <view class="text">关键经历</view>
</view> </view>
<view class="exp-box"> <view class="exp-box">
<view class="exp-item" v-for="(item, index) in userInfo?.workExp" :key="item.id">{{ index + 1 + "." }}{{ item.duty }}</view> <view class="exp-item" v-for="(item, index) in userInfo?.workExp" :key="item.id">
{{ index + 1 + '.' }}{{ item.duty }}
</view>
</view> </view>
<view v-if="!userInfo?.workExp?.length" class="empty-box"> <view v-if="!userInfo?.workExp?.length" class="empty-box">
<image class="img" src="@/static/icon/empty.png" mode="widthFix"></image> <image class="img" src="@/static/icon/empty.png" mode="widthFix"></image>
@@ -85,7 +92,9 @@
</view> </view>
<ul class="certificate-box"> <ul class="certificate-box">
<li class="certificate-item" v-for="(item, index) in userInfo?.certificateList" :key="item.id">{{ item.name }}</li> <li class="certificate-item" v-for="(item, index) in userInfo?.certificateList" :key="item.id">
{{ item.name }}
</li>
</ul> </ul>
<view v-if="!userInfo?.certificateList?.length" class="empty-box"> <view v-if="!userInfo?.certificateList?.length" class="empty-box">
<image class="img" src="@/static/icon/empty.png" mode="widthFix"></image> <image class="img" src="@/static/icon/empty.png" mode="widthFix"></image>
@@ -97,12 +106,12 @@
</template> </template>
<script setup> <script setup>
import { reactive, inject, watch, ref, onMounted, computed } from "vue"; import { reactive, inject, watch, ref, onMounted, computed } from 'vue';
const { $api, navTo, navBack } = inject("globalFunction"); const { $api, navTo, navBack } = inject('globalFunction');
import { onLoad, onShow } from "@dcloudio/uni-app"; import { onLoad, onShow } from '@dcloudio/uni-app';
import { storeToRefs } from "pinia"; import { storeToRefs } from 'pinia';
import useUserStore from "@/stores/useUserStore"; import useUserStore from '@/stores/useUserStore';
import useDictStore from "@/stores/useDictStore"; import useDictStore from '@/stores/useDictStore';
const { userInfo } = storeToRefs(useUserStore()); const { userInfo } = storeToRefs(useUserStore());
const { getUserResume } = useUserStore(); const { getUserResume } = useUserStore();
const { getDictData, oneDictData } = useDictStore(); const { getDictData, oneDictData } = useDictStore();
@@ -194,6 +203,9 @@ image {
align-items: center; align-items: center;
padding: 24rpx; padding: 24rpx;
.avatar { .avatar {
background: #e8e8e8;
border-radius: 50%;
overflow: hidden;
width: 160rpx; width: 160rpx;
height: 160rpx; height: 160rpx;
margin-right: 24rpx; margin-right: 24rpx;

View File

@@ -280,6 +280,7 @@ function chooseFileUploadTest(pam) {}
overflow: hidden overflow: hidden
border-radius: 50% border-radius: 50%
margin-right: 22rpx; margin-right: 22rpx;
background: #e8e8e8;
.userindo-head-img .userindo-head-img
width: 100%; width: 100%;
height: 100%; height: 100%;