diff --git a/src/views/system/device/detail.vue b/src/views/system/device/detail.vue
index f733f52..e5d275e 100644
--- a/src/views/system/device/detail.vue
+++ b/src/views/system/device/detail.vue
@@ -27,10 +27,10 @@
{{deviceData.userName | defaultValue}}
{{deviceData.storeName | defaultValue}}
-
-
- --
-
+
+
+
+
{{deviceData.wifi | defaultValue}}
{{surplusTime | defaultValue}} 分钟
{{deviceData.realTimePower | defaultValue}} KWH
diff --git a/src/views/system/device/index.vue b/src/views/system/device/index.vue
index 5a91b8f..30c409e 100644
--- a/src/views/system/device/index.vue
+++ b/src/views/system/device/index.vue
@@ -225,14 +225,9 @@
-
-
-
-
-
-
+
@@ -319,9 +314,6 @@ export default {
modelId: [
{ required: true, message: "型号不能为空", trigger: "change" }
],
- userId: [
- { required: true, message: "商户不能为空", trigger: "change" }
- ],
deviceName: [
{ required: true, message: "设备名称不能为空", trigger: "change" }
],
@@ -349,27 +341,11 @@ export default {
return getWxIndexUrl({ mac: mac});
}
},
- // 店铺查询条件
- storeQuery() {
- return {
- userId: this.form.userId
- }
- },
},
created() {
this.getList();
},
methods: {
- onChangeUser(user) {
- this.form.storeId = null;
- },
- beforeOpenStore() {
- if (this.form.userId == null) {
- this.$message.warning("请先选择用户")
- return false;
- }
- return true;
- },
handleBindSn(row) {
this.form.deviceId = row.deviceId;
this.showBindSn = true;