main
lijingyu007 6 months ago
parent 187496a8d8
commit c3105607e2
  1. 2
      pages/index/index.vue
  2. 12
      pages/index/outsourcing/cloudUserdetail.vue
  3. 4
      pages/index/outsourcing/outsourcing.vue
  4. 102
      pages/index/testcrowdsourc/crowdsourcingdetails.vue
  5. 63
      pages/personal/personal.vue
  6. 2
      pages/personal/personalresume/personalresume.vue
  7. 2
      pages/personal/personalresume/projectexperience.vue
  8. 4
      pages/personal/setup/companyApply.vue

@ -422,7 +422,7 @@
} else {
// uni.showToast({ title: '线', icon: 'none', duration: 1000 });
const userinform = uni.getStorageSync('wxUserInfo');
if (userinform.companyStatus == 2) {
if (userinform && userinform.companyStatus == 2) {
uni.navigateTo({
url: '/pages/index/outsourcing/outsourcing'
})

@ -1,7 +1,8 @@
<template>
<view class="moreCould">
<view class="topbanner">
<image class="topbannerimg" src="http://image.keyitest.cn/static/index/renliwb/cloudbanner3.png" mode=""></image>
<image class="topbannerimg" src="http://image.keyitest.cn/static/index/renliwb/cloudbanner3.png" mode="">
</image>
<view class="topCon">
<view class="topConT">
<div class="topConTL">{{ jonInfo.title }}</div>
@ -64,6 +65,7 @@
<u-modal title='温馨提示' v-model="tokenshow" content="您还没有登录" confirm-text='现在就去' cancel-text='稍等一下'
show-cancel-button='true' cancel-color='#1578ED' confirm-color='#1578ED' @confirm="confirms"
@cancel='tokenshow=false'></u-modal>
</view>
</template>
@ -93,6 +95,7 @@
this.tokenshow = true
} else {
const wxUserInfo = uni.getStorageSync('wxUserInfo');
if (wxUserInfo.testerStatus == 2) {
this.http.quickPost(
`/job/apply/${this.jonInfo.jobId}`, {
userId: wxUserInfo.userId
@ -108,6 +111,13 @@
icon: 'none'
})
})
} else {
uni.showToast({
icon: 'none',
title: '请先入驻为云员工',
})
}
}

