|
@@ -186,8 +186,8 @@ export default {
|
|
...mapGetters("layout", ["projectId", "secret", "userId"])
|
|
...mapGetters("layout", ["projectId", "secret", "userId"])
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- this.deviceId = this.$route.params.deviceId; //设备id
|
|
|
|
- this.typeId = this.$route.params.typeId; //设备类id
|
|
|
|
|
|
+ this.deviceId = this.$route.query.deviceId; //设备id
|
|
|
|
+ this.typeId = this.$route.query.typeId; //设备类id
|
|
this.mess.deviceId = this.typeId;
|
|
this.mess.deviceId = this.typeId;
|
|
this.getTypes();
|
|
this.getTypes();
|
|
this.getEquipmentFamilyList();
|
|
this.getEquipmentFamilyList();
|