|
@@ -107,7 +107,7 @@ export class GroupManagementComponent implements OnInit {
|
107
|
107
|
user: {
|
108
|
108
|
name: this.searchName,
|
109
|
109
|
usertype: { id: 106 },
|
110
|
|
- hospital: { id: this.checkedGroup["hospital"]["id"] },
|
|
110
|
+ hospital: { id: this.hosId },
|
111
|
111
|
},
|
112
|
112
|
};
|
113
|
113
|
this.timeNum++;
|
|
@@ -168,7 +168,7 @@ export class GroupManagementComponent implements OnInit {
|
168
|
168
|
checkGroup(data) {
|
169
|
169
|
this.positionY = this.osComponentRef1.osInstance().scroll().position.y; //内容滚动的距离
|
170
|
170
|
this.searchName = "";
|
171
|
|
- this.checkedGroup = data;
|
|
171
|
+ this.checkedGroup = data ? data : {};
|
172
|
172
|
this.mapOfCheckedId = {};
|
173
|
173
|
this.groupUserList = this.checkedGroup["users"]
|
174
|
174
|
? this.checkedGroup["users"]
|
|
@@ -318,6 +318,7 @@ export class GroupManagementComponent implements OnInit {
|
318
|
318
|
that.btnLoading = false;
|
319
|
319
|
if (data.status == 200) {
|
320
|
320
|
that.showPromptModal("删除", true, "");
|
|
321
|
+ this.checkedGroup = {};
|
321
|
322
|
} else {
|
322
|
323
|
that.showPromptModal("删除", false, data.msg);
|
323
|
324
|
}
|