@ -17,7 +17,7 @@
</view>
<view class="tabledetails">
<!-- <img class="logobg" src="http://image.keyitest.cn/static/index/renliwb/banner1.png" alt="" /> -->
<img class="logobg" src="http://image.keyitest.cn/static/index/renliwb/rcbanner1.png" alt="" />
<img class="logobg" src="http://image.keyitest.cn/static/index/renliwb/newcloudMore.png" @click="lookMoreFn" alt="" />
<view style="margin-bottom:23rpx;text-align: center;">
<!-- <img class="deyalimg" src="http://image.keyitest.cn/static/outsource/fwgw.png" alt="">
@ -595,7 +595,7 @@
this.http.quickGet(`/tester/cert/apply/${this.wxUserInfo.userId}`, true).then(res => {
if (res.data.code == 200) {
// console.log('res.data', res.data, res.data.data.status)
if (res.data && res.data.data &&res.data.data.status == 1) { //
if (res.data && res.data.data && (res.data.data.status == 1 || res.data.data.companyStatus == 1 )) { //
this.isPopupShow = true
} else {

@ -138,7 +138,7 @@
<view style='display:flex;align-items: center;margin-bottom:15px;'>
<!-- <img style="width:50px;height:50px;margin-right:5px" src="/static/crowd/crowdlogo.png" alt="" /> -->
<img style="width:50px;height:50px;margin-right:5px;border-radius: 50%;" :src="crowddata.task.avatar"
alt="" @click="goCompanyInfo"/>
alt="" @click="goCompanyInfo" />
<view>
<view style="display: flex;margin:5px 0;align-items: center;">
<p style="color:#4D4D4D ; font-size:13px ;font-weight: bold;">{{crowddata.task.company_name}}
@ -156,7 +156,8 @@
<block v-if="crowddata.task.commentsStar && crowddata.task.commentsStar != 0">
<span> 评分</span>
<span style="color: #FA9C22;margin-right: 5rpx;">{{crowddata.task.commentsStar}}</span>
<u-rate :current="crowddata.task.commentsStar" :disabled="true" active-color="#fa9c22" inactive-color="#CDCECE"></u-rate>
<u-rate :current="crowddata.task.commentsStar" :disabled="true" active-color="#fa9c22"
inactive-color="#CDCECE"></u-rate>
</block>
<span v-else>暂无评价</span>
@ -498,41 +499,8 @@
this.http.quickGet(`/tester/cert/apply/${this.userinform.userId}`, true).then(res => {
// console.log('---',res)
if (res.data.code == 200) {
this.testerdata = res.data.data
if (parseInt(this.userinform.userId) == this.crowddata.task.publisher_id) {
uni.showToast({
title: '您是发布者,无法竞标自己发布的任务。',
icon: 'warning',
duration: 2000
});
return;
}
console.log('testerdata.status---', this.testerdata)
if (this.testerdata) {
if (this.testerdata.status != 1) { //
this.certifshow = true;
} else {
if (this.crowddata.task.applicant_type != 2) { //2
if (this.crowddata.task.applicant_type == 0) { //
if (this.userinform.companyStatus != 0) {
uni.showToast({
title: '您是认证测试公司或正在申请成为认证测试公司,无法认证该任务,该任务只允许个人测试者竞标。',
icon: 'none',
duration: 1000
});
return;
}
} else { //
if (this.userinform.companyStatus != 2) {
uni.showToast({
title: '对不起,您是个人测试者,该任务只允许认证测试公司竞标。',
icon: 'none',
duration: 3000
});
return;
}
}
}
if (res.data.data.applyId) {
if (res.data.data.status == 1) {
this.isPopupShow = true
this.biddingobj = {
taskId: '',
@ -541,10 +509,69 @@
competitionEdge: '',
attachment: ''
}
} else {
this.certifshow = true;
}
} else {
this.certifshow = true;
}
if (res.data.data.companyApplyId) {
uni.showToast({
title: '仅支持个人用户竞标报名',
icon: 'none',
duration: 2000
});
}
// this.testerdata = res.data.data
// if (parseInt(this.userinform.userId) == this.crowddata.task.publisher_id) {
// uni.showToast({
// title: '',
// icon: 'warning',
// duration: 2000
// });
// return;
// }
// console.log('testerdata.status---', this.testerdata)
// if (this.testerdata) {
// if (this.testerdata.status != 1) { //
// this.certifshow = true;
// } else {
// if (this.crowddata.task.applicant_type != 2) { //2
// if (this.crowddata.task.applicant_type == 0) { //
// if (this.userinform.companyStatus != 0) {
// uni.showToast({
// title: '',
// icon: 'none',
// duration: 1000
// });
// return;
// }
// } else { //
// if (this.userinform.companyStatus != 2) {
// uni.showToast({
// title: '',
// icon: 'none',
// duration: 3000
// });
// return;
// }
// }
// }
// this.isPopupShow = true
// this.biddingobj = {
// taskId: '',
// applicantId: '',
// period: '',
// competitionEdge: '',
// attachment: ''
// }
// }
// } else {
// this.certifshow = true;
// }
}
})
@ -769,6 +796,7 @@
.ratebox ::v-deep .u-icon {
font-size: 13px !important;
}
.logobg {
width: 100vw;
object-fit: contain;

@ -36,7 +36,7 @@
</view>
</view>
</block>
<block v-else-if="applyInfo.applyId">
<block v-else-if="applyInfo.applyId && applyInfo.status == 1 ">
<view class="userapply" @click="goUserApply">
<image src="http://image.keyitest.cn/static/index/renliwb/newqy2.png" mode="">
</image>
@ -45,8 +45,17 @@
</view>
</view>
</block>
<block v-else-if="applyInfo.applyId && applyInfo.status == 0 ">
<view class="userapply" @click="goUserApply">
<image src="http://image.keyitest.cn/static/index/renliwb/newqy2.png" mode="">
</image>
<view class="userapplytexterror">
个人认证不通过
</view>
</view>
</block>
<block v-else-if="applyInfo.companyApplyId">
<block v-else-if="applyInfo.companyApplyId && applyInfo.companyStatus == 1">
<view class="companyapply" @click="goCompanyApply">
<image src="http://image.keyitest.cn/static/index/renliwb/newqy1.png" mode="">
</image>
@ -55,6 +64,24 @@
</view>
</view>
</block>
<block v-else-if="applyInfo.companyApplyId && applyInfo.companyStatus == 0">
<view class="companyapply" @click="goCompanyApply">
<image src="http://image.keyitest.cn/static/index/renliwb/newqy1.png" mode="">
</image>
<view class="companyapplytext">
企业认证中
</view>
</view>
</block>
<block v-else-if="applyInfo.companyApplyId && applyInfo.companyStatus == 2">
<view class="companyapply" @click="goCompanyApply">
<image src="http://image.keyitest.cn/static/index/renliwb/newqy1.png" mode="">
</image>
<view class="companyapplytexterror">
企业认证不通过
</view>
</view>
</block>
<!-- <u-tag :text="testerStatustext" plan type="info" shape='circle' color='#FEFEFE'
bg-color='#1A81F9' border-color='transparent' @click="nextcert" /> -->
@ -62,7 +89,7 @@
</view>
</view>
<view v-else style="display: flex;">
<img style='width:55px;height:55px;' src="http://image.keyitest.cn/static/my/mphoto.png" alt="">
<img style='width:55px;height:55px;' src="http://image.keyitest.cn/static/my/mphoto.png" alt="" @click="logingj">
<view style='margin-left:10px;'>
<p style='margin-bottom:10px;font-size:16px;margin-top: 15px;font-weight: 700;'
@click="logingj">点击登录</p>
@ -130,7 +157,7 @@
报名管理
</view>
</view>
<view v-if="applyInfo.companyApplyId" class="cycontentit cycontentitcompany"
<view v-if="applyInfo.companyApplyId && applyInfo.companyStatus == 1" class="cycontentit cycontentitcompany"
@click="servier('companynotes')">
<view class="cycontentitcompanyws" v-if="applyInfo.companyDesc && applyInfo.companyDesc == '无'">
待完善
@ -141,7 +168,7 @@
企业简介
</view>
</view>
<view v-else class="cycontentit" @click="servier('notes')">
<view v-else-if="!applyInfo.companyApplyId" class="cycontentit" @click="servier('notes')">
<image src="http://image.keyitest.cn/static/index/renliwb/newmy7.png" class="cycontentitimg"
mode=""></image>
<view class="cycontentittext">
@ -421,7 +448,7 @@
}
.userapplytext {
width: 86rpx;
padding: 0 20rpx;
height: 32rpx;
background: linear-gradient(90deg, #5EA6FD, #1A81F9);
border-radius: 16rpx;
@ -431,6 +458,17 @@
font-size: 22rpx;
color: #FEFEFE;
}
.userapplytexterror {
padding: 0 20rpx;
height: 32rpx;
background: linear-gradient(90deg, #fd8686, #fc3333);
border-radius: 16rpx;
line-height: 32rpx;
text-align: center;
font-weight: 500;
font-size: 22rpx;
color: #FEFEFE;
}
.clouduserapplytext {
width: 86rpx;
@ -460,7 +498,7 @@
}
.companyapplytext {
width: 86rpx;
padding: 0 20rpx;
height: 32rpx;
background: linear-gradient(90deg, #F9BD55, #F49C45);
border-radius: 16rpx;
@ -470,6 +508,17 @@
font-size: 22rpx;
color: #FEFEFE;
}
.companyapplytexterror {
padding: 0 20rpx;
height: 32rpx;
background: linear-gradient(90deg, #fd8686, #fc3333);
border-radius: 16rpx;
line-height: 32rpx;
text-align: center;
font-weight: 500;
font-size: 22rpx;
color: #FEFEFE;
}
}
.seticon {

@ -207,7 +207,7 @@
})
} else if (type == 'work') {
uni.navigateTo({
url: '/pages/personal/personalresume/workexperience'
url: '/pages/personal/personalresume/workexperience?type=1'
})
} else if (type == 'pro') {
uni.navigateTo({

@ -19,7 +19,7 @@
<u-form-item label="担任角色:" prop="title" required='true'>
<u-input style="width:100%;" v-model="projectobj.title" placeholder='请输入担任角色' />
</u-form-item>
<u-form-item label="应用技术:" prop="applyTech">
<u-form-item label="应用技术:" prop="applyTech" required='true'>
<u-input style="width:100%;" v-model="projectobj.applyTech" placeholder='请输入应用技术' />
</u-form-item>
<u-form-item label="项目简介:" prop="intro" required='true' class="textare">

@ -117,8 +117,8 @@
if (res.data.data.companyApplyId) {
this.form = {
...res.data.data,
name: res.data.data.companyContactName,
contactName: res.data.data.companyName,
name: res.data.data.companyName,
contactName: res.data.data.companyContactName,
businessLicenseUrl: [{
url: this.http.baseUrl + res.data.data
.companyBusinessLicense

Loading…
Cancel
Save