Browse Source

bug修复

seimin 5 months ago
parent
commit
1641c7f127
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/app/components/order-scope/order-scope.component.ts

+ 1 - 1
src/app/components/order-scope/order-scope.component.ts

@@ -131,7 +131,7 @@ export class OrderScopeComponent implements OnInit {
131
       this.hosList = hospitals.filter(v => !this.tool.isDuty(v));
131
       this.hosList = hospitals.filter(v => !this.tool.isDuty(v));
132
       this.taskTypes = this.user.infoPermission.taskTypes || [];
132
       this.taskTypes = this.user.infoPermission.taskTypes || [];
133
       let userGroups = this.user.infoPermission.groups || [];
133
       let userGroups = this.user.infoPermission.groups || [];
134
-      this.userGroups = this.user.infoPermission.groups.filter(v => v.type !== 3);
134
+      this.userGroups = userGroups.filter(v => v.type !== 3);
135
       this.hosList.forEach((e) => {
135
       this.hosList.forEach((e) => {
136
         let arrT = [],
136
         let arrT = [],
137
           arrG = [];
137
           arrG = [];