Commit c0dcd9cf authored by zhangderong's avatar zhangderong

修复错误提示

parent caa24a0d
......@@ -1279,17 +1279,25 @@ import ckeditor from '../../components/ckeditor'
this.emailInline.receiveEmail=res.data.body.receiveEmail
this.emailInline.templateContent=res.data.body.templateContent
this.sad=this.emailInline.templateContent
console.log(res.data.body.resumeInterviewVO,2222222)
if(res.data.body&&res.data.body.resumeInterviewVO){
console.log(res.data.body.resumeInterviewVO.interviewerName,666666666)
this.formInline.UpdateOWER=res.data.body.resumeInterviewVO.interviewerName
this.formInline.UpdateVIEW=res.data.body.resumeInterviewVO.inviterName
this.formInline.UpdateTIME=res.data.body.resumeInterviewVO.seeTime
}else{
this.formInline.UpdateOWER=''
this.formInline.UpdateVIEW=''
this.formInline.UpdateTIME=''
}
})
},
uploadFile(){
this.uploadFileList=[]
this.limentName=0
console.log(66666666,this.uploadFileList)
},
beforUpload(uploadFile){
// this.uploadFileList=[]
console.log(uploadFile,67868687)
this.uploadFileList.push(uploadFile)
let isLiment=false
if(uploadFile.size/1024 > 10240){
isLiment=true
......@@ -1298,19 +1306,13 @@ import ckeditor from '../../components/ckeditor'
this.$Notice.error({
title: '提示',
desc: '单个文件不能大于10M'
});}
})
}
console.log(this.limentName,555555555)
if(this.limentName==1){
// this.$Notice.error({
// title: '提示',
// desc: '单个文件不能大于10M'
// });
}else{
this.fileList.push(uploadFile.name)
this.uploadFileList.push(uploadFile)
console.log(this.uploadFileList,77777777)
}
// this.uploadFileList=[]
return false
},
// 发送全部内容
......@@ -1334,7 +1336,7 @@ import ckeditor from '../../components/ckeditor'
this.isShowTwo=false
this.isLimitSize=false
this.uploadFileList=[]
this.SouSuo(this.pageT)
// this.SouSuo(this.pageT)
},
getEditorValue(value){
this.emailContent=value
......@@ -1350,7 +1352,14 @@ import ckeditor from '../../components/ckeditor'
},
// 确认发送邮件
confireSendEmail(){
if(this.emailInline.moo==''||this.emailInline.receiveEmail==''||this.emailInline.theme==''||this.formInline.UpdateOWER==''||this.formInline.UpdateVIEW==''||this.formInline.UpdateTIME==''){
if((this.temp=='TEMP_0001')&&(this.emailInline.moo==''||this.emailInline.receiveEmail==''||this.emailInline.theme==''||this.formInline.UpdateOWER==''||this.formInline.UpdateVIEW==''||this.formInline.UpdateTIME=='')){
this.$Notice.error({
title: '提示',
desc: '请填写完整的信息'
});
return
}
if((this.temp=='TEMP_0002'||this.temp=='TEMP_0003'||this.temp=='TEMP_0004'||this.temp=='TEMP_0005'||this.temp=='TEMP_0006')&&(this.emailInline.moo==''||this.emailInline.receiveEmail==''||this.emailInline.theme=='')){
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