diff --git a/src/api/construction/manage/hoistManage.js b/src/api/construction/manage/hoistManage.js index 5aeddd1..0782360 100644 --- a/src/api/construction/manage/hoistManage.js +++ b/src/api/construction/manage/hoistManage.js @@ -60,4 +60,13 @@ export function getJdWarnList(query) { method: 'get', params: query }) +} + +/* 关闭近电感应告警 */ +export function closeJdWarn(data) { + return request({ + url: '/tcp/netty/closeWarn', + method: 'post', + data:data + }) } \ No newline at end of file diff --git a/src/assets/images/close_img.png b/src/assets/images/close_img.png new file mode 100644 index 0000000..6bfb718 Binary files /dev/null and b/src/assets/images/close_img.png differ diff --git a/src/views/construction/manage/hoistManage/hoistManage.vue b/src/views/construction/manage/hoistManage/hoistManage.vue index 2529fb2..886e257 100644 --- a/src/views/construction/manage/hoistManage/hoistManage.vue +++ b/src/views/construction/manage/hoistManage/hoistManage.vue @@ -46,7 +46,9 @@ 电量 {{ item.electricQuantity }}% -
配置 +
+ 配置 + 关闭报警
@@ -110,6 +112,18 @@ @click.prevent="removeConfig(data)"> --> + + + + + + + + @@ -124,14 +138,49 @@ @@ -674,17 +736,17 @@ export default { } .jd-dev-elec { - width: 100px; + width: 70px; height: 100%; align-items: center; justify-content: flex-start; } .jd-dev-img { - width: 30px; + width: 60px; height: 100%; align-items: center; - justify-content: center; + justify-content: space-evenly; cursor: pointer; }