瀏覽代碼

修复质控评分权限的问题

xiezhiming 8 月之前
父節點
當前提交
92220b6494
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/js/qcScore.js

+ 3 - 0
src/js/qcScore.js

@@ -48,6 +48,9 @@ $(function () {
   window.document.title = (showCheckBtns ? "质控核查-" : "质控评分-") + getUrlArgObject("name");
 
   let hasAu5 = isPlacefile == 0 ? true : showCheckBtns && hasData('FUNC000011');   //新增缺陷权限
+  if (global_code === "YH-BLZK-ZKPF") {
+    hasAu5 = true
+  }
   if (hasAu5) {
     $(".add-flaw").click(function () {
       getQcCasesEntry();