|
@@ -470,6 +470,27 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
noMonitor(data) {
|
|
noMonitor(data) {
|
|
|
|
+ if(JyObj.checkNoticePermission() !== 1 && this.$envs.inApp && data.status){
|
|
|
|
+ this.$dialog({
|
|
|
|
+ width: 303,
|
|
|
|
+ className: 'monitor-dialog',
|
|
|
|
+ title: '监控成功',
|
|
|
|
+ message: '您可前往“工作台-商机-业主监控”查看业主最新招标动态。为保证您能及时获取新增监控信息推送,请前往开启推送提醒。',
|
|
|
|
+ messageAlign: 'center',
|
|
|
|
+ confirmButtonText: '去开启',
|
|
|
|
+ confirmButtonColor: '#2ABED1',
|
|
|
|
+ showConfirmButton: true,
|
|
|
|
+ showCancelButton: true,
|
|
|
|
+ cancelButtonText: '暂不开启',
|
|
|
|
+ // cancelButtonColor: '#5F5E64'
|
|
|
|
+ }).then(() => {
|
|
|
|
+ // 展开监控菜单 active:3
|
|
|
|
+ window.location.href = location.origin + '/jy_mobile/push/pushsetting?active=3'
|
|
|
|
+ }).catch((e) =>{
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
if (!data.msg_open && data.status) {
|
|
if (!data.msg_open && data.status) {
|
|
this.$dialog({
|
|
this.$dialog({
|
|
width: 303,
|
|
width: 303,
|