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: '发送邮件失败'
......
......@@ -587,54 +587,54 @@ export default {
this.modal2=false
this.emailMOdal=true
},
selectFn2(e,SID,itemsta) {
this.ITEMSTA=itemsta
this.toseeid=SID
// 准备约面
if(e.target.value==1){
getEmailMoo().then(res=>{
this.emailInline.modalArr.push(res.data.body[0])
})
this.emailMOdal=true
selectFn2(e,SID,itemsta) {
this.ITEMSTA=itemsta
this.toseeid=SID
// 准备约面
if(e.target.value==1){
getEmailMoo().then(res=>{
this.emailInline.modalArr.push(res.data.body[0])
})
this.emailMOdal=true
// this.modal2=true
}
// 简历PASS
if(e.target.value==3){
let parmars={
status:"PASS",
id:SID,
}
PASS(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
})
// this.modal2=true
}
// 简历PASS
if(e.target.value==3){
let parmars={
status:"PASS",
id:SID,
}
PASS(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
})
}
// 简历备选
if(e.target.value==2){
let parmars={
status:"OPTION",
id:SID,
}
// 简历备选
if(e.target.value==2){
let parmars={
status:"OPTION",
id:SID,
OPTION(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
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){
let parmars={
status:"TO_DO",
id:SID,
TODORes(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
TODORes(parmars).then(res=>{
if(res.data.success==true){
this.SouSuo(this.pageT)
}
})
}
},
})
}
},
selectFn3(e,SID,itemsta) {
this.ITEMSTA=itemsta
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