From b361dc02b39ed85c9d641aac1c6e9890c0be7384 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A2=A8=E5=A4=A7=E5=8F=94?= <494979559@qq.com>
Date: Tue, 27 Aug 2024 19:47:43 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/ss/abnormal.js | 8 ++++++
src/views/ss/abnormal/index.vue | 30 +++++++++++++++++++++-
src/views/system/article/index.vue | 27 -------------------
src/views/system/articleClassify/index.vue | 8 +++---
4 files changed, 41 insertions(+), 32 deletions(-)
diff --git a/src/api/ss/abnormal.js b/src/api/ss/abnormal.js
index cca8a0d..bacf4ef 100644
--- a/src/api/ss/abnormal.js
+++ b/src/api/ss/abnormal.js
@@ -42,3 +42,11 @@ export function delAbnormal(abnormalId) {
method: 'delete'
})
}
+
+// 已读设备故障
+export function readAbnormal(abnormalId) {
+ return request({
+ url: '/ss/abnormal/read/' + abnormalId,
+ method: 'put'
+ })
+}
diff --git a/src/views/ss/abnormal/index.vue b/src/views/ss/abnormal/index.vue
index aa184b0..6e8dcc3 100644
--- a/src/views/ss/abnormal/index.vue
+++ b/src/views/ss/abnormal/index.vue
@@ -74,6 +74,19 @@
+
+
+
+ 已读
+
+