diff --git a/vue/src/views/iot/device/index.vue b/vue/src/views/iot/device/index.vue index a274a25c..54fd2f7a 100644 --- a/vue/src/views/iot/device/index.vue +++ b/vue/src/views/iot/device/index.vue @@ -259,11 +259,13 @@ export default { let productId = this.$route.query.productId if (productId != null) { this.queryParams.productId = Number(productId); + this.queryParams.groupId=null; } // 分组筛选 let groupId = this.$route.query.groupId if (groupId != null) { this.queryParams.groupId = Number(groupId); + this.queryParams.productId=null; } this.getList(); @@ -278,11 +280,13 @@ export default { let productId = this.$route.query.productId if (productId != null) { this.queryParams.productId = Number(productId); + this.queryParams.groupId=null; } // 分组筛选 let groupId = this.$route.query.groupId if (groupId != null) { this.queryParams.groupId = Number(groupId); + this.queryParams.productId=null; } this.getList(); } diff --git a/vue/src/views/iot/device/running-status.vue b/vue/src/views/iot/device/running-status.vue index dc1c8a9c..bc4f4f67 100644 --- a/vue/src/views/iot/device/running-status.vue +++ b/vue/src/views/iot/device/running-status.vue @@ -331,14 +331,14 @@ export default { updateDeviceStatus(device) { if (device.status == 3) { this.statusColor.background = '#12d09f'; - this.title = "设备控制(在线)"; + this.title = "在线模式"; } else { if (device.isShadow == 1) { this.statusColor.background = '#409EFF'; - this.title = "设备控制(影子模式)"; + this.title = "影子模式"; } else { this.statusColor.background = '#909399'; - this.title = "设备控制(设备不在线 未启用影子)"; + this.title = "离线模式"; this.shadowUnEnable = true; } } diff --git a/vue/src/views/iot/product/product-authorize.vue b/vue/src/views/iot/product/product-authorize.vue index 784bc1a6..3c31edfc 100644 --- a/vue/src/views/iot/product/product-authorize.vue +++ b/vue/src/views/iot/product/product-authorize.vue @@ -41,17 +41,12 @@ - - - - - - + + + @@ -186,7 +181,7 @@ export default { // 编辑类型,remark=备注、auth=设备授权 editType: '', // 编辑界面宽度 - editWidth:'500px', + editWidth: '500px', // 遮罩层 loading: true, // 选中数组 @@ -365,10 +360,10 @@ export default { this.open = true; if (this.editType == 'auth') { this.title = "选择设备"; - this.editWidth="800px"; + this.editWidth = "800px"; } else { this.title = "备注信息"; - this.editWidth="500px"; + this.editWidth = "500px"; } // 取消选中