|
@ -68,7 +68,7 @@ initPatientListByGroup = function(code, isInit) {
|
|
|
labelCode: code,
|
|
|
teamCode: docInfo.adminTeamCode,
|
|
|
page: pages[code],
|
|
|
pagesize: 50
|
|
|
pagesize: 20
|
|
|
};
|
|
|
sendGet(url, params, null, function(res){
|
|
|
if(res.status == 200){
|
|
@ -83,7 +83,7 @@ initPatientListByGroup = function(code, isInit) {
|
|
|
$(".n-list[data-group="+code+"]").append(html);
|
|
|
}
|
|
|
|
|
|
if(list.length < 50){
|
|
|
if(list.length < 20){
|
|
|
$(".group-item[data-group="+code+"]").find(".load-more").hide();
|
|
|
}else{
|
|
|
pages[code] ++;
|
|
@ -249,3 +249,7 @@ function setSex(s) {
|
|
|
}
|
|
|
}
|
|
|
template.helper("setSex", setSex);
|
|
|
|
|
|
template.helper("getPhoto", function(str){
|
|
|
return getImgUrl(str);
|
|
|
})
|