云员工详情

main
lijingyu007 6 months ago
parent 3c07841b88
commit 13bee3a580
  1. 15
      pages.json
  2. 292
      pages/index/outsourcing/cloudDetail.vue
  3. 7
      pages/index/outsourcing/moreCloud.vue
  4. 5
      pages/index/testcrowdsourc/crowdsourcingdetails.vue
  5. 8
      pages/index/testtraining/testtraining.vue
  6. BIN
      static/crowd/email.png
  7. BIN
      static/crowd/noemail.png
  8. BIN
      static/crowd/nophone.png
  9. BIN
      static/crowd/phone.png
  10. BIN
      static/crowd/setpx.png
  11. BIN
      static/crowd/setyr.png
  12. BIN
      static/index/activeshopping.png
  13. BIN
      static/index/icon1.png
  14. BIN
      static/index/icon2.png
  15. BIN
      static/index/icon3.png
  16. BIN
      static/index/icon4.png
  17. BIN
      static/index/rnotice.png
  18. BIN
      static/index/shopping.png
  19. BIN
      static/index/testkit.png
  20. 4
      utils/http.js

@ -101,14 +101,14 @@
}, { }, {
"path": "pages/index/outsourcing/outsourcing", "path": "pages/index/outsourcing/outsourcing",
"style": { "style": {
"navigationBarTitleText": "人服务", "navigationBarTitleText": "人服务",
"navigationBarBackgroundColor": "#284CD1" "navigationBarBackgroundColor": "#284CD1"
} }
}, },
{ {
"path": "pages/index/outsourcing/cloudUserPage", "path": "pages/index/outsourcing/cloudUserPage",
"style": { "style": {
"navigationBarTitleText": "人服务", "navigationBarTitleText": "人服务",
"navigationBarBackgroundColor": "#284CD1", "navigationBarBackgroundColor": "#284CD1",
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
@ -117,16 +117,23 @@
{ {
"path": "pages/index/outsourcing/moreCloud", "path": "pages/index/outsourcing/moreCloud",
"style": { "style": {
"navigationBarTitleText": "人服务", "navigationBarTitleText": "人服务",
"navigationBarBackgroundColor": "#284CD1", "navigationBarBackgroundColor": "#284CD1",
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"onReachBottomDistance": 20 "onReachBottomDistance": 20
} }
}, },
{
"path": "pages/index/outsourcing/cloudDetail",
"style": {
"navigationBarTitleText": "人才服务",
"navigationBarBackgroundColor": "#284CD1"
}
},
{ {
"path": "pages/index/outsourcing/cloudUserdetail", "path": "pages/index/outsourcing/cloudUserdetail",
"style": { "style": {
"navigationBarTitleText": "人力服务", "navigationBarTitleText": "人服务",
"navigationBarBackgroundColor": "#284CD1" "navigationBarBackgroundColor": "#284CD1"
} }
}, },

@ -0,0 +1,292 @@
<template>
<view class="moreDetail">
<view class="moreDetailBox">
<view class="topbox">
<view class="topboxTop">
<view class="topboxTopL">{{userInfo.name}}</view>
<view class="topboxTopR">{{userInfo.testSkills}}</view>
</view>
<view class="topboxBottom">
<view class="topboxBottomItem">
<image class="topboxBottomItemimg" src="../../../static/index/icon1.png" mode=""></image>
{{city}}
</view>
<view class="topboxBottomItem">
<image class="topboxBottomItemimg" src="../../../static/index/icon2.png" mode=""></image>
{{educationList[0].name}}
</view>
<view class="topboxBottomItem">
<image class="topboxBottomItemimg" src="../../../static/index/icon3.png" mode=""></image>
{{educationList[0].major }}
</view>
<view class="topboxBottomItem">
<image class="topboxBottomItemimg" src="../../../static/index/icon4.png" mode=""></image>
{{educationList[0].education }}
({{ educationList[0].startTime + '-'+ educationList[0].endTime}})
</view>
</view>
</view>
<view class="bottombox">
<!-- 个人优势 -->
<view class="bottomboxitem">
<view class="bottomboxitemtitle">
<view class="lineblue"></view>
个人优势
</view>
<view class="bottomboxitemCon">
{{ userInfo.personalAdvantage || '无'}}
</view>
</view>
<!-- 工作经历 -->
<view class="bottomboxitem">
<view class="bottomboxitemtitle">
<view class="lineblue"></view>
工作经历
</view>
<view class="bottomboxitemBox" v-for="it in workList" :key="it.caseId">
<view class="bottomboxitemtitle1">
公司名称{{it.name}}
</view>
<view class="bottomboxitemtitle2">
<view class="bottomboxitemtitle2L">
职位{{it.title}}
</view>
<view class="bottomboxitemtitle2R">
{{it.startTime}} - {{it.endTime}}
</view>
</view>
<view class="bottomboxitemCon">
工作内容{{it.intro}}
</view>
</view>
</view>
<!-- 项目经历 -->
<view class="bottomboxitem">
<view class="bottomboxitemtitle">
<view class="lineblue"></view>
项目经历
</view>
<view class="bottomboxitemBox" v-for="it in projectList" :key="it.caseId">
<view class="bottomboxitemtitle1">
项目名称{{it.name}}
</view>
<view class="bottomboxitemtitle2">
<view class="bottomboxitemtitle2L">
角色{{it.title}}
</view>
<view class="bottomboxitemtitle2R">
{{it.startTime}} - {{it.endTime}}
</view>
</view>
<view class="bottomboxitemCon" style="margin-bottom: 10rpx;">
应用技术{{it.applyTech}}
</view>
<view class="bottomboxitemCon">
项目简介{{it.intro}}
</view>
</view>
</view>
<!-- 资格证书 -->
<view class="bottomboxitem">
<view class="bottomboxitemtitle">
<view class="lineblue"></view>
资格证书
</view>
<view class="bottomboxitemBox" v-for="it in certificateList" :key="it.fileId">
<view class="bottomboxitemCon" style="margin-bottom: 10rpx;">
{{it.fileName}}
</view>
<image :src="it.fileUrl" @click="priveimg(it.fileUrl)" class="itemimg" mode=""></image>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
projectList: [],
workList: [],
educationList: [],
certificateList: [],
userInfo: {},
city: '',
}
},
onLoad(options) {
const id = options.id
this.getInfo(id)
},
methods: {
getInfo(id) {
this.http.quickGet(`/personal/resume/${id}`, true).then(res => {
//
this.projectList = res.data.experience.filter((it) => it.type == 0)
this.workList = res.data.experience.filter((it) => it.type == 1)
this.educationList = res.data.experience.filter((it) => it.type == 2)
if (!this.educationList.length) {
this.educationList = [{
name: '无',
major: '无',
education: '无',
startTime: '无',
endTime: '无',
}, ]
} else {
this.educationList[0].startTime = this.educationList[0].startTime.slice(0, 4)
this.educationList[0].endTime = this.educationList[0].endTime.slice(0, 4)
}
//
this.certificateList = res.data.credentials
//
if (res.data.personalInfo) {
this.userInfo = res.data.personalInfo
this.city = this.userInfo.city.split('-')[1] || '无'
}
})
},
priveimg(logourl) {
// console.log('')
let imgsArray = [];
imgsArray[0] = logourl
uni.previewImage({
current: 0,
urls: imgsArray
});
},
}
}
</script>
<style lang="scss" scoped>
.moreDetail {
padding: 40rpx 23rpx;
box-sizing: border-box;
.moreDetailBox {
background: #FFFFFF;
border-radius: 6rpx;
.topbox {
height: 170rpx;
background: linear-gradient(90deg, #E2EDFD, #FEE4E4);
border-radius: 6rpx 6rpx 0rpx 0rpx;
padding: 0 26rpx;
display: flex;
flex-direction: column;
justify-content: center;
.topboxTop {
display: flex;
align-items: center;
.topboxTopL {
font-weight: bold;
font-size: 36rpx;
color: #000000;
margin-right: 50rpx;
}
.topboxTopR {
font-weight: bold;
font-size: 30rpx;
color: #F68211;
}
}
.topboxBottom {
display: flex;
align-items: center;
flex-wrap: wrap;
margin-top: 30rpx;
.topboxBottomItem {
display: flex;
align-items: center;
font-weight: 500;
font-size: 20rpx;
color: #333333;
margin-right: 30rpx;
.topboxBottomItemimg {
width: 21rpx;
height: 21rpx;
margin-right: 3rpx;
}
}
}
}
.bottombox {
padding: 0 26rpx;
box-sizing: border-box;
.bottomboxitem {
border-bottom: 1px solid rgba(135, 135, 135, 0.15);
.bottomboxitemtitle {
display: flex;
align-items: center;
margin: 36rpx 0;
font-weight: bold;
font-size: 32rpx;
color: #000000;
.lineblue {
width: 6rpx;
height: 24rpx;
background: #1778F7;
border-radius: 3rpx;
margin-right: 12rpx;
}
}
.bottomboxitemtitle1 {
font-weight: bold;
font-size: 26rpx;
color: #000000;
margin-bottom: 25rpx;
}
.bottomboxitemtitle2 {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 25rpx;
.bottomboxitemtitle2L {
font-weight: bold;
font-size: 24rpx;
color: #1A1A1A;
}
.bottomboxitemtitle2R {
font-weight: 500;
font-size: 24rpx;
color: #666666;
}
}
.bottomboxitemCon {
font-weight: 500;
font-size: 24rpx;
color: #4D4D4D;
line-height: 46rpx;
margin-bottom: 30rpx;
}
.itemimg {
width: 338rpx;
height: 242rpx;
margin-bottom: 20rpx;
}
}
}
}
}
</style>

@ -21,7 +21,7 @@
</view> </view>
</view> </view>
<div class="contentBox"> <div class="contentBox">
<view class="jianliboxitem" v-for="it in peopleList" :key="it.user_id"> <view class="jianliboxitem" v-for="it in peopleList" :key="it.user_id" @click="goDetail(it.user_id)">
<view class="address"> <view class="address">
<image src="http://image.keyitest.cn/static/index/renliwb/cloudicon6.png" mode=""></image> <image src="http://image.keyitest.cn/static/index/renliwb/cloudicon6.png" mode=""></image>
{{it.city && it.city.split('-')[1]}} {{it.city && it.city.split('-')[1]}}
@ -90,6 +90,11 @@
}) })
}) })
}, },
goDetail(id) {
uni.navigateTo({
url: '/pages/index/outsourcing/cloudDetail?id=' + id
})
}
} }
} }

