Selaa lähdekoodia

备注编辑权限控制

laiguoran 3 vuotta sitten
vanhempi
commit
6d5c919719
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/public/js/change_plan_information.js

+ 1 - 1
app/public/js/change_plan_information.js

@@ -259,7 +259,7 @@ $(document).ready(() => {
                 return readOnly;
             },
             isEdit2: function (data) {
-                return change.status === auditConst.status.checked;
+                return !(!readOnly || change.shenpiPower);
             },
         },
     };