Commit 00838782 authored by zhangderong's avatar zhangderong

邮箱测试

parent a67e9048
Pipeline #43 canceled with stages
......@@ -1223,19 +1223,16 @@ import ckeditor from '../../components/ckeditor'
},
getEmailContentValue(value){
this.temp=value
console.log(this.temp,55555555555)
if(this.isShowTwo==true){
this.isShowAll=true
this.interviewIsShow=true
}else{
console.log(99999999999999)
if(this.emailIdArr.length>1&&(value=='TEMP_0001'||value=='TEMP_0005'||value=='TEMP_0006')){
console.log(777777777777)
this.allEmailVilitor=true
}else {
this.allEmailVilitor=false
console.log(66666666666666,this.emailIdArr.length)
if(this.temp='TEMP_0001'){
console.log(44444444444444,this.emailIdArr.length)
if(this.temp=='TEMP_0001'){
this.isShowAll=true
}else{
this.isShowAll=false
......@@ -1321,16 +1318,15 @@ import ckeditor from '../../components/ckeditor'
});
return
}
if((this.temp=='TEMP_0001'|| this.temp=='TEMP_0005'|| this.temp=='TEMP_0006')){
if(this.emailId==''){
if((this.temp=='TEMP_0001'|| this.temp=='TEMP_0005'|| this.temp=='TEMP_0006')&&this.emailId==''){
this.$Notice.error({
title: '提示',
desc: '请先选择简历'
});
return
}
}
if(this.emailIdArr.length>1){
if((this.emailIdArr.length>1)&&(this.temp=='TEMP_0001'|| this.temp=='TEMP_0005'|| this.temp=='TEMP_0006')){
this.$Notice.error({
title: '提示',
desc: '不能选择多份简历,请选择单份简历'
......@@ -1354,7 +1350,8 @@ import ckeditor from '../../components/ckeditor'
this.attachFileList=this.uploadFileList.length==0?'':this.uploadFileList
this.flowStatusTT=this.emailFlowStatus==''?'':'TO_SEE'
this.UpdateTIMETwo=this.formInline.UpdateTIME==''?'':this.formInline.UpdateTIME
if( this.temp=='TEMP_0001'){
console.log(this.temp,22222222222)
if(this.temp=='TEMP_0001'){
var formData= new FormData()
if(this.attachFileList.length!==0){
this.attachFileList.map(item=>{
......@@ -1431,6 +1428,7 @@ import ckeditor from '../../components/ckeditor'
}
})
}else{
console.log(987654321)
var formData= new FormData()
if(this.attachFileList.length!==0){
this.attachFileList.map(item=>{
......@@ -1448,6 +1446,7 @@ import ckeditor from '../../components/ckeditor'
formData.append(' flowStatus',this.flowStatusTT)
this.isDisable=false
sendEmail(formData).then(res=>{
this.isDisable=true
if(res.data.success==true){
this.$Notice.success({
title: '提示',
......
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