Browse Source

修复服务记录测试bug

lulihong 6 years ago
parent
commit
0239cdb9ea
2 changed files with 5 additions and 3 deletions
  1. 4 2
      html/huanzhe/js/fuwujilu.js
  2. 1 1
      html/jkjl/html/health-record.html

+ 4 - 2
html/huanzhe/js/fuwujilu.js

@ -544,7 +544,8 @@ new Promise(function(resolve, reject) {
});
window.addEventListener("refresh", function(event){
	$(".lin-sel-group li").eq(activeIndex).trigger("click");
	var index = parseInt($(".mui-control-item.mui-active").attr("data-index"));
	getList(scrollerObArr[index].myscroll.iScroll,1, true);//重新加载数据
});
window.addEventListener("newPage", function(event){
@ -557,7 +558,8 @@ window.addEventListener("newPage", function(event){
});
window.addEventListener("update", function(e){
    $(".lin-sel-group li").eq(activeIndex).trigger("click");
	var index = parseInt($(".mui-control-item.mui-active").attr("data-index"));
	getList(scrollerObArr[index].myscroll.iScroll,1, true);//重新加载数据
});
//随访

+ 1 - 1
html/jkjl/html/health-record.html

@ -37,7 +37,7 @@
	    <div class="iScroller">
	        <ul class="c-lab-mor pt-tab c-f16 j-tab-select">
	            <li id="tizhengLi"><a href="#">体征记录</a></li>
	            <li id="equipLi"><a href="#">体征设备</a></li>
	            <!--<li id="equipLi"><a href="#">体征设备</a></li>-->
	            <li id="healthLi"><a href="#">保健记录</a></li>
	        </ul> 
			<div id="tizhengList" class="pt-tab-list"></div>