|
|
|
@ -17,12 +17,33 @@ |
|
|
|
|
</p> |
|
|
|
|
<p v-else style='margin-bottom:5px;font-size:17px;font-weight:600;'>{{nickName}}</p> |
|
|
|
|
<view style="display: flex;align-items: center;"> |
|
|
|
|
<p v-if='phoneuserinfo.userName' |
|
|
|
|
<!-- <p v-if='phoneuserinfo.userName' |
|
|
|
|
style='color:rgb(0 0 0/0.7);margin-right:10px;font-size:15px;'>UID: |
|
|
|
|
{{phoneuserinfo.userName}} |
|
|
|
|
</p> |
|
|
|
|
<u-tag :text="testerStatustext" plan type="info" shape='circle' color='#FEFEFE' |
|
|
|
|
bg-color='#1A81F9' border-color='transparent' @click="nextcert" /> |
|
|
|
|
</p> --> |
|
|
|
|
<block v-if="!applyInfo.applyId && !applyInfo.companyApplyId"> |
|
|
|
|
<view class="unapply" @click="goApply"> |
|
|
|
|
未认证 |
|
|
|
|
</view> |
|
|
|
|
</block> |
|
|
|
|
<block v-else-if="applyInfo.applyId"> |
|
|
|
|
<view class="userapply" @click="goUserApply"> |
|
|
|
|
<image src="../../static/crowd/PAYB.png" mode=""></image> |
|
|
|
|
<view class="userapplytext"> |
|
|
|
|
个人 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</block> |
|
|
|
|
<block v-else-if="applyInfo.companyApplyId"> |
|
|
|
|
<view class="companyapply" @click="goCompanyApply"> |
|
|
|
|
<image src="../../static/crowd/PAYB.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> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -41,7 +62,7 @@ |
|
|
|
|
<view class="cytitle"> |
|
|
|
|
常用功能 |
|
|
|
|
</view> |
|
|
|
|
<view class="cycontent"> |
|
|
|
|
<view class="cycontentgrid"> |
|
|
|
|
<view class="cycontentit" @click="servier('myper')"> |
|
|
|
|
<image src="../../static/index/zc.png" class="cycontentitimg" mode=""></image> |
|
|
|
|
<view class="cycontentittext"> |
|
|
|
@ -76,26 +97,36 @@ |
|
|
|
|
<view class="cytitle"> |
|
|
|
|
基本功能 |
|
|
|
|
</view> |
|
|
|
|
<view class="cycontent"> |
|
|
|
|
<view class="cycontentgrid"> |
|
|
|
|
<view class="cycontentit" @click="orders"> |
|
|
|
|
<image src="../../static/index/zc.png" class="cycontentitimg" mode=""></image> |
|
|
|
|
<view class="cycontentittext"> |
|
|
|
|
我的订单 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="cycontentit" @click="servier('peixunban')"> |
|
|
|
|
<view class="cycontentit" @click="servier('peixunban')" v-if="signuplistLength != 0"> |
|
|
|
|
<image src="../../static/index/zc.png" class="cycontentitimg" mode=""></image> |
|
|
|
|
<view class="cycontentittext"> |
|
|
|
|
报名管理 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="cycontentit" @click="servier('notes')"> |
|
|
|
|
<view v-if="applyInfo.companyApplyId" class="cycontentit cycontentitcompany" |
|
|
|
|
@click="servier('companynotes')"> |
|
|
|
|
<view class="cycontentitcompanyws" v-if="applyInfo.companyDesc && applyInfo.companyDesc == '无'"> |
|
|
|
|
待完善 |
|
|
|
|
</view> |
|
|
|
|
<image src="../../static/index/zc.png" class="cycontentitimg" mode=""></image> |
|
|
|
|
<view class="cycontentittext"> |
|
|
|
|
企业简介 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view v-else class="cycontentit" @click="servier('notes')"> |
|
|
|
|
<image src="../../static/index/zc.png" class="cycontentitimg" mode=""></image> |
|
|
|
|
<view class="cycontentittext"> |
|
|
|
|
个人简历 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="cycontentit" @click="servier('usepeople')"> |
|
|
|
|
<view class="cycontentit" @click="servier('usepeople')" v-if="useListLength != 0"> |
|
|
|
|
<image src="../../static/index/zc.png" class="cycontentitimg" mode=""></image> |
|
|
|
|
<view class="cycontentittext"> |
|
|
|
|
用人记录 |
|
|
|
@ -107,91 +138,6 @@ |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <view style='width:94vw;margin:10px 3vw 0 3vw;'> |
|
|
|
|
<view class="handle" style='padding:15px 12px 5px 15px; '> |
|
|
|
|
<text style='font-weight:bold;font-size:15px;'>推荐功能</text> |
|
|
|
|
<view class="advance" @click="servier('message')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/my/mmessage.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>消息中心</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="advance" @click="servier('bcrowd')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/my/mbcrowd.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>我的众包</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="advance" @click="servier('authentication')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/my/mauthentication.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>实名认证</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="advance" @click="servier('peixunban')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/index/renliwb/peixunbanlogo.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>我的培训班</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="advance" @click="orders"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/index/renliwb/orderlogo.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>我的订单</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="advance" @click="servier('usepeople')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/index/renliwb/yongrenlogo.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>我的用人需求</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="advance" @click="servier('myreview')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/index/renliwb/reviewlogo.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>我的评价</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="advance" @click="servier('notes')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/my/mnotes.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>个人简历</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="advance" @click="servier('myper')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/my/mmyper.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>我的钱包</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="advance" @click="servier('setmy')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/my/msetmy.png" alt="" /> |
|
|
|
|
<view class="medaget"> |
|
|
|
|
<p>设置</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="advance" @click="servier('pcweb')"> |
|
|
|
|
<img src="http://image.keyitest.cn/static/my/mpcweb.png" alt="" /> |
|
|
|
|
<view class="medaget" style="border-bottom: none;"> |
|
|
|
|
<p>PC网页版</p> |
|
|
|
|
<u-icon name="arrow-right" color="#CCCCCC" style="margin-top: 2px;"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view style="height:15px"> </view> |
|
|
|
@ -216,7 +162,10 @@ |
|
|
|
|
testerStatustext: '', |
|
|
|
|
avatar: '', |
|
|
|
|
nickName: '', |
|
|
|
|
base: this.http.baseUrl |
|
|
|
|
base: this.http.baseUrl, |
|
|
|
|
applyInfo: {}, //用户认证信息 |
|
|
|
|
signuplistLength: 0, //培训班 |
|
|
|
|
useListLength: 0, //用人需求 |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onShow() { |
|
|
|
@ -228,32 +177,62 @@ |
|
|
|
|
this.http.quickGet(`/tester/cert/apply/${this.phoneuserinfo.userId}`, true).then(res => { |
|
|
|
|
console.log('实名认证信息---', res) |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
|
let testerdata = res.data.data; |
|
|
|
|
if (testerdata) { |
|
|
|
|
if (testerdata.status == 1) { |
|
|
|
|
this.testerStatustext = '已认证' |
|
|
|
|
} else { |
|
|
|
|
this.testerStatustext = '未认证' |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
this.testerStatustext = '未认证' |
|
|
|
|
this.applyInfo = res.data.data |
|
|
|
|
|
|
|
|
|
if (res.data.data.companyStatus == 1 && this.phoneuserinfo.companyStatus != 2) { |
|
|
|
|
this.phoneuserinfo.companyStatus = 2 |
|
|
|
|
uni.setStorageSync('wxUserInfo', this.phoneuserinfo) |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
this.testerStatustext = '未认证' |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.getNum() |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
this.phoneuserinfo = null |
|
|
|
|
this.signuplistLength = 0 |
|
|
|
|
this.useListLength = 0 |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onLoad() {}, |
|
|
|
|
methods: { |
|
|
|
|
// 培训班 |
|
|
|
|
async getNum() { |
|
|
|
|
this.http.quickGet(`/train/myTrainingList`, true).then(res => { |
|
|
|
|
this.signuplistLength = res.data.rows.length |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
const id = uni.getStorageSync('wxUserInfo').userId |
|
|
|
|
const { |
|
|
|
|
data |
|
|
|
|
} = await this.http.quickGet(`/labor/my/demand/${id}`, true) |
|
|
|
|
this.useListLength = data.rows.length |
|
|
|
|
}, |
|
|
|
|
// 去认证类型页面 |
|
|
|
|
goApply() { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/personal/setup/applyType' |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
goUserApply() { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/personal/setup/certification' |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
goCompanyApply() { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/personal/setup/companyApply' |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 设置页面 |
|
|
|
|
goSetUp() { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/personal/setup/index' |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 用户信息 |
|
|
|
|
goUserInfo() { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/personal/setup/Information' |
|
|
|
@ -350,6 +329,10 @@ |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/personal/setup/certification' |
|
|
|
|
}) |
|
|
|
|
} else if (type == 'companynotes') { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/personal/setup/companyMsg' |
|
|
|
|
}) |
|
|
|
|
} else if (type == 'notes') { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/personal/personalresume/personalresume' |
|
|
|
@ -389,6 +372,68 @@ |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style lang="scss"> |
|
|
|
|
// 没有认证 |
|
|
|
|
.unapply { |
|
|
|
|
width: 86rpx; |
|
|
|
|
height: 32rpx; |
|
|
|
|
line-height: 32rpx; |
|
|
|
|
background: linear-gradient(90deg, #99A4B3, #77818D); |
|
|
|
|
border-radius: 16rpx; |
|
|
|
|
text-align: center; |
|
|
|
|
font-weight: 500; |
|
|
|
|
font-size: 22rpx; |
|
|
|
|
color: #FEFEFE; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.userapply { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
width: 27rpx; |
|
|
|
|
height: 27rpx; |
|
|
|
|
margin-right: 10rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.userapplytext { |
|
|
|
|
width: 86rpx; |
|
|
|
|
height: 32rpx; |
|
|
|
|
background: linear-gradient(90deg, #5EA6FD, #1A81F9); |
|
|
|
|
border-radius: 16rpx; |
|
|
|
|
line-height: 32rpx; |
|
|
|
|
text-align: center; |
|
|
|
|
font-weight: 500; |
|
|
|
|
font-size: 22rpx; |
|
|
|
|
color: #FEFEFE; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.companyapply { |
|
|
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
|
|
image { |
|
|
|
|
width: 27rpx; |
|
|
|
|
height: 27rpx; |
|
|
|
|
margin-right: 10rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.companyapplytext { |
|
|
|
|
width: 86rpx; |
|
|
|
|
height: 32rpx; |
|
|
|
|
background: linear-gradient(90deg, #F9BD55, #F49C45); |
|
|
|
|
border-radius: 16rpx; |
|
|
|
|
line-height: 32rpx; |
|
|
|
|
text-align: center; |
|
|
|
|
font-weight: 500; |
|
|
|
|
font-size: 22rpx; |
|
|
|
|
color: #FEFEFE; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.seticon { |
|
|
|
|
position: fixed; |
|
|
|
|
top: 93rpx; |
|
|
|
@ -396,6 +441,7 @@ |
|
|
|
|
width: 35rpx; |
|
|
|
|
height: 35rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.changyong { |
|
|
|
|
width: 700rpx; |
|
|
|
|
height: 230rpx; |
|
|
|
@ -405,10 +451,12 @@ |
|
|
|
|
padding: 0 25rpx; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
margin: -120rpx auto 0 auto; |
|
|
|
|
|
|
|
|
|
.cyboxtop { |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.cytitle { |
|
|
|
|
font-weight: bold; |
|
|
|
|
font-size: 30rpx; |
|
|
|
@ -416,13 +464,32 @@ |
|
|
|
|
padding: 30rpx 0 10rpx 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.cycontent { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
padding: 25rpx; |
|
|
|
|
|
|
|
|
|
.cycontentgrid { |
|
|
|
|
padding: 25rpx 0; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
flex: 1; |
|
|
|
|
display: grid; |
|
|
|
|
grid-template-columns: 1fr 1fr 1fr 1fr; |
|
|
|
|
|
|
|
|
|
.cycontentitcompany { |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
.cycontentitcompanyws { |
|
|
|
|
position: absolute; |
|
|
|
|
right: -20rpx; |
|
|
|
|
top: -20rpx; |
|
|
|
|
width: 80rpx; |
|
|
|
|
height: 30rpx; |
|
|
|
|
border-radius: 15rpx; |
|
|
|
|
border: 1px solid #F49D46; |
|
|
|
|
font-weight: 500; |
|
|
|
|
font-size: 20rpx; |
|
|
|
|
color: #F49F46; |
|
|
|
|
line-height: 30rpx; |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.cycontentit { |
|
|
|
|
display: flex; |
|
|
|
@ -447,8 +514,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.changyong1 { |
|
|
|
|
margin: 40rpx auto 0 auto; |
|
|
|
|
margin: 40rpx auto 0 auto; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.topbg { |
|
|
|
|
width: 100vw; |
|
|
|
|
height: 45vw; |
|
|
|
|