增加报警系统数据
This commit is contained in:
parent
a54616fc2c
commit
0f4e64b0fc
File diff suppressed because one or more lines are too long
@ -14,7 +14,6 @@ export default class line extends Group {
|
|||||||
}
|
}
|
||||||
create() {
|
create() {
|
||||||
const model = this.model;
|
const model = this.model;
|
||||||
console.log(model);
|
|
||||||
this.grouper = new Group({
|
this.grouper = new Group({
|
||||||
id: model.code,
|
id: model.code,
|
||||||
position: [model.point1.x, model.point1.y]
|
position: [model.point1.x, model.point1.y]
|
||||||
|
@ -88,7 +88,6 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
createDataModel(model) {
|
createDataModel(model) {
|
||||||
console.log(model);
|
|
||||||
const newModel = deviceFactory(model._type, model);
|
const newModel = deviceFactory(model._type, model);
|
||||||
this.$store.dispatch('iscs/updateIscsDevices', newModel.model);
|
this.$store.dispatch('iscs/updateIscsDevices', newModel.model);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user