Kaynağa Gözat

修改健康教育详情页文章id空值问题

lulihong 6 yıl önce
ebeveyn
işleme
1f13b67d31
2 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 1 1
      html/jkjy/js/article2.js
  2. 3 0
      js/weixin_common.js

+ 1 - 1
html/jkjy/js/article2.js

@ -13,7 +13,7 @@ $(function(){
	dataId = Request["dataId"];
	articleId = Request.articleId || dataId;
	type = Request.type;
	window.localStorage.setItem("article2",dataId);
	window.localStorage.setItem("article",dataId);
	article.closeWindow();
    if(!userAgent) {
        window.localStorage.setItem("toUser",toUser);

+ 3 - 0
js/weixin_common.js

@ -401,6 +401,7 @@ var toUsers  =  localStorage.getItem("toUser");
var curId  =  localStorage.getItem("id");
var toName = localStorage.getItem("toName");
var consultCode = localStorage.getItem("consultCode");
var article = localStorage.getItem("article");
var pageUrl  = {
/**通用跳转**/        
@ -430,6 +431,8 @@ var pageUrl  = {
    "5": "../../profile/html/index.html",
    /**医生指导详情**/ 
    "25":"../../yszd/html/guidance-detail.html?openid="+0+"&toUser="+toUsers+"&id="+curId+"&toName="+toName,
    // /**新的健康教育详情**/   
    "50":"../../jkjy/html/article2.html?dataId="+article+"&toUser="+toUsers+"&toName="+toName,
///**签约管理首页**/  "-1":"../../qygl/html/signing-doctors.html",//签约管理首页
///**医生咨询首页**/     1:"../../yszx/html/doctor-consultation.html",
///**医生指导首页**/     3:"../../yszd/html/doctor-guidance.html",//医生指导首页