Kaynağa Gözat

健康档案,有改的地方加了//cy

chenyue 6 yıl önce
ebeveyn
işleme
69e08d5f16

+ 2 - 2
html/huanzhe/html/huanzhexinxi.html

@ -70,10 +70,10 @@
                            <img src="../images/manbingdangan_icon.png">
                            <span class="f-f14">慢病档案</span>  
                        </div>
						<div class="template-item div-fybj-btn" style="display: none;" id="fybj">    
						<!--<div class="template-item div-fybj-btn" style="display: none;" id="fybj">    
							<img src="../images/chanjianjilu_juming_icon.png"> 
						    <span class="f-f14">产检记录</span>  
						</div>
						</div>-->
						<!--<div class="template-item div-myjl-btn" id="myjl">    
							<img src="../images/mianyijilu_juming_icon.png"> 
						    <span class="f-f14">免疫记录</span>  

+ 3 - 2
html/huanzhe/js/event-profile.js

@ -203,7 +203,8 @@ var getBaseInfo = function() {
	return {
		userAgent: userAgent,
		eventInfo: baseEnv.webview.eventInfo,
		patiInfo: baseEnv.webview.patiInfo
		patiInfo: baseEnv.webview.patiInfo,
		type:baseEnv.webview.type //cy
	}
},
// 获取基础环境信息
@ -218,7 +219,7 @@ getBaseEnvPromise = function () {
	});
},
getCatalogPromise = function() {
	return getReqPromise('doctor/archives/event/catalog',{patient: baseInfo.patiInfo.code,event: baseInfo.eventInfo.id},'GET')
	return getReqPromise('doctor/archives/event/catalog',{patient: baseInfo.patiInfo.code,event: baseInfo.eventInfo.id,type:baseInfo.type},'GET')
	.then(function(res) {
		if(res.status==200) {
			catalogs = res.data

+ 2 - 2
html/huanzhe/js/jiankangtijianxiangqing.js

@ -42,9 +42,9 @@ new Promise(function(resolve, reject) {
		baseInfo = getBaseInfo();
	})
})
.then(function() {
.then(function() {  //cy
	return getReqPromise('doctor/health_record/medical_detail',{
		medicalNo: baseInfo.eventInfo.medicalNo
		medicalNo: baseInfo.eventInfo.medicalNo,patient:baseInfo.patiInfo.code
	},'POST').then(function(res){
		plus.nativeUI.closeWaiting();
		var data = {};

+ 1 - 1
html/huanzhe/js/menzhenjilu.js

@ -160,7 +160,7 @@ bindEvents = function () {
	$eventList.on('click','li',function() {
		var data = JSON.parse($(this).attr("data-json"));
		if(data.dataFrom==1) {
			openWebview("event-profile.html",{eventInfo: data,patiInfo: baseInfo.patiInfo});
			openWebview("event-profile.html",{eventInfo: data,patiInfo: baseInfo.patiInfo,type:1});//cy
		} else {
			openWebview("jiuzhenxiangqing.html",{eventInfo: data,patiInfo: baseInfo.patiInfo});
		}

+ 1 - 1
html/huanzhe/js/zhuyuanjilu.js

@ -148,7 +148,7 @@ bindEvents = function () {
	$eventList.on('click','li',function() {
		var data = JSON.parse($(this).attr("data-json"));
		if(data.dataFrom==1) {
			openWebview("event-profile.html",{eventInfo: data,patiInfo: baseInfo.patiInfo});
			openWebview("event-profile.html",{eventInfo: data,patiInfo: baseInfo.patiInfo,type:2});//cy
		} else {
			openWebview("jiuzhenxiangqing.html",{eventInfo: data,patiInfo: baseInfo.patiInfo});
		}