Commit 63ca5315 authored by zhangderong's avatar zhangderong

附件测试

parent 42c7557a
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
}, },
mounted() { mounted() {
this.init() this.init()
console.log(3, this.value)
}, },
beforeDestroy() { beforeDestroy() {
}, },
......
...@@ -288,6 +288,7 @@ ...@@ -288,6 +288,7 @@
<Modal <Modal
v-model="emailMOdal" v-model="emailMOdal"
width='1000px' width='1000px'
:mask-closable='false'
:closable='false'> :closable='false'>
<div > <div >
<h2 style="text-align:center;color:black" v-show="this.isShowAll==false">发送邮件</h2> <h2 style="text-align:center;color:black" v-show="this.isShowAll==false">发送邮件</h2>
...@@ -1233,7 +1234,7 @@ import ckeditor from '../../components/ckeditor' ...@@ -1233,7 +1234,7 @@ import ckeditor from '../../components/ckeditor'
} }
this.emailCode=value this.emailCode=value
let parmars={ let parmars={
resumeId:this.emailId, resumeId:this.emailId==''?'':this.emailId,
templateCode:this.emailCode templateCode:this.emailCode
} }
getEmailContent(parmars).then(res=>{ getEmailContent(parmars).then(res=>{
...@@ -1266,6 +1267,7 @@ import ckeditor from '../../components/ckeditor' ...@@ -1266,6 +1267,7 @@ import ckeditor from '../../components/ckeditor'
this.formInline.UpdateOWER='' this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW='' this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME='' this.formInline.UpdateTIME=''
this.emailInline.copyname=''
this.SouSuo(this.pageT) this.SouSuo(this.pageT)
}, },
getEditorValue(value){ getEditorValue(value){
...@@ -1294,19 +1296,25 @@ import ckeditor from '../../components/ckeditor' ...@@ -1294,19 +1296,25 @@ import ckeditor from '../../components/ckeditor'
formData.append('resumeInterviewVO.seeTime',moment( this.UpdateTIMETwo).format('YYYY/MM/DD HH:mm')) formData.append('resumeInterviewVO.seeTime',moment( this.UpdateTIMETwo).format('YYYY/MM/DD HH:mm'))
formData.append(' flowStatus',this.flowStatusTT) formData.append(' flowStatus',this.flowStatusTT)
sendEmail(formData).then(res=>{ sendEmail(formData).then(res=>{
console.log(res,123456)
console.log(typeof(res.data.success,55555555))
if(res.data.success==true){ if(res.data.success==true){
console.log(typeof(res.data.success,44444444))
this.$Notice.success({ this.$Notice.success({
title: '提示', title: '提示',
desc: '发送邮件成功' desc: '发送邮件成功'
}); });
this.emailModal=false this.emailMOdal=false
this.SouSuo(this.pageT)
} }
if(res.data.success==false){ if(res.data.success==false){
console.log(typeof(res.data.success,6666666))
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '发送邮件失败' desc: '发送邮件失败'
}); });
this.emailModal=false this.emailMOdal=false
this.SouSuo(this.pageT)
} }
}) })
}else{ }else{
...@@ -1320,14 +1328,17 @@ import ckeditor from '../../components/ckeditor' ...@@ -1320,14 +1328,17 @@ import ckeditor from '../../components/ckeditor'
formData.append('emailContent',this.emailContent) formData.append('emailContent',this.emailContent)
formData.append(' flowStatus',this.flowStatusTT) formData.append(' flowStatus',this.flowStatusTT)
sendEmail(formData).then(res=>{ sendEmail(formData).then(res=>{
console.log(res,123456)
console.log(typeof(res.data.success),8888888)
if(res.data.success==true){ if(res.data.success==true){
this.$Notice.success({ this.$Notice.success({
title: '提示', title: '提示',
desc: '发送邮件成功' desc: '发送邮件成功'
}); })
this.emailModal=false this.emailModal=false
} }
if(res.data.success==false){ if(res.data.success==false){
console.log(typeof(res.data.success),88888)
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '发送邮件失败' desc: '发送邮件失败'
......
...@@ -587,54 +587,54 @@ export default { ...@@ -587,54 +587,54 @@ export default {
this.modal2=false this.modal2=false
this.emailMOdal=true this.emailMOdal=true
}, },
selectFn2(e,SID,itemsta) { selectFn2(e,SID,itemsta) {
this.ITEMSTA=itemsta this.ITEMSTA=itemsta
this.toseeid=SID this.toseeid=SID
// 准备约面 // 准备约面
if(e.target.value==1){ if(e.target.value==1){
getEmailMoo().then(res=>{ getEmailMoo().then(res=>{
this.emailInline.modalArr.push(res.data.body[0]) this.emailInline.modalArr.push(res.data.body[0])
}) })
this.emailMOdal=true this.emailMOdal=true
// this.modal2=true // this.modal2=true
} }
// 简历PASS // 简历PASS
if(e.target.value==3){ if(e.target.value==3){
let parmars={ let parmars={
status:"PASS", status:"PASS",
id:SID, id:SID,
} }
PASS(parmars).then(res=>{ PASS(parmars).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.SouSuo(this.pageT) this.SouSuo(this.pageT)
} }
}) })
}
// 简历备选
if(e.target.value==2){
let parmars={
status:"OPTION",
id:SID,
} }
// 简历备选 OPTION(parmars).then(res=>{
if(e.target.value==2){ if(res.data.success==true){
let parmars={ this.SouSuo(this.pageT)
status:"OPTION",
id:SID,
} }
OPTION(parmars).then(res=>{ })
if(res.data.success==true){ }
this.SouSuo(this.pageT) if(e.target.value==2){
} let parmars={
}) status:"TO_DO",
id:SID,
} }
if(e.target.value==2){ TODORes(parmars).then(res=>{
let parmars={ if(res.data.success==true){
status:"TO_DO", this.SouSuo(this.pageT)
id:SID,
} }
TODORes(parmars).then(res=>{ })
if(res.data.success==true){ }
this.SouSuo(this.pageT) },
}
})
}
},
selectFn3(e,SID,itemsta) { selectFn3(e,SID,itemsta) {
this.ITEMSTA=itemsta this.ITEMSTA=itemsta
this.toseeid=SID this.toseeid=SID
......
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