Ver Fonte

修改一键同意无效任务功能

minitiger há 8 anos atrás
pai
commit
bb6e45b4f2
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      VisualInspection/js/mytask/apply_task.js

+ 1 - 1
VisualInspection/js/mytask/apply_task.js

@@ -96,7 +96,7 @@ function queryUnexaminedTask(){
     console.log(colFunc.oper);
     cols.push(colFunc);
     var checkable = false;
-    if(cur_status==21){
+    if(cur_status==21 && hasRole(ROLE_JICHA_ADMIN)){
         checkable = true;
     }
     $('#unexamined_datatable').mytable({'cols':cols,