|
@@ -257,8 +257,9 @@ export class UsersManagementComponent implements OnInit {
|
257
|
257
|
};
|
258
|
258
|
let groupData = {
|
259
|
259
|
group2: {
|
260
|
|
- hospitals: hid,
|
|
260
|
+ hospitals: this.coopBtns.crossHospital ? undefined : hid,
|
261
|
261
|
typeIds: '1,3',
|
|
262
|
+ crossHospital: this.coopBtns.crossHospital ? hid : undefined,
|
262
|
263
|
},
|
263
|
264
|
idx: 0,
|
264
|
265
|
sum: 9999,
|
|
@@ -304,8 +305,9 @@ export class UsersManagementComponent implements OnInit {
|
304
|
305
|
};
|
305
|
306
|
let groupData = {
|
306
|
307
|
group2: {
|
307
|
|
- hospitals: id,
|
|
308
|
+ hospitals: this.coopBtns.crossHospital ? undefined : id,
|
308
|
309
|
typeIds: '1,3',
|
|
310
|
+ crossHospital: this.coopBtns.crossHospital ? id : undefined,
|
309
|
311
|
},
|
310
|
312
|
idx: 0,
|
311
|
313
|
sum: 9999,
|
|
@@ -474,8 +476,9 @@ export class UsersManagementComponent implements OnInit {
|
474
|
476
|
};
|
475
|
477
|
let groupData = {
|
476
|
478
|
group2: {
|
477
|
|
- hospitals: hid,
|
|
479
|
+ hospitals: this.coopBtns.crossHospital ? undefined : hid,
|
478
|
480
|
typeIds: '1,3',
|
|
481
|
+ crossHospital: this.coopBtns.crossHospital ? hid : undefined,
|
479
|
482
|
},
|
480
|
483
|
idx: 0,
|
481
|
484
|
sum: 9999,
|