From 291af56b2f106edda84214cec1bf7852dd634366 Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Thu, 6 Feb 2020 14:54:19 +0800 Subject: [PATCH 1/3] =?UTF-8?q?iscs=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/iscs/shape/Vidicon.js | 1 + .../iscs/iscsDraw/iscsAfcOperate/index.vue | 2 +- .../iscs/iscsDraw/iscsCctvOperate/index.vue | 12 +++++++- .../iscs/iscsDraw/iscsCctvOperate/vidicon.vue | 29 +++++++------------ .../brakeMachine.vue | 0 5 files changed, 24 insertions(+), 20 deletions(-) rename src/views/iscs/iscsDraw/{iscsAfcOperate => iscsCommonElem}/brakeMachine.vue (100%) diff --git a/src/iscs/shape/Vidicon.js b/src/iscs/shape/Vidicon.js index cbaac8965..0c6a6c54b 100644 --- a/src/iscs/shape/Vidicon.js +++ b/src/iscs/shape/Vidicon.js @@ -76,6 +76,7 @@ export default class Vidicon extends Group { } else { this.grouper.add(this.PolylineLeft); } + this.grouper.rotation = Math.PI / 180 * (this.model.rotationAngle || 0); this.add(this.grouper); } diff --git a/src/views/iscs/iscsDraw/iscsAfcOperate/index.vue b/src/views/iscs/iscsDraw/iscsAfcOperate/index.vue index a24e16c7d..7438ffe8e 100644 --- a/src/views/iscs/iscsDraw/iscsAfcOperate/index.vue +++ b/src/views/iscs/iscsDraw/iscsAfcOperate/index.vue @@ -65,7 +65,7 @@ + + diff --git a/src/views/iscs/iscsDraw/iscsAfcOperate/index.vue b/src/views/iscs/iscsDraw/iscsAfcOperate/index.vue index 7438ffe8e..a24e16c7d 100644 --- a/src/views/iscs/iscsDraw/iscsAfcOperate/index.vue +++ b/src/views/iscs/iscsDraw/iscsAfcOperate/index.vue @@ -65,7 +65,7 @@ + + diff --git a/src/views/iscs/iscsDraw/iscsOperate/index.vue b/src/views/iscs/iscsDraw/iscsOperate/index.vue index 67c6ca171..eb778dcac 100644 --- a/src/views/iscs/iscsDraw/iscsOperate/index.vue +++ b/src/views/iscs/iscsDraw/iscsOperate/index.vue @@ -34,6 +34,22 @@ @deleteDataModel="deleteDataModel" /> + + + + + +