Browse Source

编辑 三维预案

tangshan
陈鹏飞 4 years ago
parent
commit
5f4eb32581
  1. 13
      src/app/plan-management/entry-plan-look/entry-plan-look.component.ts

13
src/app/plan-management/entry-plan-look/entry-plan-look.component.ts

@ -256,7 +256,18 @@ export class EntryPlanLookComponent implements OnInit {
} }
} }
else { else if (e.planType == 2) { //三维预案
if (e.url.indexOf('app') == 0) {
window.location.href = e.url
} else {
sessionStorage.setItem("url", e.url)
if ((e.url as string).includes('gis/threeDimensionalHome')) { //三维预案
window.open(`${e.url}?unitId=${this.companyId}&unitName=${this.unitdata.unitname}&editMode=true`)
} else {
window.open(`/planManagement/webLook`)
}
}
} else {
this.snackBar.open('只有二维预案和文本预案可以编辑!', '确定', config); this.snackBar.open('只有二维预案和文本预案可以编辑!', '确定', config);
} }

Loading…
Cancel
Save