diff --git a/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue b/src/views/system/iscsDraw/iscsAcsOperate/entranceGuard.vue index 04e0b90ab..5d718baaa 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 606305072..0f222f6e4 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 becae6ba4..ea98b3369 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 b46ec5f3c..358f6b54f 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 6b2398bbe..33e826d5a 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 8c640359a..2383a31c4 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 84a1aef5c..358a49e13 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 db6d9bf68..dcdc9f137 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 12c2a2b3a..088302916 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 78f5cc1a1..2fd90edd8 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 2a1483139..404d2d530 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 13a81e814..7494c7f87 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 a47de0b2e..f5b08412a 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 25f387342..89e6a3b96 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 7fc5582ff..4476cac06 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 @@