Browse Source

删除代码

dev
陈鹏飞 3 years ago
parent
commit
7ca1973a3c
  1. 1
      src/app/pages/left-domain/left-domain.component.ts
  2. 1
      src/app/pages/plan/plan.component.ts

1
src/app/pages/left-domain/left-domain.component.ts

@ -283,7 +283,6 @@ export class LeftDomainComponent implements OnInit {
this.updateFatherData(index) //更新/初始化父组件 数据 this.updateFatherData(index) //更新/初始化父组件 数据
PlanComponent.instance.initViewer() PlanComponent.instance.initViewer()
MarkWindow.instance.selectMarkNode(item.id, e.id) MarkWindow.instance.selectMarkNode(item.id, e.id)
PlanComponent.instance.beforePlanNode = MarkWindow.instance.currentMarkNodeInfo.nodeData
} else if (this.selectPlanId === item.id && this.selectNodeId === e.id) { //取消选中 } else if (this.selectPlanId === item.id && this.selectNodeId === e.id) { //取消选中
this.selectPlanId = null this.selectPlanId = null
this.selectNodeId = null this.selectNodeId = null

1
src/app/pages/plan/plan.component.ts

@ -475,7 +475,6 @@ export class PlanComponent implements OnInit {
this.isShowChildComponent && this.leftDomain ? this.leftDomain.selectPlanId = this.beforeEmergencyPlan.id : null this.isShowChildComponent && this.leftDomain ? this.leftDomain.selectPlanId = this.beforeEmergencyPlan.id : null
this.isShowChildComponent && this.leftDomain ? this.leftDomain.selectNodeId = this.beforePlanNode.id : null this.isShowChildComponent && this.leftDomain ? this.leftDomain.selectNodeId = this.beforePlanNode.id : null
MarkWindow.instance.selectMarkNode(this.beforeEmergencyPlan.id, this.beforePlanNode.id, false, true) MarkWindow.instance.selectMarkNode(this.beforeEmergencyPlan.id, this.beforePlanNode.id, false, true)
this.beforePlanNode = MarkWindow.instance.currentMarkNodeInfo.nodeData
this.initViewer() this.initViewer()
this.updateProgress() //更新进度条 this.updateProgress() //更新进度条
resolve(true) resolve(true)

Loading…
Cancel
Save