Commit 00838782 authored by zhangderong's avatar zhangderong

邮箱测试

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