|
@@ -498,11 +498,18 @@ function getCheckerList(){
|
|
|
}
|
|
|
|
|
|
//获取质控员任务列表
|
|
|
-function getTasksList(param={}){console.log(222,global_activeTabCode)
|
|
|
- post(ywCheckApi.getTaskByUserId,{...param,jobType:global_activeTabCode,checkId:global_CheckerId,deptList:[global_DeptMId]}).then(res =>{
|
|
|
+function getTasksList(param={}){
|
|
|
+ post(ywCheckApi.getTaskByUserId,{
|
|
|
+ ...param,
|
|
|
+ jobType:global_activeTabCode,
|
|
|
+ checkId:global_CheckerId,
|
|
|
+ deptList:[global_DeptMId],
|
|
|
+ size:500,
|
|
|
+ current:1}
|
|
|
+ ).then(res =>{
|
|
|
if(res.data.code == '0'){
|
|
|
const list = res.data.data||{};
|
|
|
- renderTaskTable(list);
|
|
|
+ renderTaskTable(list.records);
|
|
|
}else{rendeCheckerList()}
|
|
|
}).catch((e) =>{
|
|
|
|