Commit 0e18fbc6 authored by zhangderong's avatar zhangderong

修复问题,上线

parent 04fa10e1
...@@ -1347,14 +1347,9 @@ import ckeditor from '../../components/ckeditor' ...@@ -1347,14 +1347,9 @@ import ckeditor from '../../components/ckeditor'
// // this.isDisable=true // // this.isDisable=true
// // } // // }
// }, // },
getEditorValue: _debounce(() => { getEditorValue: _debounce((value) => {
this.emailContent=this.sad this.emailContent=value
this.sad = value this.sad = value
if(this.emailContent==''){
this.isDisable=false
}else{
this.isDisable=true
}
}), }),
delateFile(index){ delateFile(index){
this.fileList.splice(index,1) this.fileList.splice(index,1)
...@@ -1362,7 +1357,7 @@ import ckeditor from '../../components/ckeditor' ...@@ -1362,7 +1357,7 @@ import ckeditor from '../../components/ckeditor'
}, },
// 确认发送邮件 // 确认发送邮件
confireSendEmail(){ confireSendEmail(){
if(this.emailContent==''){ if(this.sad==''){
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '请填写完整的信息' desc: '请填写完整的信息'
...@@ -1419,13 +1414,6 @@ import ckeditor from '../../components/ckeditor' ...@@ -1419,13 +1414,6 @@ import ckeditor from '../../components/ckeditor'
}); });
return return
} }
if( this.emailContent==''){
this.$Notice.error({
title: '提示',
desc: '邮件正文不能为空'
});
return
}
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
......
...@@ -1225,21 +1225,8 @@ export default { ...@@ -1225,21 +1225,8 @@ export default {
this.uploadFileList=[] this.uploadFileList=[]
this.SouSuo(this.pageT) this.SouSuo(this.pageT)
}, },
// getEditorValue(value){ getEditorValue: _debounce((value) => {
// this.emailContent=value this.emailContent=value
// this.sad = value
// // if(this.emailContent==''){
// // this.isDisable=false
// // this.$Notice.error({
// // title: '提示',
// // desc: '请填写完整的信息'
// // });
// // }else{
// // this.isDisable=true
// // }
// },
getEditorValue: _debounce(() => {
this.emailContent=this.sad
this.sad = value this.sad = value
if(this.emailContent==''){ if(this.emailContent==''){
this.isDisable=false this.isDisable=false
...@@ -1254,7 +1241,7 @@ export default { ...@@ -1254,7 +1241,7 @@ export default {
}, },
// 确认发送邮件 // 确认发送邮件
confireSendEmail(){ confireSendEmail(){
if(this.emailContent==''){ if(this.sad==''){
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '请填写完整的信息' desc: '请填写完整的信息'
...@@ -1311,13 +1298,6 @@ export default { ...@@ -1311,13 +1298,6 @@ export default {
}); });
return return
} }
if( this.emailContent==''){
this.$Notice.error({
title: '提示',
desc: '邮件正文不能为空'
});
return
}
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
......
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