|
@@ -652,12 +652,12 @@ function bindCheckerSelect(){
|
|
|
$('.selectChecker').attr('title',itemName)
|
|
|
$(".checkerList").css("display", "none")
|
|
|
global_DeptAllId="";
|
|
|
+ const totalArr = global_DeptId?global_DeptCheckers[global_DeptId]:global_Checkers[+global_activeTabCode+4];
|
|
|
if(!itemId.trim()){
|
|
|
- renderCheckerTable();
|
|
|
+ renderCheckerTable(totalArr);
|
|
|
return
|
|
|
}
|
|
|
const dept=$(this).attr("data-dept");
|
|
|
- const totalArr = global_DeptId?global_DeptCheckers[global_DeptId]:global_Checkers[+global_activeTabCode+4];
|
|
|
const arr = (totalArr||[]).find((it)=>itemId===it.doctorId&&dept===it.deptId);
|
|
|
renderCheckerTable(arr?[arr]:[]);
|
|
|
})
|