|
@@ -497,7 +497,7 @@ function getCheckerList(){
|
|
|
}
|
|
|
|
|
|
//获取质控员任务列表
|
|
|
-function getTasksList(param={}){console.log(222,global_activeTabCode)
|
|
|
+function getTasksList(param={}){
|
|
|
post(ywCheckApi.getTaskByUserId,{...param,jobType:global_activeTabCode,checkId:global_CheckerId,deptList:[global_DeptMId]}).then(res =>{
|
|
|
if(res.data.code == '0'){
|
|
|
const list = res.data.data||{};
|
|
@@ -651,12 +651,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]);
|
|
|
})
|