更多页面 图标增加 推送不同页面功能添加
diff --git a/www/js/mainmenu.js b/www/js/mainmenu.js
index eacec44..a8a5e2d 100644
--- a/www/js/mainmenu.js
+++ b/www/js/mainmenu.js
@@ -8,16 +8,32 @@
              console.log(event.registrationId)
         }, false)
         document.addEventListener("jpush.openNotification", function (event) {
-          var refno
+          var refno,msgtype
+		  var userid = window.localStorage.getItem("userid");
+		  var baseUrl = "https://yy.dlsmk.cn/wisdompolice/app"
           console.log("openNotify:"+event);
           if(device.platform == "Android") {
-            refno = event.extras.refno
+			msgtype = event.extras.msgtype
+			if (msgtype ==="conference"){
+				window.location= baseUrl + "/conference/signupconference?custid="+userid;
+			}else if(msgtype ==="atte1"){
+				window.location= baseUrl + "/atte/reviewindex?custid="+userid;
+			}else if(msgtype ==="atte2"){
+				window.location= baseUrl + "/atte/searchindex?custid="+userid;
+			}else if(msgtype ==="atte3"){
+				window.location= baseUrl + "/atte/reviewClock?custid="+userid;
+			}else if(msgtype ==="atte4"){
+				window.location= baseUrl + "/atte/clockhisindex?custid="+userid;
+			}else{
+				refno = event.extras.refno
+				app.openBill(refno);
+			}
           } else {
             refno = event.refno
             window.JPush.setApplicationIconBadgeNumber(0);
+			app.openBill(refno);
           }
-          app.openBill(refno);
-          console.log("openNotify:"+refno);
+          //console.log("openNotify:"+refno);
         }, false)
     },
     openBill:function(billno){