云员工标识+简历接口

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> <template>
<view> <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 class="topbg">
<view style="display: flex;justify-content: space-between;"> <view style="display: flex;justify-content: space-between;">
<view v-if='phoneuserinfo' style="display: flex;align-items: center"> <view v-if='phoneuserinfo' style="display: flex;align-items: center">
@ -26,22 +27,35 @@
未认证 未认证
</view> </view>
</block> </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"> <block v-else-if="applyInfo.applyId">
<view class="userapply" @click="goUserApply"> <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 class="userapplytext">
个人 个人
</view> </view>
</view> </view>
</block> </block>
<block v-else-if="applyInfo.companyApplyId"> <block v-else-if="applyInfo.companyApplyId">
<view class="companyapply" @click="goCompanyApply"> <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 class="companyapplytext">
企业 企业
</view> </view>
</view> </view>
</block> </block>
<!-- <u-tag :text="testerStatustext" plan type="info" shape='circle' color='#FEFEFE' <!-- <u-tag :text="testerStatustext" plan type="info" shape='circle' color='#FEFEFE'
bg-color='#1A81F9' border-color='transparent' @click="nextcert" /> --> bg-color='#1A81F9' border-color='transparent' @click="nextcert" /> -->
</view> </view>
@ -64,25 +78,29 @@
</view> </view>
<view class="cycontentgrid"> <view class="cycontentgrid">
<view class="cycontentit" @click="servier('myper')"> <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 class="cycontentittext">
钱包 钱包
</view> </view>
</view> </view>
<view class="cycontentit" @click="servier('bcrowd')"> <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 class="cycontentittext">
我的众包 我的众包
</view> </view>
</view> </view>
<view class="cycontentit" @click="servier('myreview')"> <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 class="cycontentittext">
我的评价 我的评价
</view> </view>
</view> </view>
<view class="cycontentit" @click="servier('message')"> <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 class="cycontentittext">
消息中心 消息中心
</view> </view>
@ -99,13 +117,15 @@
</view> </view>
<view class="cycontentgrid"> <view class="cycontentgrid">
<view class="cycontentit" @click="orders"> <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 class="cycontentittext">
我的订单 我的订单
</view> </view>
</view> </view>
<view class="cycontentit" @click="servier('peixunban')" v-if="signuplistLength != 0"> <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 class="cycontentittext">
报名管理 报名管理
</view> </view>
@ -115,19 +135,22 @@
<view class="cycontentitcompanyws" v-if="applyInfo.companyDesc && applyInfo.companyDesc == '无'"> <view class="cycontentitcompanyws" v-if="applyInfo.companyDesc && applyInfo.companyDesc == '无'">
待完善 待完善
</view> </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 class="cycontentittext">
企业简介 企业简介
</view> </view>
</view> </view>
<view v-else class="cycontentit" @click="servier('notes')"> <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 class="cycontentittext">
个人简历 个人简历
</view> </view>
</view> </view>
<view class="cycontentit" @click="servier('usepeople')" v-if="useListLength != 0"> <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 class="cycontentittext">
用人记录 用人记录
</view> </view>
@ -178,7 +201,7 @@
console.log('实名认证信息---', res) console.log('实名认证信息---', res)
if (res.data.code == 200) { if (res.data.code == 200) {
this.applyInfo = res.data.data this.applyInfo = res.data.data
if (res.data.data.companyStatus == 1 && this.phoneuserinfo.companyStatus != 2) { if (res.data.data.companyStatus == 1 && this.phoneuserinfo.companyStatus != 2) {
this.phoneuserinfo.companyStatus = 2 this.phoneuserinfo.companyStatus = 2
uni.setStorageSync('wxUserInfo', this.phoneuserinfo) uni.setStorageSync('wxUserInfo', this.phoneuserinfo)
@ -188,7 +211,7 @@
} }
}) })
this.getNum() this.getNum()
} else { } else {
this.phoneuserinfo = null this.phoneuserinfo = null
this.signuplistLength = 0 this.signuplistLength = 0
@ -196,7 +219,7 @@
} }
}, },
onLoad() { onLoad() {
}, },
methods: { methods: {
// //
@ -408,10 +431,23 @@
font-size: 22rpx; font-size: 22rpx;
color: #FEFEFE; 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 { .companyapply {
display: flex; display: flex;

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

@ -1,9 +1,9 @@
import comstemutil from "./comstemutil"; import comstemutil from "./comstemutil";
//es6 //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 = '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 baseUrl = 'https://www.keyitest.cn/prod-api';
// const devUrl = 'http://cloud-gateway:9999'; // const devUrl = 'http://cloud-gateway:9999';
const devStatus = false; const devStatus = false;

Loading…
Cancel
Save