Commit 9f71b14b authored by zhangderong's avatar zhangderong

加按钮限制

parent c65f370b
...@@ -374,7 +374,7 @@ ...@@ -374,7 +374,7 @@
</div> </div>
<div slot='footer' style="text-align:center"> <div slot='footer' style="text-align:center">
<Button type='primary' @click='modal10=false'>取消</Button> <Button type='primary' @click='modal10=false'>取消</Button>
<Button type='primary' @click="confireSendEmail" >确定</Button> <Button type='primary' @click="confireSendEmail" :disabled="!isDisable">确定</Button>
</div> </div>
</Modal> </Modal>
</div> </div>
......
...@@ -353,8 +353,21 @@ ...@@ -353,8 +353,21 @@
</div> </div>
<div slot='footer' style="text-align:center" class="Ubt"> <div slot='footer' style="text-align:center" class="Ubt">
<Button type='primary' @click='emailModalPush'>取消</Button> <Button type='primary' @click='emailModalPush'>取消</Button>
<Button type='primary' @click='confireSendEmail' v-show="this.isShowAll==false" :disabled="!isDisable">发送</Button> <Button type='primary' @click='modal10=true' v-show="this.isShowAll==false" :disabled="!isDisable">发送</Button>
<Button type='primary' @click='confireSendEmail' v-show="this.isShowAll==true" :disabled="!isDisable">添加并发送</Button> <Button type='primary' @click='modal10=true' v-show="this.isShowAll==true" :disabled="!isDisable">添加并发送</Button>
</div>
</Modal>
<Modal
v-model="modal10"
width='280px'
:closable='false'>
<div >
<h2 style="text-align: center;color:black">提示</h2>
<p style="text-align:center">确定要发送邮件吗?</p>
</div>
<div slot='footer' style="text-align:center">
<Button type='primary' @click='modal10=false'>取消</Button>
<Button type='primary' @click="confireSendEmail" :disabled="!isDisable">确定</Button>
</div> </div>
</Modal> </Modal>
</div> </div>
...@@ -463,6 +476,7 @@ export default { ...@@ -463,6 +476,7 @@ export default {
modal4:false, modal4:false,
modal5:false, modal5:false,
modal7:false, modal7:false,
modal10:false,
optcode:'', optcode:'',
toseename:'', toseename:'',
// UpdateOWER:'', // UpdateOWER:'',
...@@ -1226,14 +1240,9 @@ export default { ...@@ -1226,14 +1240,9 @@ export default {
this.uploadFileList=[] this.uploadFileList=[]
this.SouSuo(this.pageT) this.SouSuo(this.pageT)
}, },
getEditorValue: _debounce((value) => { getEditorValue: _debounce(function (value) {
this.emailContent=value 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)
...@@ -1331,7 +1340,7 @@ export default { ...@@ -1331,7 +1340,7 @@ export default {
desc: '发送邮件成功' desc: '发送邮件成功'
}); });
this.emailMOdal=false this.emailMOdal=false
this.modal10=false
this.emailInline.modalArr=[] this.emailInline.modalArr=[]
this.emailInline.theme='' this.emailInline.theme=''
this.emailInline.receiveEmail='' this.emailInline.receiveEmail=''
...@@ -1357,6 +1366,7 @@ export default { ...@@ -1357,6 +1366,7 @@ export default {
desc: '发送邮件失败' desc: '发送邮件失败'
}); });
this.emailMOdal=false this.emailMOdal=false
this.modal10=false
// this.isDisable=true // this.isDisable=true
this.emailInline.modalArr=[] this.emailInline.modalArr=[]
this.emailInline.theme='' this.emailInline.theme=''
...@@ -1403,6 +1413,7 @@ export default { ...@@ -1403,6 +1413,7 @@ export default {
desc: '发送邮件成功' desc: '发送邮件成功'
}) })
this.emailMOdal=false this.emailMOdal=false
this.modal10=false
// this.isDisable=true // this.isDisable=true
this.emailInline.modalArr=[] this.emailInline.modalArr=[]
this.emailInline.theme='' this.emailInline.theme=''
...@@ -1430,6 +1441,7 @@ export default { ...@@ -1430,6 +1441,7 @@ export default {
desc: '发送邮件失败' desc: '发送邮件失败'
}); });
this.emailMOdal=false this.emailMOdal=false
this.modal10=false
// this.isDisable=true // this.isDisable=true
this.emailInline.modalArr=[] this.emailInline.modalArr=[]
this.emailInline.theme='' this.emailInline.theme=''
......
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