seimin 1 年之前
父节点
当前提交
610052b13e

+ 1 - 1
src/app/views/clinical-users-management/clinical-users-management.component.html

@@ -228,7 +228,7 @@
228 228
   [info]="promptInfo"></app-prompt-modal>
229 229
 
230 230
 <!-- 查看详情 -->
231
-<router-outlet></router-outlet>
231
+<router-outlet (deactivate)="getList()"></router-outlet>
232 232
 
233 233
 <!-- 遮罩 -->
234 234
 <app-mask *ngIf="maskFlag"></app-mask>

+ 1 - 1
src/app/views/clinical-users-management/clinical-users-management.component.ts

@@ -542,7 +542,7 @@ export class ClinicalUsersManagementComponent implements OnInit {
542 542
 
543 543
   // 查看
544 544
   detail(id) {
545
-    this.router.navigateByUrl("/main/usersManagement/userDetail/" + id);
545
+    this.router.navigateByUrl("/main/clinicalUsersManagement/userDetail/" + id);
546 546
   }
547 547
   // 边输边搜节流阀
548 548
   isLoading = false;

+ 1 - 1
src/app/views/user-detail/user-detail.component.ts

@@ -23,7 +23,7 @@ export class UserDetailComponent implements OnInit {
23 23
     this.getDetail();
24 24
   }
25 25
   hideModal() {
26
-    this.router.navigateByUrl("/main/usersManagement");
26
+    history.go(-1);
27 27
   }
28 28
 
29 29
   // 获取详情

+ 1 - 1
src/app/views/users-management/users-management.component.html

@@ -215,7 +215,7 @@
215 215
   [info]="promptInfo"></app-prompt-modal>
216 216
 
217 217
 <!-- 查看详情 -->
218
-<router-outlet></router-outlet>
218
+<router-outlet (deactivate)="getList()"></router-outlet>
219 219
 
220 220
 <!-- 遮罩 -->
221 221
 <app-mask *ngIf="maskFlag"></app-mask>