From 15792612b1bcee60c0d6fc89612bdcb5c97376fa Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Wed, 23 Feb 2022 14:26:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=98=80=E9=97=A8=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/plan/plan.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/pages/plan/plan.component.ts b/src/app/pages/plan/plan.component.ts index 3b47b46..ca77515 100644 --- a/src/app/pages/plan/plan.component.ts +++ b/src/app/pages/plan/plan.component.ts @@ -173,7 +173,7 @@ export class PlanComponent implements OnInit { //开发模式 选择单位 弹窗 modelInit(InsList) { } - allFence: string[] = ["基本信息", "加油机", "油罐设备", "消防设施", "安全疏散", "输油管线", "油气回收", "应急预案"]; //头部 功能栏 + allFence: string[] = ["基本信息", "加油机", "油罐设备", "消防设施", "安全疏散", "输油管线", "油气回收", "应急预案", "阀门"]; //头部 功能栏 baseInfoMarks: baseInfoMark[] = [new baseInfoMark("毗邻"), new baseInfoMark("区域"), new baseInfoMark("图片"), new baseInfoMark("点位")] //基本信息 设备筛选list selectFence: number = -1; //选中 头部功能栏 isShowChildComponent: boolean = false; //是否 显示左侧子组件 @@ -238,6 +238,8 @@ export class PlanComponent implements OnInit { fenceType = JYZInfoMoudleType.YQHSGX } else if (type === 7) { fenceType = JYZInfoMoudleType.YJCZ + } else if (type === 8) { + fenceType = JYZInfoMoudleType.YJCZ } return fenceType } From 4671f0d5a60ce5ea9d9d0200a477260b9148dae1 Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Wed, 23 Feb 2022 15:00:59 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=98=80=E9=97=A8=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/left-domain/left-domain.component.html | 15 +++++++++++++++ .../pages/left-domain/left-domain.component.ts | 4 +++- src/app/pages/plan/plan.component.ts | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/app/pages/left-domain/left-domain.component.html b/src/app/pages/left-domain/left-domain.component.html index 891bfe6..c5457af 100644 --- a/src/app/pages/left-domain/left-domain.component.html +++ b/src/app/pages/left-domain/left-domain.component.html @@ -205,6 +205,21 @@ + +
+
+

+
+
+

描述

+
+
+

+
+
+
+
+ diff --git a/src/app/pages/left-domain/left-domain.component.ts b/src/app/pages/left-domain/left-domain.component.ts index 33e512a..3ddda71 100644 --- a/src/app/pages/left-domain/left-domain.component.ts +++ b/src/app/pages/left-domain/left-domain.component.ts @@ -83,11 +83,13 @@ export class LeftDomainComponent implements OnInit { item.getType() === "JY_SYGX" ? list.push(item) : null } else if (this.beforeFence === 6) { //油气回收 item.getType() === "JY_YQHSGX" ? list.push(item) : null + } else if (this.beforeFence === 8) { //阀门 + item.getType() === "JY_FM" ? list.push(item) : null } }) this.FacilityList = list this.selectFacilityId = null - if (this.beforeFence === 1 || this.beforeFence === 2) { //加油机/油罐设备 + if (this.beforeFence === 1 || this.beforeFence === 2 || this.beforeFence === 8) { //加油机/油罐设备/阀门 this.FacilityList.forEach(item => { window.setTimeout(()=>{ this.textInput(item) diff --git a/src/app/pages/plan/plan.component.ts b/src/app/pages/plan/plan.component.ts index ca77515..50e68d0 100644 --- a/src/app/pages/plan/plan.component.ts +++ b/src/app/pages/plan/plan.component.ts @@ -239,7 +239,7 @@ export class PlanComponent implements OnInit { } else if (type === 7) { fenceType = JYZInfoMoudleType.YJCZ } else if (type === 8) { - fenceType = JYZInfoMoudleType.YJCZ + fenceType = JYZInfoMoudleType.FM } return fenceType }