zhouna 4 years ago
parent
commit
d871f795ba
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/js/allotCheckTask.js

+ 2 - 1
src/js/allotCheckTask.js

@@ -32,7 +32,7 @@ $(function() {
         toast("没有质控核查权限!");
         toast("没有质控核查权限!");
         return
         return
     }*/
     }*/
-    const tabs = checkAuth.replace(/[^456]/g,'');
+    const tabs = (checkAuth||'').replace(/[^456]/g,'');
     if(tabs.length===0){
     if(tabs.length===0){
         $(".tabs").hide();
         $(".tabs").hide();
         toast("没有质控核查权限!");
         toast("没有质控核查权限!");
@@ -630,6 +630,7 @@ function bindAllDeptSelect(){
         $('.selectAllDept i').text(deptItemName)
         $('.selectAllDept i').text(deptItemName)
         $('.selectAllDept').attr('title',deptItemName)
         $('.selectAllDept').attr('title',deptItemName)
         $(".deptAllList").css("display", "none")
         $(".deptAllList").css("display", "none")
+        getTabData(1)
     })
     })
 }
 }
 //质控员选择
 //质控员选择