云员工标识+简历接口

main
lijingyu007 6 months ago
parent f6145f483f
commit 187496a8d8
  1. 66
      pages/personal/personal.vue
  2. 4
      pages/personal/personalresume/personalresume.vue
  3. 4
      utils/http.js

@ -1,6 +1,7 @@
<template>
<view>
<image src="http://image.keyitest.cn/static/index/renliwb/newseticon.png" class="seticon" @click="goSetUp"></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newseticon.png" class="seticon" @click="goSetUp">
</image>
<view class="topbg">
<view style="display: flex;justify-content: space-between;">
<view v-if='phoneuserinfo' style="display: flex;align-items: center">
@ -26,22 +27,35 @@
未认证
</view>
</block>
<block v-else-if="phoneuserinfo.testerStatus == 2 ">
<view class="userapply" @click="goUserApply">
<image src="http://image.keyitest.cn/static/index/renliwb/newqy2.png" mode="">
</image>
<view class="clouduserapplytext">
云员工
</view>
</view>
</block>
<block v-else-if="applyInfo.applyId">
<view class="userapply" @click="goUserApply">
<image src="http://image.keyitest.cn/static/index/renliwb/newqy2.png" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newqy2.png" mode="">
</image>
<view class="userapplytext">
个人
</view>
</view>
</block>
<block v-else-if="applyInfo.companyApplyId">
<view class="companyapply" @click="goCompanyApply">
<image src="http://image.keyitest.cn/static/index/renliwb/newqy1.png" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newqy1.png" mode="">
</image>
<view class="companyapplytext">
企业
</view>
</view>
</block>
<!-- <u-tag :text="testerStatustext" plan type="info" shape='circle' color='#FEFEFE'
bg-color='#1A81F9' border-color='transparent' @click="nextcert" /> -->
</view>
@ -64,25 +78,29 @@
</view>
<view class="cycontentgrid">
<view class="cycontentit" @click="servier('myper')">
<image src="http://image.keyitest.cn/static/index/renliwb/newmy1.png" class="cycontentitimg" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy1.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
钱包
</view>
</view>
<view class="cycontentit" @click="servier('bcrowd')">
<image src="http://image.keyitest.cn/static/index/renliwb/newmy2.png" class="cycontentitimg" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy2.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
我的众包
</view>
</view>
<view class="cycontentit" @click="servier('myreview')">
<image src="http://image.keyitest.cn/static/index/renliwb/newmy3.png" class="cycontentitimg" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy3.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
我的评价
</view>
</view>
<view class="cycontentit" @click="servier('message')">
<image src="http://image.keyitest.cn/static/index/renliwb/newmy4.png" class="cycontentitimg" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy4.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
消息中心
</view>
@ -99,13 +117,15 @@
</view>
<view class="cycontentgrid">
<view class="cycontentit" @click="orders">
<image src="http://image.keyitest.cn/static/index/renliwb/newmy5.png" class="cycontentitimg" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy5.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
我的订单
</view>
</view>
<view class="cycontentit" @click="servier('peixunban')" v-if="signuplistLength != 0">
<image src="http://image.keyitest.cn/static/index/renliwb/newmy6.png" class="cycontentitimg" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy6.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
报名管理
</view>
@ -115,19 +135,22 @@
<view class="cycontentitcompanyws" v-if="applyInfo.companyDesc && applyInfo.companyDesc == '无'">
待完善
</view>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy7.png" class="cycontentitimg" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy7.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
企业简介
</view>
</view>
<view v-else class="cycontentit" @click="servier('notes')">
<image src="http://image.keyitest.cn/static/index/renliwb/newmy7.png" class="cycontentitimg" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy7.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
个人简历
</view>
</view>
<view class="cycontentit" @click="servier('usepeople')" v-if="useListLength != 0">
<image src="http://image.keyitest.cn/static/index/renliwb/newmy8.png" class="cycontentitimg" mode=""></image>
<image src="http://image.keyitest.cn/static/index/renliwb/newmy8.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
用人记录
</view>
@ -178,7 +201,7 @@
console.log('实名认证信息---', res)
if (res.data.code == 200) {
this.applyInfo = res.data.data
if (res.data.data.companyStatus == 1 && this.phoneuserinfo.companyStatus != 2) {
this.phoneuserinfo.companyStatus = 2
uni.setStorageSync('wxUserInfo', this.phoneuserinfo)
@ -188,7 +211,7 @@
}
})
this.getNum()
} else {
this.phoneuserinfo = null
this.signuplistLength = 0
@ -196,7 +219,7 @@
}
},
onLoad() {
},
methods: {
//
@ -408,10 +431,23 @@
font-size: 22rpx;
color: #FEFEFE;
}
.clouduserapplytext {
width: 86rpx;
height: 32rpx;
background: linear-gradient(90deg, #FC6C6C, #3873FA);
border-radius: 16rpx;
line-height: 32rpx;
text-align: center;
font-weight: 500;
font-size: 22rpx;
color: #FEFEFE;
}
}
.companyapply {
display: flex;

@ -179,8 +179,8 @@
}
},
onShow() {
this.http.quickGet(`/personal/resume`, true).then(res => {
const phoneuserinfo = uni.getStorageSync('wxUserInfo');
this.http.quickGet(`/personal/resume/${phoneuserinfo.userId}`, true).then(res => {
//
this.projectlist = res.data.experience.filter(it => it.type == 0)
this.worklist = res.data.experience.filter(it => it.type == 1)

@ -1,9 +1,9 @@
import comstemutil from "./comstemutil";
//es6
const baseUrl = 'http://192.168.0.229:9999';
// const baseUrl = 'http://192.168.0.229:9999';
// const baseUrl = 'http://172.16.36.180:9999';
// const baseUrl = 'https://www.keyitest.cn/test-api';
const baseUrl = 'https://www.keyitest.cn/test-api';
// const baseUrl = 'https://www.keyitest.cn/prod-api';
// const devUrl = 'http://cloud-gateway:9999';
const devStatus = false;

Loading…
Cancel
Save