|
@ -98,13 +98,17 @@ searchZhenLiaoYongYaoByPaging = function () {
|
|
|
return $.extend({},params,{page: curPage});
|
|
|
},function(res) {
|
|
|
if(res.status == 200) {
|
|
|
var data = JSON.parse(res.data),
|
|
|
list = data.EhrList;
|
|
|
if(list && list.length) {
|
|
|
curPage++;
|
|
|
}
|
|
|
initZhenLiaoYongYaoList(list);
|
|
|
zhenLiaoIscroller.refresh();
|
|
|
if(res.data.length==0){ //cy
|
|
|
$(".pullUp").hide()
|
|
|
}else{
|
|
|
var data = JSON.parse(res.data),
|
|
|
list = data.EhrList;
|
|
|
if(list && list.length) {
|
|
|
curPage++;
|
|
|
}
|
|
|
initZhenLiaoYongYaoList(list);
|
|
|
zhenLiaoIscroller.refresh();
|
|
|
}
|
|
|
} else {
|
|
|
mui.toast(res.msg);
|
|
|
}
|