@ -143,10 +143,7 @@
<view style="display: flex;margin:5px 0;align-items: center;"> <view style="display: flex;margin:5px 0;align-items: center;">
<p style="color:#4D4D4D ; font-size:13px ;font-weight: bold;">{{crowddata.task.company_name}} <p style="color:#4D4D4D ; font-size:13px ;font-weight: bold;">{{crowddata.task.company_name}}
</p> </p>
<!-- <img v-if="crowddata.task.email" style="width:15px;height:15px;margin:0 5px;" src="/static/crowd/email.png" alt="" />
<img v-else style="width:15px;height:15px;margin:0 5px;" src="/static/crowd/noemail.png" alt="" /> -->
<!-- <img @click="callingphone(crowddata.task.contact_tel)" v-if="crowddata.task.contact_tel" style="width:15px;height:15px;margin-left: 20rpx;" src="/static/crowd/phone.png" alt="" />
<img v-else style="width:15px;height:15px;margin-left: 20rpx;" src="/static/crowd/nophone.png" alt="" /> -->
</view> </view>
<p class="ratebox" style="color:#808080;font-size:12px;align-items: center;"> <p class="ratebox" style="color:#808080;font-size:12px;align-items: center;">
<span>发包总数</span> <span>发包总数</span>

@ -955,16 +955,12 @@
if (height > 0) { if (height > 0) {
// //
this.flag = false this.flag = false
uni.showToast({
title:'打开'
})
} }
// //
else { else {
this.flag = true this.flag = true
uni.showToast({
title:'收起'
})
} }
}, },
// //

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 887 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

@ -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