Commit 63ca5315 authored by zhangderong's avatar zhangderong

附件测试

parent 42c7557a
......@@ -36,7 +36,6 @@
},
mounted() {
this.init()
console.log(3, this.value)
},
beforeDestroy() {
},
......
......@@ -288,6 +288,7 @@
<Modal
v-model="emailMOdal"
width='1000px'
:mask-closable='false'
:closable='false'>
<div >
<h2 style="text-align:center;color:black" v-show="this.isShowAll==false">发送邮件</h2>
......@@ -1233,7 +1234,7 @@ import ckeditor from '../../components/ckeditor'
}
this.emailCode=value
let parmars={
resumeId:this.emailId,
resumeId:this.emailId==''?'':this.emailId,
templateCode:this.emailCode
}
getEmailContent(parmars).then(res=>{
......@@ -1266,6 +1267,7 @@ import ckeditor from '../../components/ckeditor'
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
this.emailInline.copyname=''
this.SouSuo(this.pageT)
},
getEditorValue(value){
......@@ -1294,19 +1296,25 @@ import ckeditor from '../../components/ckeditor'
formData.append('resumeInterviewVO.seeTime',moment( this.UpdateTIMETwo).format('YYYY/MM/DD HH:mm'))
formData.append(' flowStatus',this.flowStatusTT)
sendEmail(formData).then(res=>{
console.log(res,123456)
console.log(typeof(res.data.success,55555555))
if(res.data.success==true){
console.log(typeof(res.data.success,44444444))
this.$Notice.success({
title: '提示',
desc: '发送邮件成功'
});
this.emailModal=false
this.emailMOdal=false
this.SouSuo(this.pageT)
}
if(res.data.success==false){
console.log(typeof(res.data.success,6666666))
this.$Notice.error({
title: '提示',
desc: '发送邮件失败'
});
this.emailModal=false
this.emailMOdal=false
this.SouSuo(this.pageT)
}
})
}else{
......@@ -1320,14 +1328,17 @@ import ckeditor from '../../components/ckeditor'
formData.append('emailContent',this.emailContent)
formData.append(' flowStatus',this.flowStatusTT)
sendEmail(formData).then(res=>{
console.log(res,123456)
console.log(typeof(res.data.success),8888888)
if(res.data.success==true){
this.$Notice.success({
title: '提示',
desc: '发送邮件成功'
});
})
this.emailModal=false
}
if(res.data.success==false){
console.log(typeof(res.data.success),88888)
this.$Notice.error({
title: '提示',
desc: '发送邮件失败'
......
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