From 537df5f5eabbb9c9dd0fd11d4ab07003f58640f9 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期三, 12 八月 2026 11:24:38 +0800
Subject: [PATCH] fix: 日期格式化

---
 src/api/inspectionManagement/index.js |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/api/inspectionManagement/index.js b/src/api/inspectionManagement/index.js
index d0c444a..7fc1256 100644
--- a/src/api/inspectionManagement/index.js
+++ b/src/api/inspectionManagement/index.js
@@ -58,4 +58,21 @@
         method: 'post',
         data: query
     })
+}
+
+// 鍗曟潯宸℃瀹屾垚
+export function completeInspection(id) {
+    return request({
+        url: '/inspectionTask/complete/' + id,
+        method: 'put'
+    })
+}
+
+// 涓�閿贰妫�瀹屾垚
+export function batchCompleteInspection(dateStr) {
+    return request({
+        url: '/inspectionTask/batchComplete',
+        method: 'put',
+        params: { dateStr }
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3