Commit c0dcd9cf authored by zhangderong's avatar zhangderong

修复错误提示

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