Commit 4635851c authored by zhangderong's avatar zhangderong

去除默认勾选

parent c0dcd9cf
...@@ -302,7 +302,7 @@ ...@@ -302,7 +302,7 @@
<div class="emailModal-title"> <div class="emailModal-title">
<div class="emailModalTitle-left"> <div class="emailModalTitle-left">
<p> <p>
<Form :label-width="60" :model="emailInline" label-position="left" style="margin-left:5%" ref="emailInline" :rules="ruleInline"> <Form :label-width="70" :model="emailInline" label-position="left" style="margin-left:5%" ref="emailInline" :rules="ruleInline" class="emailForm">
<FormItem label="选择模板" style="margin-top:20px" prop='moo'> <FormItem label="选择模板" style="margin-top:20px" prop='moo'>
<Select style="width:95%" @on-change='getEmailContentValue' v-model="emailInline.moo" > <Select style="width:95%" @on-change='getEmailContentValue' v-model="emailInline.moo" >
<Option v-for="(item,index) in emailInline.modalArr" :key="index" :value="item.templateCode">{{item.templateName}}</Option> <Option v-for="(item,index) in emailInline.modalArr" :key="index" :value="item.templateCode">{{item.templateName}}</Option>
...@@ -311,7 +311,7 @@ ...@@ -311,7 +311,7 @@
</FormItem> </FormItem>
<FormItem label="收件人" style="margin-top:20px" :show-massage='false'> <FormItem label="收件人" style="margin-top:20px" :show-massage='false'>
<Input style="width:95%" v-model="emailInline.receiveEmail" @on-blur='receiveEmail'/> <Input style="width:95%" v-model="emailInline.receiveEmail" @on-blur='receiveEmail'/>
<span style="position: absolute;left:0;top:30px">输入多个邮箱地址以英文”;“分隔</span> <span style="position: absolute;left:0;top:30px;color:gray">输入多个邮箱地址以英文”;“分隔</span>
</FormItem> </FormItem>
<FormItem label="抄送" style="margin-top:20px"> <FormItem label="抄送" style="margin-top:20px">
<Input style="width:95%" v-model="emailInline.copyname" @on-blur='copyname'/> <Input style="width:95%" v-model="emailInline.copyname" @on-blur='copyname'/>
...@@ -1294,7 +1294,7 @@ import ckeditor from '../../components/ckeditor' ...@@ -1294,7 +1294,7 @@ import ckeditor from '../../components/ckeditor'
}) })
}, },
uploadFile(){ uploadFile(){
this.uploadFileList=[] // this.uploadFileList=[]
this.limentName=0 this.limentName=0
}, },
beforUpload(uploadFile){ beforUpload(uploadFile){
...@@ -1336,7 +1336,7 @@ import ckeditor from '../../components/ckeditor' ...@@ -1336,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
...@@ -1348,10 +1348,18 @@ import ckeditor from '../../components/ckeditor' ...@@ -1348,10 +1348,18 @@ import ckeditor from '../../components/ckeditor'
}, },
delateFile(index){ delateFile(index){
this.fileList.splice(index,1) this.fileList.splice(index,1)
this.uploadFileList.splice(index,1)
// this.isLimitSize=false // this.isLimitSize=false
}, },
// 确认发送邮件 // 确认发送邮件
confireSendEmail(){ confireSendEmail(){
if(this.emailInline.moo==''){
this.$Notice.error({
title: '提示',
desc: '请填写完整的信息'
});
return
}
if((this.temp=='TEMP_0001')&&(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: '提示',
...@@ -1396,18 +1404,6 @@ import ckeditor from '../../components/ckeditor' ...@@ -1396,18 +1404,6 @@ import ckeditor from '../../components/ckeditor'
}); });
return return
} }
// this.uploadFileList.map(item=>{
// if(item.size/1024 > 10240){
// this.isLimitSize=true
// }
// })
// if(this.isLimitSize==true){
// this.$Notice.error({
// title: '提示',
// desc: '单个文件不能大于10M'
// });
// return
// }
if( this.emailContent==''){ if( this.emailContent==''){
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
...@@ -1766,3 +1762,8 @@ select{ ...@@ -1766,3 +1762,8 @@ select{
margin-left: 40px margin-left: 40px
} }
</style> </style>
<style>
.emailForm .ivu-form-item-label{
font-size: 14px
}
</style>
\ No newline at end of file
...@@ -24,7 +24,7 @@ CKEDITOR.editorConfig = function( config ) { ...@@ -24,7 +24,7 @@ CKEDITOR.editorConfig = function( config ) {
]; ];
config.removeButtons = 'Cut,Copy,Paste,PasteText,PasteFromWord,Save,Templates,NewPage,Preview,Print,About,ShowBlocks,Flash,PageBreak,Iframe,Anchor,SelectAll,BidiLtr,BidiRtl,Language,CreateDiv,Superscript,Subscript,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Find,Replace;Smiley,Smiley,Replace'; config.removeButtons = 'Cut,Copy,Paste,PasteText,PasteFromWord,Save,Templates,NewPage,Preview,Print,About,ShowBlocks,Flash,PageBreak,Iframe,Anchor,SelectAll,BidiLtr,BidiRtl,Language,CreateDiv,Superscript,Subscript,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Find,Replace;Smiley,Smiley,Replace';
config.removeDialogTabs = 'image:advanced;link:advanced'; config.removeDialogTabs = 'image:advanced;link:advanced;flash:advanced;editdiv:advanced; creatediv:advanced;';
config.removePlugins = 'elementspath,resize'; // 移除编辑器底部状态栏显示的元素路径和调整编辑器大小的按钮 config.removePlugins = 'elementspath,resize'; // 移除编辑器底部状态栏显示的元素路径和调整编辑器大小的按钮
config.image_previewText = ' '; // 图片信息面板预览区内容的文字内容,默认显示CKEditor自带的内容 config.image_previewText = ' '; // 图片信息面板预览区内容的文字内容,默认显示CKEditor自带的内容
config.removeDialogTabs = 'image:advanced;image:Link'; // 移除图片上传页面的'高级','链接'页签 config.removeDialogTabs = 'image:advanced;image:Link'; // 移除图片上传页面的'高级','链接'页签
...@@ -32,3 +32,4 @@ CKEDITOR.editorConfig = function( config ) { ...@@ -32,3 +32,4 @@ CKEDITOR.editorConfig = function( config ) {
config.removePlugins = 'image,elementspath,resize';// 移除编辑器底部状态栏显示的元素路径和调整编辑器大小的按钮,基础图片插件 config.removePlugins = 'image,elementspath,resize';// 移除编辑器底部状态栏显示的元素路径和调整编辑器大小的按钮,基础图片插件
}; };
// creatediv:advanced;
\ No newline at end of file
This diff is collapsed.
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