Browse Source

学校权限设置

xiatian 5 năm trước cách đây
mục cha
commit
1ab9d83133
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/modules/basic/view/school_privilege_settings.vue

+ 5 - 1
src/modules/basic/view/school_privilege_settings.vue

@@ -117,7 +117,11 @@ export default {
         if (0 < this.roleList.length) {
           this.form.roleId = this.roleList[0].roleId;
         }
-        this.privilegeGroupList = resp3.data;
+        this.privilegeGroupList = resp3.data.filter(function(item) {
+          if (item.ext1 == "function") {
+            return item;
+          }
+        });
         if (0 < this.privilegeGroupList.length) {
           this.form.privilegeGroupId = this.privilegeGroupList[0].id;
         }