From 7987f6bd12e3f1f1ef00a33f560aef2b673ebd38 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Fri, 17 Jan 2020 15:42:20 +0800 Subject: [PATCH 1/2] =?UTF-8?q?iscs=20bas=20=E7=BB=84=E4=BB=B6=20uid=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/iscs/constant/deviceRender.js | 12 ++++++------ src/iscs/utils/parser.js | 12 ++++++------ .../iscsDraw/iscsBasOperate/airConditioner.vue | 12 ++++++------ .../system/iscsDraw/iscsBasOperate/chiller.vue | 12 ++++++------ .../system/iscsDraw/iscsBasOperate/coolTower.vue | 12 ++++++------ .../iscsDraw/iscsBasOperate/smookProofFd.vue | 14 +++++++------- 6 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/iscs/constant/deviceRender.js b/src/iscs/constant/deviceRender.js index cc3020dc9..6c258a42a 100644 --- a/src/iscs/constant/deviceRender.js +++ b/src/iscs/constant/deviceRender.js @@ -99,37 +99,37 @@ deviceRender[deviceType.BorderRadius] = { z: 4 }; -/** 圆角边框渲染配置 */ +/** 空调机 */ deviceRender[deviceType.AirConditioner] = { _type: deviceType.AirConditioner, zlevel: 1, z: 4 }; -/** 圆角边框渲染配置 */ +/** 轨道排风机 */ deviceRender[deviceType.OrbitalVentilator] = { _type: deviceType.OrbitalVentilator, zlevel: 1, z: 4 }; -/** 圆角边框渲染配置 */ +/** 射流风机 */ deviceRender[deviceType.JetFan] = { _type: deviceType.JetFan, zlevel: 1, z: 4 }; -/** 圆角边框渲染配置 */ +/** 隧道风机 */ deviceRender[deviceType.TunnelFan] = { _type: deviceType.TunnelFan, zlevel: 1, z: 4 }; -/** 圆角边框渲染配置 */ +/** 防火阀 */ deviceRender[deviceType.FireDamper] = { _type: deviceType.FireDamper, zlevel: 1, z: 4 }; -/** 圆角边框渲染配置 */ +/** 防烟防火阀 */ deviceRender[deviceType.SmookProofFd] = { _type: deviceType.SmookProofFd, zlevel: 1, diff --git a/src/iscs/utils/parser.js b/src/iscs/utils/parser.js index 0ff6fd738..ff1a52a0d 100644 --- a/src/iscs/utils/parser.js +++ b/src/iscs/utils/parser.js @@ -87,22 +87,22 @@ export function parser(data) { iscsDevice[elem.code] = deviceFactory(deviceType.BorderRadius, elem); } ); - zrUtil.each(data.AirConditioner || [], elem =>{ + zrUtil.each(data.airConditionerList || [], elem =>{ iscsDevice[elem.code] = deviceFactory(deviceType.AirConditioner, elem); } ); - zrUtil.each(data.OrbitalVentilator || [], elem =>{ + zrUtil.each(data.orbitalVentilatorList || [], elem =>{ iscsDevice[elem.code] = deviceFactory(deviceType.OrbitalVentilator, elem); } ); - zrUtil.each(data.JetFan || [], elem =>{ + zrUtil.each(data.jetFanList || [], elem =>{ iscsDevice[elem.code] = deviceFactory(deviceType.JetFan, elem); } ); - zrUtil.each(data.TunnelFan || [], elem =>{ + zrUtil.each(data.tunnelFanList || [], elem =>{ iscsDevice[elem.code] = deviceFactory(deviceType.TunnelFan, elem); } ); - zrUtil.each(data.FireDamper || [], elem =>{ + zrUtil.each(data.fireDamperList || [], elem =>{ iscsDevice[elem.code] = deviceFactory(deviceType.FireDamper, elem); } ); - zrUtil.each(data.SmookProofFd || [], elem =>{ + zrUtil.each(data.smookProofFdList || [], elem =>{ iscsDevice[elem.code] = deviceFactory(deviceType.SmookProofFd, elem); } ); diff --git a/src/views/system/iscsDraw/iscsBasOperate/airConditioner.vue b/src/views/system/iscsDraw/iscsBasOperate/airConditioner.vue index 6001d4fa7..dff906551 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/airConditioner.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/airConditioner.vue @@ -22,6 +22,8 @@