|
@ -420,62 +420,71 @@ var toName = localStorage.getItem("toName");
|
|
|
var consultCode = localStorage.getItem("consultCode");
|
|
|
|
|
|
var pageUrl = {
|
|
|
/**通用跳转**/ 0:function(){
|
|
|
var pageurl = "";
|
|
|
var agentPage = window.localStorage.getItem(pageName);
|
|
|
if(agentPage){
|
|
|
var jsonstr = $.parseJSON(agentPage);
|
|
|
pageurl = jsonstr.pageurl;
|
|
|
}
|
|
|
return pageurl;
|
|
|
}(),
|
|
|
/**签约管理首页**/ "-1":"../../qygl/html/signing-doctors.html",//签约管理首页
|
|
|
/**医生咨询首页**/ 1:"../../yszx/html/doctor-consultation.html",
|
|
|
/**医生指导首页**/ 3:"../../yszd/html/doctor-guidance.html",//医生指导首页
|
|
|
/**疾病社区首页**/ 4:"../../jbsq/html/disease-community.html",//疾病社区首页
|
|
|
/**健康记录首页**/ 5:"../../jkjl/html/health-record.html",//健康记录
|
|
|
/**我的设备首页**/ 6:"../../wdsb/html/my-equipments.html",//我的设备
|
|
|
/**我的资料首页**/ 11:"../../grzx/html/my-detail.html",
|
|
|
/**我的设备首页**/ 15:"../../wdsb/html/my-equipments.html",
|
|
|
/**签约选择医生**/ 16:"../../qygl/html/select-doctor.html",
|
|
|
/**签约搜索医生**/ 17:"../../qygl/html/search-doctor.html",
|
|
|
/**签约医生主页**/ 18:function(){
|
|
|
var doctor = localStorage.getItem("doccode");
|
|
|
return "../../ssgg/html/doctor-homepage-new.html?openid="+0+"&state="+doctor;
|
|
|
}(),
|
|
|
/**我的预约首页**/ 20:"../../wdyy/html/my-appointment.html",
|
|
|
/**预约挂号提交**/ 21:"https://open.weixin.qq.com/connect/oauth2/authorize?appid="+appId+"&redirect_uri="+wxurl+"%2fwdyy%2fhtml%2finfo-confirm.html&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect",
|
|
|
22:"../../jtgx/html/family.html",
|
|
|
/**预约详情首页**/ 23:"../../wdyy/html/detail-appointment.html?openid="+0+"&toUser="+toUsers+"&id="+curId+"&toName="+toName,
|
|
|
/**医生咨询详情**/ 24:"../../yszx/html/consulting-doctor.html?openid="+0+"&toUser="+toUsers+"&consult="+consultCode+"&toName="+toName,
|
|
|
/**医生指导详情**/ 25:"../../yszd/html/guidance-detail.html?openid="+0+"&toUser="+toUsers+"&id="+curId+"&toName="+toName,
|
|
|
/**健康教育**/ 26:"../../jkjy/html/article_list.html",
|
|
|
/**健康详情**/ 27:function(){
|
|
|
var artoUser = localStorage.getItem("toUser");
|
|
|
var article = localStorage.getItem("article");
|
|
|
return "../../jkjy/html/article.html?dataId="+article+"&toUser="+artoUser+"&toName="+toName;
|
|
|
}(),
|
|
|
/**新的健康详情**/ 50:function(){
|
|
|
var artoUser = localStorage.getItem("toUser");
|
|
|
var article = localStorage.getItem("article");
|
|
|
return "../../jkjy/html/article2.html?dataId="+article+"&toUser="+artoUser+"&toName="+toName;
|
|
|
}(),
|
|
|
28:"../../jkda/html/jiuzhenjilu.html",
|
|
|
29:"../../jkda/html/jianchajianyan.html",
|
|
|
30:"../../survey/html/survey_info.html?openid="+0+"&toUser="+toUsers+"&toName="+toName+"&survey_id="+localStorage.getItem("survey_id"),
|
|
|
/**签约管理首页2**/ 31:"../../qygl/html/signing_management.html",//签约管理首页
|
|
|
/*社区体检*/ 32: "../../jkda/html/jiankangtijian.html",
|
|
|
/*续签页面*/ 33: "../../xuqian/html/information.html",
|
|
|
/**意见反馈**/ 34:"../../yjfk/html/feedback.html",
|
|
|
/**公共咨询**/ 36:"../../jbsq/html/public-consult-detail.html",
|
|
|
/*处方记录 */ 38: "../../prescription/html/prescription_records.html",
|
|
|
/*续方订单跟踪页*/ 41: '../../prescription/html/order_tracking.html?openid='+0+'&toUser='+toUsers+'&toName='+toName+'&code='+window.localStorage.getItem("prescriptionCode"),
|
|
|
///*续方记录页*/ 42: '../../prescription/html/re-prescription_info.html?openid='+0+'&toUser='+toUsers+'&toName='+toName+'&code='+window.localStorage.getItem("prescriptionCode"),
|
|
|
/*孕检计划*/ 45: "../../fybj/html/yunjianjihua.html",
|
|
|
/*免疫计划*/ 46: "../../fybj/html/mianyijihua.html",
|
|
|
/*慢病管理修改*/ 47: "../../jbsq/html/slow-disease-manage.html",
|
|
|
/**免疫预约首页**/ 48:"../../wdyy/html/immune-appointment.html",
|
|
|
/**免疫预约详情页**/ 49:"../../wdyy/html/detail-immune-appointment.html"
|
|
|
/**通用跳转**/
|
|
|
0:function(){
|
|
|
var pageurl = "";
|
|
|
var agentPage = window.localStorage.getItem(pageName);
|
|
|
if(agentPage){
|
|
|
var jsonstr = $.parseJSON(agentPage);
|
|
|
pageurl = jsonstr.pageurl;
|
|
|
}
|
|
|
return pageurl;
|
|
|
}(),
|
|
|
//关注咨询列表
|
|
|
"1": "../../yszx/html/doctor-consultation.html",
|
|
|
//我的关注医生列表
|
|
|
"2": "../../yszx/html/focused-doctor.html",
|
|
|
//查找医生
|
|
|
"3": "../../yszx/html/select-consult-doctor.html",
|
|
|
//个人中心
|
|
|
"4": "../../grzx/html/my-detail.html"
|
|
|
///**签约管理首页**/ "-1":"../../qygl/html/signing-doctors.html",//签约管理首页
|
|
|
///**医生咨询首页**/ 1:"../../yszx/html/doctor-consultation.html",
|
|
|
///**医生指导首页**/ 3:"../../yszd/html/doctor-guidance.html",//医生指导首页
|
|
|
///**疾病社区首页**/ 4:"../../jbsq/html/disease-community.html",//疾病社区首页
|
|
|
///**健康记录首页**/ 5:"../../jkjl/html/health-record.html",//健康记录
|
|
|
///**我的设备首页**/ 6:"../../wdsb/html/my-equipments.html",//我的设备
|
|
|
///**我的资料首页**/ 11:"../../grzx/html/my-detail.html",
|
|
|
///**我的设备首页**/ 15:"../../wdsb/html/my-equipments.html",
|
|
|
///**签约选择医生**/ 16:"../../qygl/html/select-doctor.html",
|
|
|
///**签约搜索医生**/ 17:"../../qygl/html/search-doctor.html",
|
|
|
///**签约医生主页**/ 18:function(){
|
|
|
// var doctor = localStorage.getItem("doccode");
|
|
|
// return "../../ssgg/html/doctor-homepage-new.html?openid="+0+"&state="+doctor;
|
|
|
// }(),
|
|
|
///**我的预约首页**/ 20:"../../wdyy/html/my-appointment.html",
|
|
|
///**预约挂号提交**/ 21:"https://open.weixin.qq.com/connect/oauth2/authorize?appid="+appId+"&redirect_uri="+wxurl+"%2fwdyy%2fhtml%2finfo-confirm.html&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect",
|
|
|
// 22:"../../jtgx/html/family.html",
|
|
|
///**预约详情首页**/ 23:"../../wdyy/html/detail-appointment.html?openid="+0+"&toUser="+toUsers+"&id="+curId+"&toName="+toName,
|
|
|
///**医生咨询详情**/ 24:"../../yszx/html/consulting-doctor.html?openid="+0+"&toUser="+toUsers+"&consult="+consultCode+"&toName="+toName,
|
|
|
///**医生指导详情**/ 25:"../../yszd/html/guidance-detail.html?openid="+0+"&toUser="+toUsers+"&id="+curId+"&toName="+toName,
|
|
|
///**健康教育**/ 26:"../../jkjy/html/article_list.html",
|
|
|
///**健康详情**/ 27:function(){
|
|
|
// var artoUser = localStorage.getItem("toUser");
|
|
|
// var article = localStorage.getItem("article");
|
|
|
// return "../../jkjy/html/article.html?dataId="+article+"&toUser="+artoUser+"&toName="+toName;
|
|
|
// }(),
|
|
|
// /**新的健康详情**/ 50:function(){
|
|
|
// var artoUser = localStorage.getItem("toUser");
|
|
|
// var article = localStorage.getItem("article");
|
|
|
// return "../../jkjy/html/article2.html?dataId="+article+"&toUser="+artoUser+"&toName="+toName;
|
|
|
// }(),
|
|
|
// 28:"../../jkda/html/jiuzhenjilu.html",
|
|
|
// 29:"../../jkda/html/jianchajianyan.html",
|
|
|
// 30:"../../survey/html/survey_info.html?openid="+0+"&toUser="+toUsers+"&toName="+toName+"&survey_id="+localStorage.getItem("survey_id"),
|
|
|
///**签约管理首页2**/ 31:"../../qygl/html/signing_management.html",//签约管理首页
|
|
|
///*社区体检*/ 32: "../../jkda/html/jiankangtijian.html",
|
|
|
///*续签页面*/ 33: "../../xuqian/html/information.html",
|
|
|
///**意见反馈**/ 34:"../../yjfk/html/feedback.html",
|
|
|
///**公共咨询**/ 36:"../../jbsq/html/public-consult-detail.html",
|
|
|
///*处方记录 */ 38: "../../prescription/html/prescription_records.html",
|
|
|
///*续方订单跟踪页*/ 41: '../../prescription/html/order_tracking.html?openid='+0+'&toUser='+toUsers+'&toName='+toName+'&code='+window.localStorage.getItem("prescriptionCode"),
|
|
|
/////*续方记录页*/ 42: '../../prescription/html/re-prescription_info.html?openid='+0+'&toUser='+toUsers+'&toName='+toName+'&code='+window.localStorage.getItem("prescriptionCode"),
|
|
|
// /*孕检计划*/ 45: "../../fybj/html/yunjianjihua.html",
|
|
|
// /*免疫计划*/ 46: "../../fybj/html/mianyijihua.html",
|
|
|
// /*慢病管理修改*/ 47: "../../jbsq/html/slow-disease-manage.html",
|
|
|
// /**免疫预约首页**/ 48:"../../wdyy/html/immune-appointment.html",
|
|
|
// /**免疫预约详情页**/ 49:"../../wdyy/html/detail-immune-appointment.html"
|
|
|
}
|
|
|
|
|
|
Date.prototype.Format = function(formatStr)
|