Explorar o código

Merge branch 'dev/v1.1.76_wmh' of jianyu/jy-mobile into feature/v1.1.76

wenmenghao hai 1 ano
pai
achega
7af5d6f2c6
Modificáronse 1 ficheiros con 21 adicións e 0 borrados
  1. 21 0
      src/views/search/result/buyer/index.vue

+ 21 - 0
src/views/search/result/buyer/index.vue

@@ -470,6 +470,27 @@ export default {
       }
     },
     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) {
         this.$dialog({
           width: 303,