From df39d836dcf3f38a2f40cb747c99ab791c176552 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Sun, 19 Jan 2020 14:03:32 +0800 Subject: [PATCH] =?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 --- .../iscsDraw/iscsAcsOperate/entranceGuard.vue | 8 ++-- .../iscsDraw/iscsAfcOperate/brakeMachine.vue | 8 ++-- .../semiAutomaticTicketMachine.vue | 8 ++-- .../iscsDraw/iscsAfcOperate/ticketMachine.vue | 8 ++-- .../iscsBasOperate/airConditioner.vue | 4 +- .../iscsDraw/iscsBasOperate/chiller.vue | 4 +- .../iscsDraw/iscsBasOperate/coolTower.vue | 4 +- .../iscsDraw/iscsBasOperate/fireDamper.vue | 4 +- .../iscsDraw/iscsBasOperate/frozenPump.vue | 4 +- .../system/iscsDraw/iscsBasOperate/jetFan.vue | 4 +- .../iscsBasOperate/orbitalVentilator.vue | 4 +- .../iscsDraw/iscsBasOperate/smookProofFd.vue | 4 +- .../iscsDraw/iscsBasOperate/tunnelFan.vue | 4 +- .../iscsDraw/iscsBasOperate/ventilator.vue | 4 +- .../iscsOperate/fireHydranAlarmButton.vue | 8 ++-- .../iscsDraw/iscsOperate/gasFireControl.vue | 39 +++++++++++------ .../iscsOperate/manualAlarmButton.vue | 39 +++++++++++------ .../iscsDraw/iscsOperate/smokeDetector.vue | 41 ++++++++++++------ .../iscsOperate/temperatureDetector.vue | 36 ++++++++++++---- .../iscsDraw/iscsPsdOperate/borderRadius.vue | 42 +++++++++++++------ .../iscsDraw/iscsPsdOperate/endDoor.vue | 41 ++++++++++++------ .../iscsPsdOperate/platformScreenDoor.vue | 39 +++++++++++------ 22 files changed, 233 insertions(+), 124 deletions(-) diff --git a/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue b/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue index 58ce6f23e..985e87750 100644 --- a/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue +++ b/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue @@ -57,10 +57,10 @@ export default { this.buttonText = '修改'; this.showDeleteButton = true; this.isUpdate = true; - this.form.code = model.code; - this.form.width = model.width; - this.form.x = model.point.x; - this.form.y = model.point.y; + this.addModel.code = model.code; + this.addModel.width = model.width; + this.addModel.x = model.point.x; + this.addModel.y = model.point.y; } } }, diff --git a/src/views/system/iscsDraw/iscsAfcOperate/brakeMachine.vue b/src/views/system/iscsDraw/iscsAfcOperate/brakeMachine.vue index fa6672e01..eb26a423c 100644 --- a/src/views/system/iscsDraw/iscsAfcOperate/brakeMachine.vue +++ b/src/views/system/iscsDraw/iscsAfcOperate/brakeMachine.vue @@ -57,10 +57,10 @@ export default { this.buttonText = '修改'; this.showDeleteButton = true; this.isUpdate = true; - this.form.code = model.code; - this.form.width = model.width; - this.form.x = model.point.x; - this.form.y = model.point.y; + this.addModel.code = model.code; + this.addModel.width = model.width; + this.addModel.x = model.point.x; + this.addModel.y = model.point.y; } } }, diff --git a/src/views/system/iscsDraw/iscsAfcOperate/semiAutomaticTicketMachine.vue b/src/views/system/iscsDraw/iscsAfcOperate/semiAutomaticTicketMachine.vue index af52e4d32..362643a0d 100644 --- a/src/views/system/iscsDraw/iscsAfcOperate/semiAutomaticTicketMachine.vue +++ b/src/views/system/iscsDraw/iscsAfcOperate/semiAutomaticTicketMachine.vue @@ -57,10 +57,10 @@ export default { this.buttonText = '修改'; this.showDeleteButton = true; this.isUpdate = true; - this.form.code = model.code; - this.form.width = model.width; - this.form.x = model.point.x; - this.form.y = model.point.y; + this.addModel.code = model.code; + this.addModel.width = model.width; + this.addModel.x = model.point.x; + this.addModel.y = model.point.y; } } }, diff --git a/src/views/system/iscsDraw/iscsAfcOperate/ticketMachine.vue b/src/views/system/iscsDraw/iscsAfcOperate/ticketMachine.vue index 2d860b5b9..fb471d677 100644 --- a/src/views/system/iscsDraw/iscsAfcOperate/ticketMachine.vue +++ b/src/views/system/iscsDraw/iscsAfcOperate/ticketMachine.vue @@ -57,10 +57,10 @@ export default { this.buttonText = '修改'; this.showDeleteButton = true; this.isUpdate = true; - this.form.code = model.code; - this.form.width = model.width; - this.form.x = model.point.x; - this.form.y = model.point.y; + this.addModel.code = model.code; + this.addModel.width = model.width; + this.addModel.x = model.point.x; + this.addModel.y = model.point.y; } } }, diff --git a/src/views/system/iscsDraw/iscsBasOperate/airConditioner.vue b/src/views/system/iscsDraw/iscsBasOperate/airConditioner.vue index dff906551..4d94a7a7f 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/airConditioner.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/airConditioner.vue @@ -59,8 +59,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'AirConditioner' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsBasOperate/chiller.vue b/src/views/system/iscsDraw/iscsBasOperate/chiller.vue index c894ffcd8..5f42c51df 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/chiller.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/chiller.vue @@ -59,8 +59,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'Chiller' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsBasOperate/coolTower.vue b/src/views/system/iscsDraw/iscsBasOperate/coolTower.vue index daa7bc14a..ef1eb8f00 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/coolTower.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/coolTower.vue @@ -59,8 +59,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'CoolTower' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsBasOperate/fireDamper.vue b/src/views/system/iscsDraw/iscsBasOperate/fireDamper.vue index acabe4cf3..d01089f77 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/fireDamper.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/fireDamper.vue @@ -59,8 +59,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'FireDamper' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsBasOperate/frozenPump.vue b/src/views/system/iscsDraw/iscsBasOperate/frozenPump.vue index fc4ca4814..309c8eac3 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/frozenPump.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/frozenPump.vue @@ -69,8 +69,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'FrozenPump' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsBasOperate/jetFan.vue b/src/views/system/iscsDraw/iscsBasOperate/jetFan.vue index a180c5c2a..50a21a9e1 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/jetFan.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/jetFan.vue @@ -59,8 +59,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'JetFan' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsBasOperate/orbitalVentilator.vue b/src/views/system/iscsDraw/iscsBasOperate/orbitalVentilator.vue index fc093211a..ba241bb88 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/orbitalVentilator.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/orbitalVentilator.vue @@ -59,8 +59,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'OrbitalVentilator' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsBasOperate/smookProofFd.vue b/src/views/system/iscsDraw/iscsBasOperate/smookProofFd.vue index 61cd6f112..5533b60f7 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/smookProofFd.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/smookProofFd.vue @@ -59,8 +59,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'SmookProofFd' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsBasOperate/tunnelFan.vue b/src/views/system/iscsDraw/iscsBasOperate/tunnelFan.vue index 994161a7e..5dffd7b2a 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/tunnelFan.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/tunnelFan.vue @@ -59,8 +59,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'TunnelFan' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsBasOperate/ventilator.vue b/src/views/system/iscsDraw/iscsBasOperate/ventilator.vue index d221c4088..2ef00ff9e 100644 --- a/src/views/system/iscsDraw/iscsBasOperate/ventilator.vue +++ b/src/views/system/iscsDraw/iscsBasOperate/ventilator.vue @@ -59,8 +59,8 @@ export default { ]) }, watch:{ - '$store.state.ibp.rightClickCount': function (val) { - const model = this.$store.getters['ibp/updateDeviceData']; + '$store.state.iscs.rightClickCount': function (val) { + const model = this.$store.getters['iscs/updateDeviceData']; if (model._type === 'Ventilator' ) { this.buttonText = '修改'; this.showDeleteButton = true; diff --git a/src/views/system/iscsDraw/iscsOperate/fireHydranAlarmButton.vue b/src/views/system/iscsDraw/iscsOperate/fireHydranAlarmButton.vue index 49fa27d13..180e3ea0a 100644 --- a/src/views/system/iscsDraw/iscsOperate/fireHydranAlarmButton.vue +++ b/src/views/system/iscsDraw/iscsOperate/fireHydranAlarmButton.vue @@ -56,10 +56,10 @@ export default { this.buttonText = '修改'; this.showDeleteButton = true; this.isUpdate = true; - this.form.code = model.code; - this.form.width = model.width; - this.form.x = model.point.x; - this.form.y = model.point.y; + this.addModel.code = model.code; + this.addModel.width = model.width; + this.addModel.x = model.point.x; + this.addModel.y = model.point.y; } } }, diff --git a/src/views/system/iscsDraw/iscsOperate/gasFireControl.vue b/src/views/system/iscsDraw/iscsOperate/gasFireControl.vue index eb632d39c..0fb96f0ad 100644 --- a/src/views/system/iscsDraw/iscsOperate/gasFireControl.vue +++ b/src/views/system/iscsDraw/iscsOperate/gasFireControl.vue @@ -1,8 +1,8 @@