Commit 9fa1caa6 authored by zhangderong's avatar zhangderong

详情页加入转发面试官按钮

parent b45eb30c
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
min-width: unset; min-width: unset;
min-height: unset; min-height: unset;
} }
.ivu-btn-primary{ /* .ivu-btn-primary{
background: #0092FF!important background: #0092FF!important
} } */
</style> </style>
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
<div class="leftcontentContent" v-for="(item,index) in Essentialinformation " :key='index'> <div class="leftcontentContent" v-for="(item,index) in Essentialinformation " :key='index'>
<div class="contentMassage"> <div class="contentMassage">
<p style="margin-top:7px"> <p style="margin-top:7px">
<span style="margin-left:10px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer" @click="Seedetail(item.id, item.uid)">{{item.ownerName}} |</span> <span style="margin-left:10px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer" @click="Seedetail(item.id, item.uid,item.flowStatus)">{{item.ownerName}} |</span>
<span @click="Seedetail(item.id, item.uid)" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer">{{item.ownerMobile}} |</span> <span @click="Seedetail(item.id, item.uid ,item.flowStatus)" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer">{{item.ownerMobile}} |</span>
<span @click="Seedetail(item.id, item.uid)" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;width:20%;cursor:pointer">{{item.ownerExpectTitles}}</span> <span @click="Seedetail(item.id, item.uid,item.flowStatus)" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;width:20%;cursor:pointer">{{item.ownerExpectTitles}}</span>
<span style="color:#2d8cf0;float:right;margin-right:35px;cursor:pointer" @click="updateInterview(item.id,item.interviewerName,item.seeTime,item.inviterName)">更改约面信息</span> <span style="color:#2d8cf0;float:right;margin-right:35px;cursor:pointer" @click="updateInterview(item.id,item.interviewerName,item.seeTime,item.inviterName)">更改约面信息</span>
</p> </p>
<p style="margin-top:8px;color:Grey"> <p style="margin-top:8px;color:Grey">
...@@ -260,6 +260,7 @@ export default { ...@@ -260,6 +260,7 @@ export default {
modal3:false, modal3:false,
modal4:false, modal4:false,
modal5:false, modal5:false,
interdeTailSta:"",
changestatuss:'', changestatuss:'',
spinShow:true, spinShow:true,
Ishow:[], Ishow:[],
...@@ -636,13 +637,14 @@ export default { ...@@ -636,13 +637,14 @@ export default {
this.searchInfo.STA.remove(tItem) this.searchInfo.STA.remove(tItem)
} }
}, },
Seedetail(Tid,Uid){ Seedetail(Tid,Uid,sta){
this.DOWNID=Uid this.DOWNID=Uid
this.detailID=Tid this.detailID=Tid
this.interdeTailSta=sta
let newpage = this.$router.resolve({ let newpage = this.$router.resolve({
name: 'resumeDetail', name: 'resumeDetail',
params:{}, params:{},
query:{id:this.DOWNID,noShowBtn:'',ID:this.detailID} query:{id:this.DOWNID,noShowBtn:'',ID:this.detailID,status:this.interdeTailSta}
}) })
window.open(newpage.href, '_blank'); window.open(newpage.href, '_blank');
}, },
......
...@@ -141,9 +141,9 @@ ...@@ -141,9 +141,9 @@
<Button type="primary" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="transpond" v-show="this.showBtn!=1">转发给面试官</Button><br> <Button type="primary" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="transpond" v-show="this.showBtn!=1">转发给面试官</Button><br>
<p style="margin-top:40px;font-size:16px">当前简历状态:<span style="color:#0092FF" >{{detailStatus[detailSta]}}</span></p> <p style="margin-top:40px;font-size:16px">当前简历状态:<span style="color:#0092FF" >{{detailStatus[detailSta]}}</span></p>
<Button type="primary" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="sendEmail" v-show="hasINterview==false">邀请面试</Button><br> <Button type="primary" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="sendEmail" v-show="hasINterview==false">邀请面试</Button><br>
<Button type="primary" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="downloadONE(detialID)" v-show="this.showBtn!=1">&nbsp;&nbsp;</Button><br> <Button type="primary" :disabled="todoDisabled" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="todo" v-show="hasINterview==false">&nbsp;&nbsp;</Button><br>
<Button type="primary" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="downloadONE(detialID)" v-show="this.showBtn!=1">PASS</Button><br> <Button type="primary" :disabled="passDisabled" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="pass" v-show="hasINterview==false">PASS</Button><br>
<Button type="primary" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="downloadONE(detialID)" v-show="this.showBtn!=1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</Button><br> <Button type="primary" :disabled="optionDisabled" size='small' style="width:150px;height:34px;margin:20px 0 0 15px" @click="option" v-show="hasINterview==false">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</Button><br>
</div> </div>
</div> </div>
<Modal <Modal
...@@ -247,10 +247,9 @@ ...@@ -247,10 +247,9 @@
<FormItem label='' prop='interviewee'> <FormItem label='' prop='interviewee'>
<div class='interviewee'> <div class='interviewee'>
<div class='pic'> <div class='pic'>
<Icon type="ios-close" size='25' style='color:red' @click='delInterviewee(name)' class="icon"/>
<img src='https://o7oe0d6qz.qnssl.com/resume.png'></img> <img src='https://o7oe0d6qz.qnssl.com/resume.png'></img>
</div> </div>
<span style='' class="name">{{name}}</span> <span style='' class="name">{{contentName}}</span>
</div> </div>
</FormItem> </FormItem>
</Form> </Form>
...@@ -301,6 +300,7 @@ export default { ...@@ -301,6 +300,7 @@ export default {
modal10:false, modal10:false,
boxIsShow:false, boxIsShow:false,
interviewee: [], interviewee: [],
contentName:'',
a:{'a_b':'hjbjhbjbh','b':'4'}, a:{'a_b':'hjbjhbjbh','b':'4'},
detailStatus:{'TO_DO':'待处理','INTERVIEW_OK':'面试合适','INTERVIEW_FAIL':'面试淘汰','END':'终止面试','SEE_FAIL':'约面失败','NO_ENTRY':'未入职', detailStatus:{'TO_DO':'待处理','INTERVIEW_OK':'面试合适','INTERVIEW_FAIL':'面试淘汰','END':'终止面试','SEE_FAIL':'约面失败','NO_ENTRY':'未入职',
'TO_SEE':'准备约面','END':'终止面试','SEE_FAIL':'约面失败','NO_ENTRY':'未入职','HAS_SEE':'已邀约','OPTION':'备选','TO_SENT_OFFER':'待Offer','HAS_SENT_OFFER':'已发offer', 'TO_SEE':'准备约面','END':'终止面试','SEE_FAIL':'约面失败','NO_ENTRY':'未入职','HAS_SEE':'已邀约','OPTION':'备选','TO_SENT_OFFER':'待Offer','HAS_SENT_OFFER':'已发offer',
...@@ -317,6 +317,9 @@ export default { ...@@ -317,6 +317,9 @@ export default {
interviewerName: [{required: true, trigger: 'blur', validator: validator.bind(this)}] interviewerName: [{required: true, trigger: 'blur', validator: validator.bind(this)}]
}, },
options: [], options: [],
todoDisabled:false,
passDisabled:false,
optionDisabled:false,
editorObject: {type: '', value: ''}, editorObject: {type: '', value: ''},
tipInfo: '输入多个邮箱地址以英文”;“分隔', tipInfo: '输入多个邮箱地址以英文”;“分隔',
fileList:[], fileList:[],
...@@ -576,23 +579,12 @@ export default { ...@@ -576,23 +579,12 @@ export default {
this.checkboxList = [] this.checkboxList = []
this.delateARRALL = [] this.delateARRALL = []
this.flowStatusarr = [] this.flowStatusarr = []
// this.ajaxData.map(item => {
// item.STATES = false
// })
}, },
sendNotice() { sendNotice() {
this.$refs.transpondFrom.validate(valid => { this.$refs.transpondFrom.validate(valid => {
if(!this.transpondFrom.interviewerName){ if(!this.transpondFrom.interviewerName){
return return
} }
// if (this.interviewee.length < 1) {
// this.$Notice.warning({title: '提示',desc: '发送内容为空,请勾选您要发送的简历'})
// return
// }
// let resumeIdList = []
// this.interviewee.map(item => {
// resumeIdList.push(item.id)
// })
let params = { let params = {
resumeIdList:this.resumeIdList, resumeIdList:this.resumeIdList,
email: this.transpondFrom.interviewerName email: this.transpondFrom.interviewerName
...@@ -624,9 +616,10 @@ export default { ...@@ -624,9 +616,10 @@ export default {
transpond() { //打开转发简历的modal transpond() { //打开转发简历的modal
this.$refs.transpondFrom.resetFields() this.$refs.transpondFrom.resetFields()
this.modal8= true this.modal8= true
this.contentName=this.name
}, },
delInterviewee(name){ delInterviewee(name){
this.name='' this.contentName=''
}, },
// 确认发送邮件 // 确认发送邮件
confireSendEmail(){ confireSendEmail(){
...@@ -742,7 +735,55 @@ export default { ...@@ -742,7 +735,55 @@ export default {
}else{ }else{
this.hasINterview=true this.hasINterview=true
} }
} if(this.detailSta == 'TO_DO'){
this.todoDisabled=true
}
if(this.detailSta == 'PASS'){
this.passDisabled=true
}
if(this.detailSta == 'OPTION'){
this.optionDisabled=true
}
},
// 待处理
todo(){
let parmars={
id: this.detialID,
status:'TO_DO'
}
updatastatus(parmars).then(res=>{
this.detailSta='TO_DO'
this.todoDisabled=true
this.passDisabled=false
this.optionDisabled=false
})
},
// 备选
option(){
let parmars={
id: this.detialID,
status:'OPTION'
}
updatastatus(parmars).then(res=>{
this.detailSta='OPTION'
this.todoDisabled=false
this.passDisabled=false
this.optionDisabled=true
})
},
// PASS
pass(){
let parmars={
id: this.detialID,
status:'PASS'
}
updatastatus(parmars).then(res=>{
this.detailSta='PASS'
this.todoDisabled=false
this.passDisabled=true
this.optionDisabled=false
})
},
}, },
mounted(){ mounted(){
this.getDETAIL() this.getDETAIL()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment