|
@@ -562,6 +562,7 @@ export default {
|
|
|
if (tp == 'fb') {
|
|
|
this.isPublishloading = true;
|
|
|
}
|
|
|
+ const isPost = this.permissionBtn.checkPermissionBtn(this.permissionBtn.reportManageBtn.reportManage_sendMsg)
|
|
|
// 如果已经添加过就修改 否则新增
|
|
|
if (this.isAddEnter) {
|
|
|
let params2 = {
|
|
@@ -594,7 +595,7 @@ export default {
|
|
|
if(hasTel==1){
|
|
|
this.isMessagePost = false;
|
|
|
this.reporteditMsg(params2,tp)
|
|
|
- }else{
|
|
|
+ }else if(isPost){
|
|
|
this.$confirm('发布后,是否推送模板消息和客户群?', '发布提示', {
|
|
|
confirmButtonText: '推送',
|
|
|
cancelButtonText: '不推送',
|
|
@@ -616,6 +617,9 @@ export default {
|
|
|
done()
|
|
|
}
|
|
|
})
|
|
|
+ }else{
|
|
|
+ this.isMessagePost = false;
|
|
|
+ this.reporteditMsg(params2,tp)
|
|
|
}
|
|
|
|
|
|
}else {
|
|
@@ -628,7 +632,7 @@ export default {
|
|
|
if(hasTel==1){
|
|
|
this.isMessagePost = false;
|
|
|
this.reportaddMsg(params,tp)
|
|
|
- }else{
|
|
|
+ }else if(isPost){
|
|
|
this.$confirm('发布后,是否推送模板消息和客户群?', '发布提示', {
|
|
|
confirmButtonText: '推送',
|
|
|
cancelButtonText: '不推送',
|
|
@@ -651,6 +655,9 @@ export default {
|
|
|
done()
|
|
|
}
|
|
|
})
|
|
|
+ }else{
|
|
|
+ this.isMessagePost = false;
|
|
|
+ this.reportaddMsg(params,tp)
|
|
|
}
|
|
|
|
|
|
}else {
|