From 1b9fea7d4af68d8f933b2dc42bf6084b9646f64c Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 04 三月 2025 08:39:55 +0800
Subject: [PATCH] 修改作业等级名称

---
 src/api/doublePreventSystem/rectify/index.ts |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/api/doublePreventSystem/rectify/index.ts b/src/api/doublePreventSystem/rectify/index.ts
index eb04e43..30f1466 100644
--- a/src/api/doublePreventSystem/rectify/index.ts
+++ b/src/api/doublePreventSystem/rectify/index.ts
@@ -40,6 +40,12 @@
                 url: import.meta.env.VITE_API_URL + `/prevent/device/select/listDevices`,
                 method: 'post'
             });
+        },
+        getCodeByTime: (date: string) => {
+            return request({
+                url: import.meta.env.VITE_API_URL + `/prevent/dangerManage/count/byCreateDate?date=${date}`,
+                method: 'get'
+            });
         }
     };
 }

--
Gitblit v1.9.2