陈鹏飞 3 years ago
parent
commit
362282a6bc
  1. 4
      src/app/pages/left-domain/left-domain.component.ts
  2. 8
      src/app/pages/plan/plan.component.ts

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

@ -371,8 +371,8 @@ export class LeftDomainComponent implements OnInit {
} else if (this.selectPlanId === item.id && this.selectNodeId === e.id) { //取消选中
this.selectPlanId = null
this.selectNodeId = null
PlanComponent.instance.beforeEmergencyPlan = new MarkPlanData(-99, "请选择节点")
PlanComponent.instance.beforePlanNode = new MarkNodeData(-99, "请选择节点")
PlanComponent.instance.beforeEmergencyPlan = new MarkPlanData(-99, "请选择应急预案")
PlanComponent.instance.beforePlanNode = new MarkNodeData(-99, "请选择应急预案")
this.updateFatherData(index) //更新/初始化父组件 数据
MarkWindow.instance.selectMarkNode(null, null)
}

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

@ -497,8 +497,8 @@ export class PlanComponent implements OnInit {
}
allMarkPlanData: AllMarkPlanData; //处置预案节点 数据
beforeEmergencyPlan: MarkPlanData = new MarkPlanData(-99, "请选择节点"); //当前选择 应急预案
beforePlanNode: MarkNodeData = new MarkNodeData(-99, "请选择节点"); //当前选择 预案节点
beforeEmergencyPlan: MarkPlanData = new MarkPlanData(-99, "请选择应急预案"); //当前选择 应急预案
beforePlanNode: MarkNodeData = new MarkNodeData(-99, "请选择应急预案"); //当前选择 预案节点
nzCurrent: number = -1; //当前选择 预案节点Index
isSuspend: boolean = false; //是否暂停 自动切换节点
progressList: number[] = []; //进度条 条/值
@ -506,8 +506,8 @@ export class PlanComponent implements OnInit {
//初始化 应急预案模块
initializePlan() {
this.beforeEmergencyPlan = new MarkPlanData(-99, "请选择节点")
this.beforePlanNode = new MarkNodeData(-99, "请选择节点")
this.beforeEmergencyPlan = new MarkPlanData(-99, "请选择应急预案")
this.beforePlanNode = new MarkNodeData(-99, "请选择应急预案")
this.isSuspend = false //初始化暂停状态
this.progressList = []
window.clearTimeout(this.updateTimer) //清除定时器

Loading…
Cancel
Save