Browse Source

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

minitiger 8 years ago
parent
commit
bb6e45b4f2
1 changed files with 1 additions and 1 deletions
  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);
     console.log(colFunc.oper);
     cols.push(colFunc);
     cols.push(colFunc);
     var checkable = false;
     var checkable = false;
-    if(cur_status==21){
+    if(cur_status==21 && hasRole(ROLE_JICHA_ADMIN)){
         checkable = true;
         checkable = true;
     }
     }
     $('#unexamined_datatable').mytable({'cols':cols,
     $('#unexamined_datatable').mytable({'cols':cols,