diff --git a/src/api/system/device.js b/src/api/system/device.js
index 3a7dfa3..bb4b346 100644
--- a/src/api/system/device.js
+++ b/src/api/system/device.js
@@ -92,3 +92,23 @@ export function resetDevice(deviceId) {
method: 'put'
})
}
+
+// 批量修改型号
+export function batchUpdateModel(deviceIds, modelId) {
+ return request({
+ url: `/system/device/batchUpdateModel`,
+ method: 'put',
+ data: {
+ deviceIds,
+ modelId
+ }
+ })
+}
+
+// 设备开关
+export function switchDevice(deviceId, open) {
+ return request({
+ url: `/system/device/${deviceId}/switch?open=${open}`,
+ method: 'put'
+ })
+}
diff --git a/src/components/Business/Model/modelDialog.vue b/src/components/Business/Model/modelDialog.vue
index 1cb26c0..c1947f1 100644
--- a/src/components/Business/Model/modelDialog.vue
+++ b/src/components/Business/Model/modelDialog.vue
@@ -2,7 +2,7 @@
-
+
diff --git a/src/components/Business/Model/modelSelect.vue b/src/components/Business/Model/modelSelect.vue
index dbcc0f6..426c7b1 100644
--- a/src/components/Business/Model/modelSelect.vue
+++ b/src/components/Business/Model/modelSelect.vue
@@ -8,12 +8,13 @@
:placeholder="placeholder">
{{showValue}}
-
+
diff --git a/src/views/ss/store/index.vue b/src/views/ss/store/index.vue
index b9c99f4..7354ea9 100644
--- a/src/views/ss/store/index.vue
+++ b/src/views/ss/store/index.vue
@@ -134,12 +134,15 @@
-
-
-
+
+
+
+
+
+
@@ -342,7 +345,8 @@ export default {
createBy: null,
updateTime: null,
updateBy: null,
- deleted: null
+ deleted: null,
+ show: true
};
this.resetForm("form");
},
diff --git a/src/views/ss/suit/index.vue b/src/views/ss/suit/index.vue
index a7d7b79..515611a 100644
--- a/src/views/ss/suit/index.vue
+++ b/src/views/ss/suit/index.vue
@@ -92,6 +92,7 @@
+
+ 强制开启
+ 强制关闭
时长归零
增加时长
刷新设备信息
@@ -40,7 +42,7 @@
{{deviceData.remainTime / 60 | money | defaultValue}} 分钟
- {{deviceData.realTimePower | defaultValue}} KWH
+
{{deviceData.remark | defaultValue}}
@@ -89,7 +91,7 @@