From 6faa018c71c187843bac0d142fa443d9b7f2c4f7 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Tue, 15 Oct 2019 15:24:41 +0800 Subject: [PATCH 1/3] =?UTF-8?q?desc:=20=E6=96=B0=E5=A2=9E=E5=89=A7?= =?UTF-8?q?=E6=9C=AC=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=E5=8F=AF=E6=8B=96?= =?UTF-8?q?=E6=8B=BD=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/display/index.vue | 3 + src/views/ibp/ibpDraft/ibpEdit/index.vue | 24 +- src/views/scriptManage/display/index.vue | 18 +- .../scriptManage/display/tipScriptRecord.vue | 29 +- .../scriptManage/scriptRecord/addAction.vue | 715 +++++++++--------- .../scriptManage/scriptRecord/addRole.vue | 297 ++++---- .../scriptManage/scriptRecord/getAction.vue | 289 ++++--- 7 files changed, 686 insertions(+), 689 deletions(-) diff --git a/src/views/display/index.vue b/src/views/display/index.vue index b62d48c2c..b4d39ad94 100644 --- a/src/views/display/index.vue +++ b/src/views/display/index.vue @@ -227,6 +227,9 @@ export default { } }); }, + 'size.width': function(val) { + this.setWindowSize(); + }, '$store.state.app.windowSizeCount': function() { this.setWindowSize(); }, diff --git a/src/views/ibp/ibpDraft/ibpEdit/index.vue b/src/views/ibp/ibpDraft/ibpEdit/index.vue index 449047ce1..00ff4636a 100644 --- a/src/views/ibp/ibpDraft/ibpEdit/index.vue +++ b/src/views/ibp/ibpDraft/ibpEdit/index.vue @@ -2,7 +2,7 @@
- +
@@ -22,10 +22,10 @@ export default { }, data() { return { - size: { - width: this.$store.state.app.width-521, - height: this.$store.state.app.height - 60 - } + size: { + width: this.$store.state.app.width-521, + height: this.$store.state.app.height - 60 + } }; }, watch: { @@ -33,9 +33,9 @@ export default { this.$store.dispatch('config/resize', { width: this.$store.state.app.width - 521, height: this.$store.state.app.height - 60 }); } }, - created() { - this.$store.dispatch('config/resize', { width: this.$store.state.app.width - 521, height: this.$store.state.app.height - 60 }); - }, + created() { + this.$store.dispatch('config/resize', { width: this.$store.state.app.width - 521, height: this.$store.state.app.height - 60 }); + }, mounted() { this.$refs.ibpPlate.show(); this.$refs.ibpPlate.drawIbpInit(); @@ -44,10 +44,10 @@ export default { }, methods: { - ibpChange(stationCode) { - this.$refs.ibpPlate.show(stationCode); - this.$refs.ibpPlate.drawIbpInit(); - } + ibpChange(stationCode) { + this.$refs.ibpPlate.show(stationCode); + this.$refs.ibpPlate.drawIbpInit(); + } } }; diff --git a/src/views/scriptManage/display/index.vue b/src/views/scriptManage/display/index.vue index 45b12843e..8b3b9ba60 100644 --- a/src/views/scriptManage/display/index.vue +++ b/src/views/scriptManage/display/index.vue @@ -1,8 +1,9 @@