Commit 87639f29 by 王昆

gsb

parent 4a5f2760
...@@ -310,6 +310,11 @@ class DeliverService extends ServiceBase { ...@@ -310,6 +310,11 @@ class DeliverService extends ServiceBase {
} }
setAuth(row) { setAuth(row) {
if(row.isManager) {
row.auth = [1,2,3,4];
row.authNames = "管理员";
return;
}
let auth = row.auth; let auth = row.auth;
if(!auth || auth.length < 4) { if(!auth || auth.length < 4) {
row.auth = []; row.auth = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment