Browse Source

[修改]三五级预案在线编制路由传递参数新增预案级别

上海一张图
chenjingyu 4 years ago
parent
commit
ecba9296c7
  1. 4
      src/app/plan-management/entry-plan-look/entry-plan-look.component.ts

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

@ -203,7 +203,7 @@ export class EntryPlanLookComponent implements OnInit {
}
else if (e.planType == 16) {
if(e.attachmentUrls==null){
window.open(`/planManagement/createplanonlinefive?navIsOpen=false&companyId=${this.companyId}&planName=${e.name}&unitName=${this.unitdata.unitname}`)
window.open(`/planManagement/createplanonlinefive?navIsOpen=false&companyId=${this.companyId}&planName=${e.name}&unitName=${this.unitdata.unitname}&planCategory=${e.planCategory}`)
}
else{
let body = JSON.stringify("");
@ -910,7 +910,7 @@ export class AddPlanone {
this.planData=plandata
this.dialogRef.close(plandata);
//console.log(plandata)
window.open(`/planManagement/createplanonlinefive?navIsOpen=false&companyId=${this.data.companyId}&planName=${this.planData.name}&unitName=${this.data.unitName}`)
window.open(`/planManagement/createplanonlinefive?navIsOpen=false&companyId=${this.data.companyId}&planName=${this.planData.name}&unitName=${this.data.unitName}&planCategory=${this.selectedPLanLevel}`)
})
}else{
this.snackBar.open('请先创建模板!','确定',config);

Loading…
Cancel
Save