From aa709a546deb52643259614ce0f57ebe0dc064cf Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Wed, 5 Feb 2020 12:21:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=89=8D=E5=8F=B0=E4=BF=9D?= =?UTF-8?q?=E5=AD=98iscs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/iscs/constant/iscsData.js | 4 ++++ src/views/iscs/iscsDraw/index.vue | 13 ++++++++++--- src/views/iscs/iscsDraw/iscsOperate/index.vue | 1 + src/views/iscsSystem/index.vue | 12 ++++++++---- 4 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 src/iscs/constant/iscsData.js diff --git a/src/iscs/constant/iscsData.js b/src/iscs/constant/iscsData.js new file mode 100644 index 000000000..78a29cbff --- /dev/null +++ b/src/iscs/constant/iscsData.js @@ -0,0 +1,4 @@ +const iscsData = { + '11': { 'manualAlarmButtonList': [{ 'point': { 'x': 560, 'y': 100 }, 'code': 'ManualAlarmButton_1', '_type': 'ManualAlarmButton', 'width': 25, 'zlevel': 1, 'z': 4 }], 'fireHydranAlarmButtonList': [{ 'point': { 'x': 562, 'y': 234 }, 'code': 'FireHydranAlarmButton_1', '_type': 'FireHydranAlarmButton', 'width': 25, 'zlevel': 1, 'z': 4 }, { 'point': { 'x': 201, 'y': 242 }, 'code': 'FireHydranAlarmButton_2', '_type': 'FireHydranAlarmButton', 'width': 25, 'zlevel': 1, 'z': 4 }, { 'point': { 'x': 391, 'y': 127 }, 'code': 'FireHydranAlarmButton_3', '_type': 'FireHydranAlarmButton', 'width': 25, 'zlevel': 1, 'z': 4 }] } +}; +export default iscsData; diff --git a/src/views/iscs/iscsDraw/index.vue b/src/views/iscs/iscsDraw/index.vue index 5bf79fb25..9277c9cc9 100644 --- a/src/views/iscs/iscsDraw/index.vue +++ b/src/views/iscs/iscsDraw/index.vue @@ -2,7 +2,7 @@
- +
@@ -16,6 +16,7 @@