seimin 3 роки тому
батько
коміт
f71c322537

+ 2 - 0
src/app/views/wechat-config/wechat-config.component.ts

@@ -171,6 +171,8 @@ export class WechatConfigComponent implements OnInit {
171
   //修改默认院区
171
   //修改默认院区
172
   hospitalChange(hosId) {
172
   hospitalChange(hosId) {
173
     this.hosId = hosId;
173
     this.hosId = hosId;
174
+    this.validateForm.controls.defaultDept.setValue(null);
175
+    this.validateForm.controls.defaultGroup.setValue(null);
174
     this.getGroupList(hosId).subscribe((result) => {
176
     this.getGroupList(hosId).subscribe((result) => {
175
       if (result.status == 200) {
177
       if (result.status == 200) {
176
         this.groupList = result.list;
178
         this.groupList = result.list;