Commit 1b349a62 authored by FE-安焕焕's avatar FE-安焕焕 👣

微信通知

parent 24cf984b
......@@ -338,8 +338,11 @@
<FormItem label="面试官" style="margin-top:20px" prop='UpdateVIEW'>
<Input v-model="formInline.UpdateVIEW" style="width:100%" :maxlength="5" @on-blur='UpdateVIEW'/>
</FormItem>
<FormItem label="" prop='sendWeixin'>
<Checkbox v-model="formInline.sendWeixin"><span style="margin-left:10px">微信通知面试官</span></Checkbox>
</FormItem>
</Form>
<!-- <Checkbox v-model="disabledSingle" style="margin-left:40px" @on-change='changenotice'><span style="margin-left:20px">微信通知面试官</span></Checkbox> -->
</div>
</div>
<div class="ckeditor">
......@@ -470,7 +473,8 @@ import {mapState} from 'vuex'
formInline:{
UpdateOWER:'',
UpdateTIME:'',
UpdateVIEW:''
UpdateVIEW:'',
sendWeixin: true
},
emailInline:{
moo:'',
......@@ -727,6 +731,7 @@ import {mapState} from 'vuex'
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.SouSuo(this.pageT)
}
if(res.data.body.code==0){
......@@ -1296,6 +1301,7 @@ import {mapState} from 'vuex'
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
},
// 鼠标滑过事件
ahove(index,vvv){
......@@ -1416,6 +1422,7 @@ import {mapState} from 'vuex'
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.emailInline.copyname=''
this.isShowTwo=false
this.isLimitSize=false
......@@ -1510,6 +1517,7 @@ import {mapState} from 'vuex'
formData.append('resumeInterviewVO.resumeId',this.emailId)
formData.append('resumeInterviewVO.inviterName',this.formInline.UpdateOWER==''?'':this.formInline.UpdateOWER)
formData.append('resumeInterviewVO.interviewerName',this.formInline.UpdateVIEW==''?'':this.formInline.UpdateVIEW)
formData.append('sendWeixin',this.formInline.sendWeixin)
formData.append('resumeInterviewVO.seeTime',moment( this.UpdateTIMETwo).format('YYYY/MM/DD HH:mm'))
formData.append(' flowStatus',this.flowStatusTT)
this.isDisable=false
......@@ -1536,9 +1544,11 @@ import {mapState} from 'vuex'
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.emailInline.copyname=''
this.isShowTwo=false
this.uploadFileList=[]
this.clearInterviewee()
this.SouSuo(this.pageT)
}
if(res.data.success==false){
......@@ -1563,9 +1573,11 @@ import {mapState} from 'vuex'
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.emailInline.copyname=''
this.isShowTwo=false
this.uploadFileList=[]
this.clearInterviewee()
this.SouSuo(this.pageT)
}
})
......@@ -1614,6 +1626,7 @@ import {mapState} from 'vuex'
this.isLimitSize=false
this.emailInline.copyname=''
this.uploadFileList=[]
this.clearInterviewee()
this.SouSuo(this.pageT)
}
if(res.data.success==false){
......@@ -1642,6 +1655,7 @@ import {mapState} from 'vuex'
this.isShowTwo=false
this.isLimitSize=false
this.uploadFileList=[]
this.clearInterviewee()
this.SouSuo(this.pageT)
}
})
......@@ -1671,6 +1685,9 @@ import {mapState} from 'vuex'
this.checkboxList = []
this.delateARRALL = []
this.flowStatusarr = []
this.ajaxData.map(item => {
item.STATES = false
})
},
transpond() { //打开转发简历的modal
if(this.interviewee.length == 0) {
......@@ -1717,7 +1734,7 @@ import {mapState} from 'vuex'
email: this.transpondFrom.interviewerName
}
forwardResume(params).then(res => {
if (res.success) {
if (res.data.success == true) {
this.clearInterviewee()
this.modal8 = false
this.$Notice.warn({
......@@ -1736,6 +1753,7 @@ import {mapState} from 'vuex'
})
},
remoteMethod: _debounce(function(query){
this.options = []
if (query !== '') {
this.loading1 = true;
setTimeout(() => {
......@@ -1743,17 +1761,13 @@ import {mapState} from 'vuex'
let list = []
findCompanyEmailByKey(query).then(res => {
list = res
this.options = list.data.body.filter(item => item.name.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.email.toLowerCase().indexOf(query.toLowerCase()) > -1);
}, 200);
if (this.options.length == 0) {
this.$Notice.warning({title: '提示',desc: '面试官姓名无效,请您再次核对'})
}
this.options = list.data.body
})
}, 500);
} else {
this.options = [];
}
}, 500),
}),
changenotice(a){
},
receiveEmail(){
......@@ -1924,7 +1938,7 @@ select{
background:rgba(241,241,241,1);
}
.emailModal-title{
height: 260px;
height: 280px;
width: 100%;
}
......
......@@ -330,8 +330,10 @@
<FormItem label="面试官" style="margin-top:20px" prop='UpdateVIEW'>
<Input v-model="formInline.UpdateVIEW" style="width:100%" :maxlength="5" @on-blur='UpdateVIEW'/>
</FormItem>
<FormItem label="" prop='sendWeixin'>
<Checkbox v-model="formInline.sendWeixin"><span style="margin-left:10px">微信通知面试官</span></Checkbox>
</FormItem>
</Form>
<!-- <Checkbox v-model="disabledSingle" style="margin-left:40px" @on-change='changenotice'><span style="margin-left:20px">微信通知面试官</span></Checkbox> -->
</div>
</div>
<div class="ckeditor">
......@@ -455,7 +457,8 @@ export default {
formInline:{
UpdateOWER:'',
UpdateTIME:'',
UpdateVIEW:''
UpdateVIEW:'',
sendWeixin: true
},
editorObject: {type: '', value: ''},
emailInline:{
......@@ -686,6 +689,7 @@ export default {
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.SouSuo(this.pageT)
}
if(res.data.body.code==0){
......@@ -1221,6 +1225,7 @@ export default {
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
},
// 鼠标滑过事件
ahove(index,vvv){
......@@ -1342,6 +1347,7 @@ export default {
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.emailInline.copyname=''
this.isShowTwo=false
this.isLimitSize=false
......@@ -1437,6 +1443,7 @@ export default {
formData.append('resumeInterviewVO.resumeId',this.emailId)
formData.append('resumeInterviewVO.inviterName',this.formInline.UpdateOWER==''?'':this.formInline.UpdateOWER)
formData.append('resumeInterviewVO.interviewerName',this.formInline.UpdateVIEW==''?'':this.formInline.UpdateVIEW)
formData.append('sendWeixin',this.formInline.sendWeixin)
formData.append('resumeInterviewVO.seeTime',moment( this.UpdateTIMETwo).format('YYYY/MM/DD HH:mm'))
formData.append(' flowStatus',this.flowStatusTT)
this.isDisable=false
......@@ -1463,9 +1470,11 @@ export default {
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.emailInline.copyname=''
this.isShowTwo=false
this.uploadFileList=[]
this.clearInterviewee()
this.SouSuo(this.pageT)
}
if(res.data.success==false){
......@@ -1490,9 +1499,11 @@ export default {
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.emailInline.copyname=''
this.isShowTwo=false
this.uploadFileList=[]
this.clearInterviewee()
this.SouSuo(this.pageT)
}
})
......@@ -1537,10 +1548,12 @@ export default {
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.isShowTwo=false
this.isLimitSize=false
this.emailInline.copyname=''
this.uploadFileList=[]
this.clearInterviewee()
this.SouSuo(this.pageT)
}
if(res.data.success==false){
......@@ -1565,10 +1578,12 @@ export default {
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.formInline.sendWeixin=true
this.emailInline.copyname=''
this.isShowTwo=false
this.isLimitSize=false
this.uploadFileList=[]
this.clearInterviewee()
this.SouSuo(this.pageT)
}
})
......@@ -1653,26 +1668,22 @@ export default {
sendNotice() {
this.$refs.transpondFrom.validate(valid => {
if(!this.transpondFrom.interviewerName){
console.log('====')
return
}
if (this.interviewee.length < 1) {
this.$Notice.warning({title: '提示',desc: '发送内容为空,请勾选您要发送的简历'})
return
}
console.log('-----')
let resumeIdList = []
this.interviewee.map(item => {
resumeIdList.push(item.id)
})
console.log('=====')
let params = {
resumeIdList,
email: this.transpondFrom.interviewerName
}
console.log('++++',)
forwardResume(params).then(res => {
if (res.success) {
if (res.data.success == true) {
this.clearInterviewee()
this.modal8 = false
this.$Notice.warn({
......@@ -1691,6 +1702,7 @@ export default {
})
},
remoteMethod: _debounce(function(query){
this.options = []
if (query !== '') {
this.loading1 = true;
setTimeout(() => {
......@@ -1698,13 +1710,9 @@ export default {
let list = []
findCompanyEmailByKey(query).then(res => {
list = res
this.options = list.data.body.filter(item => item.name.toLowerCase().indexOf(query.toLowerCase()) > -1 || item.email.toLowerCase().indexOf(query.toLowerCase()) > -1);
this.options = list.data.body
}, 200);
if (this.options.length == 0) {
this.$Notice.warning({title: '提示',desc: '面试官姓名无效,请您再次核对'})
}
})
} else {
this.options = [];
}
......@@ -1733,6 +1741,9 @@ export default {
this.checkboxList = []
this.delateARRALL = []
this.flowStatusarr = []
this.ajaxData.map(item => {
item.STATES = false
})
}
},
watch: {
......
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