zhouna 4 vuotta sitten
vanhempi
commit
d871f795ba
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      src/js/allotCheckTask.js

+ 2 - 1
src/js/allotCheckTask.js

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