Procházet zdrojové kódy

Merge branch 'dev/v4.8.95_wmh' of qmx/jy into feature/v4.8.95

wenmenghao před 1 rokem
rodič
revize
c9f54eb4cb

+ 19 - 0
src/web/staticres/common-module/mobile-portrayal-footer/js/mobile-portrayal-footer.js

@@ -221,6 +221,25 @@ var mobilePortrayalFooter = {
       this.monitorboxShow = !this.monitorboxShow
     },
     no_monitor (data){
+      if(utils.$envs.inApp && JyObj.checkNoticePermission()!=1 && 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'
+        })
+        return
+      }
       if(!this.allpower.isFree && !data.msg_open && data.status){
         this.$dialog({
           width: 303,