|
@@ -3,15 +3,37 @@
|
|
|
<view class="detail-bg"></view>
|
|
<view class="detail-bg"></view>
|
|
|
<nav-bar title="面试详情"></nav-bar>
|
|
<nav-bar title="面试详情"></nav-bar>
|
|
|
<view class="detail-index">
|
|
<view class="detail-index">
|
|
|
- <view class="detail-title">明天14:00面试</view>
|
|
|
|
|
|
|
+ <view class="detail-title"><block v-if="info.status==2">
|
|
|
|
|
+ <block v-if="currentStep === 1&&info.restHour>3">
|
|
|
|
|
+ {{info.statusText}} {{info.interviewDate}}
|
|
|
|
|
+ </block>
|
|
|
|
|
+ <block v-else-if="currentStep === 1&&info.restHour<=3&&info.restHour>0">
|
|
|
|
|
+ {{info.restHour*60}}分钟后面试
|
|
|
|
|
+ </block>
|
|
|
|
|
+ <block v-else-if="currentStep === 1&&info.restHour==0">
|
|
|
|
|
+ 面试已开始,待签到
|
|
|
|
|
+ </block>
|
|
|
|
|
+ <block v-else-if="currentStep === 2">
|
|
|
|
|
+ 面试已签到
|
|
|
|
|
+ </block>
|
|
|
|
|
+ <block v-else-if="currentStep === 3">
|
|
|
|
|
+ 面试中
|
|
|
|
|
+ </block>
|
|
|
|
|
+ <block v-else-if="currentStep === 4">
|
|
|
|
|
+ 面试已完成
|
|
|
|
|
+ </block>
|
|
|
|
|
+ </block>
|
|
|
|
|
+ <block v-else-if="info.status==3">
|
|
|
|
|
+ 面试已取消
|
|
|
|
|
+ </block></view>
|
|
|
<view class="detail-item">
|
|
<view class="detail-item">
|
|
|
<view class="user-title">
|
|
<view class="user-title">
|
|
|
<view class="user-img-name">
|
|
<view class="user-img-name">
|
|
|
<view class="user-img">
|
|
<view class="user-img">
|
|
|
- <image src="@/static/images/geren.png" mode="aspectFill" />
|
|
|
|
|
|
|
+ <image :src="info.userEntity&&info.userEntity.avatar||'@/static/images/geren.png'" mode="aspectFill" />
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="user-name"
|
|
|
|
|
- >孙先生
|
|
|
|
|
|
|
+ <view @click="goTo('/pages/talentSearch/resumeDetail?resumesId=255&postPushId='+info.postPush.postPushId)" class="user-name"
|
|
|
|
|
+ >{{info.userEntity&&info.userEntity.userName||'匿名'}}
|
|
|
<u-icon
|
|
<u-icon
|
|
|
name="arrow-right"
|
|
name="arrow-right"
|
|
|
color="#c6c5ca"
|
|
color="#c6c5ca"
|
|
@@ -25,7 +47,7 @@
|
|
|
<image src="@/static/images/my/fujianjianli.svg" mode="scaleToFill" />
|
|
<image src="@/static/images/my/fujianjianli.svg" mode="scaleToFill" />
|
|
|
<text>附件简历</text>
|
|
<text>附件简历</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="img-item-icon">
|
|
|
|
|
|
|
+ <view @click="callPhone(info.userEntity.phone)" class="img-item-icon">
|
|
|
<image src="@/static/images/my/dianhua.svg" mode="scaleToFill" />
|
|
<image src="@/static/images/my/dianhua.svg" mode="scaleToFill" />
|
|
|
<text>电话</text>
|
|
<text>电话</text>
|
|
|
</view>
|
|
</view>
|
|
@@ -37,23 +59,23 @@
|
|
|
<view class="msg-box">
|
|
<view class="msg-box">
|
|
|
<view class="msg-item">
|
|
<view class="msg-item">
|
|
|
<view class="msg-label">时间</view>
|
|
<view class="msg-label">时间</view>
|
|
|
- <view class="msg-value">2025-09-19 20:00:00</view>
|
|
|
|
|
|
|
+ <view class="msg-value">{{info.interviewDateTime}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="msg-item">
|
|
<view class="msg-item">
|
|
|
<view class="msg-label">职位</view>
|
|
<view class="msg-label">职位</view>
|
|
|
- <view class="msg-value">资深产品经理 15-25K·16薪</view>
|
|
|
|
|
|
|
+ <view class="msg-value">{{info.postPush&&info.postPush.ruleClassifyName}} {{info.postPush&&info.postPush.salaryRange}} · {{info.postPush&&info.postPush.salaryTimes||12}}薪</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="msg-item">
|
|
<view class="msg-item">
|
|
|
<view class="msg-label">联系人</view>
|
|
<view class="msg-label">联系人</view>
|
|
|
- <view class="msg-value">熊女士·18000000000</view>
|
|
|
|
|
|
|
+ <view class="msg-value">{{info.hrName}} {{info.hrPhone}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="msg-item">
|
|
<view class="msg-item">
|
|
|
<view class="msg-label">备注</view>
|
|
<view class="msg-label">备注</view>
|
|
|
- <view class="msg-value">请携带一份最新的简历</view>
|
|
|
|
|
|
|
+ <view class="msg-value">{{info.remarks}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="msg-item">
|
|
<view class="msg-item">
|
|
|
<view class="msg-label">地址</view>
|
|
<view class="msg-label">地址</view>
|
|
|
- <view class="msg-value">光谷软件园F21602栋</view>
|
|
|
|
|
|
|
+ <view class="msg-value">{{info.address}} {{info.detailedAddress}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -248,13 +270,60 @@ export default {
|
|
|
text: "",
|
|
text: "",
|
|
|
cancelInterview:false,
|
|
cancelInterview:false,
|
|
|
cancelList:['已招到人员','求职者已招到工作','面试官有事','时间不合适','其他'],
|
|
cancelList:['已招到人员','求职者已招到工作','面试官有事','时间不合适','其他'],
|
|
|
- cancel:false
|
|
|
|
|
|
|
+ cancel:false,
|
|
|
|
|
+ info:{},
|
|
|
|
|
+ recordId:'',
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
components: {
|
|
components: {
|
|
|
navBar,
|
|
navBar,
|
|
|
},
|
|
},
|
|
|
|
|
+ onLoad(options){
|
|
|
|
|
+ this.recordId=options&&options.recordId?options.recordId:''
|
|
|
|
|
+ this.getData()
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ getData(){
|
|
|
|
|
+ var that=this
|
|
|
|
|
+ this.$Request.getT("/app/interviewRecord/getInterviewInfo", {recordId:this.recordId}).then((res) => {
|
|
|
|
|
+ if (res.code == 0) {
|
|
|
|
|
+ let statusArr=['','待接受','已同意','已拒绝','已过期']
|
|
|
|
|
+ res.data.statusText=statusArr[res.data.status]
|
|
|
|
|
+ var detailTime=res.data.detailTime?that.$queue.convert12to24(res.data.detailTime):''
|
|
|
|
|
+ res.data.interviewDateTime=res.data.interviewDateTime.substring(0,10)+' '+detailTime
|
|
|
|
|
+ var expired=that.$queue.isDateExpired(res.data.interviewDateTime)
|
|
|
|
|
+ res.data.expired=expired[0]
|
|
|
|
|
+ res.data.restHour=expired[1]
|
|
|
|
|
+ res.data.interviewDate=res.data.interviewDateTime.slice(0, 10)
|
|
|
|
|
+ that.info=res.data
|
|
|
|
|
+ console.log(that.info)
|
|
|
|
|
+ that.currentStep=!res.data.interviewProcesses||res.data.interviewProcesses==0?res.data.interviewProcesses+1:res.data.interviewProcesses
|
|
|
|
|
+ /* that.covers.push({
|
|
|
|
|
+ id:1,
|
|
|
|
|
+ latitude: res.data.lat,
|
|
|
|
|
+ longitude: res.data.lng,
|
|
|
|
|
+ iconPath:'../../static/images/mapMarker.png',
|
|
|
|
|
+ alpha:0.5,
|
|
|
|
|
+ width:20,
|
|
|
|
|
+ height:20,
|
|
|
|
|
+ callout: {
|
|
|
|
|
+ content: res.data.detailedAddress,
|
|
|
|
|
+ color: '#000', //文字颜色
|
|
|
|
|
+ fontSize: 10, //文本大小
|
|
|
|
|
+ padding: 5, //附近留白
|
|
|
|
|
+ borderRadius: 24, //边框圆角
|
|
|
|
|
+ bgColor: '#FFFFFF', //背景颜色
|
|
|
|
|
+ display: 'ALWAYS', //常显
|
|
|
|
|
+ }
|
|
|
|
|
+ }) */
|
|
|
|
|
+ } else {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: res.msg,
|
|
|
|
|
+ icon: "none",
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
CheckTag(index) {
|
|
CheckTag(index) {
|
|
|
this.isCheck = index;
|
|
this.isCheck = index;
|
|
|
},
|
|
},
|
|
@@ -294,7 +363,18 @@ export default {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
url: '/my/jilu/editInterview'
|
|
url: '/my/jilu/editInterview'
|
|
|
})
|
|
})
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ goTo(url){
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
|
|
+ callPhone(phone){
|
|
|
|
|
+ if (phone == ""||!phone) return;
|
|
|
|
|
+ uni.makePhoneCall({
|
|
|
|
|
+ phoneNumber: phone, //仅为示例
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|