|
|
|
@ -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); |
|
|
|
|