Browse Source

[完善]完善跳转路径

master
邵佳豪 4 years ago
parent
commit
c97e00f5fa
  1. 6
      src/app/ui/similar-plans/similar-plans.component.ts

6
src/app/ui/similar-plans/similar-plans.component.ts

@ -44,7 +44,11 @@ export class SimilarPlansComponent implements OnInit {
isResponsePlans = false //默认是否是处置预案
openDeatails(){
this.router.navigate(['ui/similarPlans/collectionTools'],{queryParams:{'usci':'B56498312911454698','planComponentId':'5fa3820af8eb762cb03c666d'}})
if(this.router.url == '/ui/similarPlans'){
this.router.navigate(['ui/similarPlans/collectionTools'],{queryParams:{'usci':'B56498312911454698','planComponentId':'5fa3820af8eb762cb03c666d'}})
}else if (this.router.url == '/similarPlansList'){
this.router.navigate(['similarPlans'],{queryParams:{'usci':'B56498312911454698','planComponentId':'5fa3820af8eb762cb03c666d'}})
}
}
back(){
this.isResponsePlans = false

Loading…
Cancel
Save