Bladeren bron

健康档案链接修改

xiaoyanpeng 6 jaren geleden
bovenliggende
commit
ff922712ed
2 gewijzigde bestanden met toevoegingen van 8 en 8 verwijderingen
  1. 3 3
      html/huanzhe/js/huanzhexinxi.js
  2. 5 5
      js/common_http.js

+ 3 - 3
html/huanzhe/js/huanzhexinxi.js

@ -525,7 +525,7 @@ $(".div-zhuyuan-btn").on("tap",function(){
//就诊记录
$(".div-jiuzhen-btn").on("tap",function(){
	var url = profileServer+'/csijk/wx/html/profile/html/index_0.html?target=app&demographic_id='+oPatiInfo.idcard
	var url = profileServer+'/wx/html/profile/html/index_0.html?target=app&demographic_id='+oPatiInfo.idcard
	mui.openWindow({
		id: "index_0.html",
		url: url
@ -535,7 +535,7 @@ $(".div-jiuzhen-btn").on("tap",function(){
//检查检验记录
$(".div-jianche-btn").on("tap",function(){
//	openWebview(templateServer,{itemIndex:1,name:"检查检验", idcard: oPatiInfo.idcard})
	var url = profileServer+'/csijk/wx/html/profile/html/index_1.html?target=app&demographic_id='+oPatiInfo.idcard
	var url = profileServer+'/wx/html/profile/html/index_1.html?target=app&demographic_id='+oPatiInfo.idcard
	mui.openWindow({
		id: "index_1.html",
		url: url
@ -545,7 +545,7 @@ $(".div-jianche-btn").on("tap",function(){
//用药记录
$(".div-yongyao-btn").on("tap",function(){
//	openWebview(templateServer,{itemIndex:2,name:"用药记录", idcard: oPatiInfo.idcard})
	var url = profileServer+'/csijk/wx/html/profile/html/index_2.html?target=app&demographic_id='+oPatiInfo.idcard
	var url = profileServer+'/wx/html/profile/html/index_2.html?target=app&demographic_id='+oPatiInfo.idcard
	mui.openWindow({
		id: "index_2.html",
		url: url

+ 5 - 5
js/common_http.js

@ -1,5 +1,5 @@
//切换发布版本 true:正式版,连接生产环境;false:测试版,连接测试环境。
var publish_version = false;
var publish_version = true;
//var publish_version = false;
var curr_app_version = 5; //app当前内定版本号
@ -29,7 +29,7 @@ if(publish_version == true) {
    templateServer = "";
    
    // 健康档案(上饶)服务地址
    profileServer = "http://ehr.yihu.com"
    profileServer = "http://srijk.yihu.com/wlyy"
} else {
	appId = "wxd03f859efdf0873d";
	// OCR小温测试地址
@ -37,8 +37,8 @@ if(publish_version == true) {
	templateServer = "http://172.19.103.73:8080/app-ehr/html/mytemplate/html/visit-record-list.html";
	
	//接口服务器
	server = "http://172.19.103.72:9096/csijk/";
    // server = "http://192.168.131.24:8082/";//仕杰
//	server = "http://172.19.103.72:9096/csijk/";
 //    server = "http://192.168.131.24:8082/";//仕杰
//	server = "http://192.168.131.250:8081/";//伟达
//  server = "http://192.168.131.133:8080/";//文杰
//  server = "http://192.168.131.131:8080/";//文彬
@ -50,7 +50,7 @@ if(publish_version == true) {
    var imgUrlDomain = "http://172.19.103.54/";
    
    // 健康档案(上饶)服务地址
    profileServer = "http://ehr.yihu.com"
    profileServer = "http://ehr.yihu.com/csijk"
}
function showErrorPage (msg) {