From 48086bde3ff19c8cefb92c449ccadc6c9f9affae Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 13 十一月 2024 18:56:29 +0800
Subject: [PATCH] 车辆人脸点位在线离线时间点
---
src/api/platform/report.js | 38 +++++++++++++++++++++++++++++++++++++-
1 files changed, 37 insertions(+), 1 deletions(-)
diff --git a/src/api/platform/report.js b/src/api/platform/report.js
index 870d1d9..92ea668 100644
--- a/src/api/platform/report.js
+++ b/src/api/platform/report.js
@@ -17,11 +17,31 @@
})
}
+// 鍥芥爣鐮佹煡鎶ュ
+export function getReportByGb(gb) {
+ return request({
+ url: '/report/list/' + gb,
+ method: 'get'
+ })
+}
+
// 鏂板鎶ュ
export function addReport(data) {
return request({
url: '/report',
method: 'post',
+ data: data
+ })
+}
+
+// 鏂板鎶ュ
+export function importReport(data) {
+ return request({
+ url: '/report/import',
+ method: 'post',
+ headers: {
+ 'Content-Type':'multipart/form-data'
+ },
data: data
})
}
@@ -36,7 +56,15 @@
}
// 瀹℃牳鎶ュ
-export function auditing(data) {
+export function auditing(id) {
+ return request({
+ url: '/report/auditing/record/' + id,
+ method: 'get'
+ })
+}
+
+// 瀹℃牳
+export function audit(data) {
return request({
url: '/report/auditing',
method: 'post',
@@ -51,3 +79,11 @@
method: 'delete'
})
}
+
+// 鑾峰彇鍚屼竴鎵规鎻愪氦鐨勬姤澶�
+export function getTogether(pid) {
+ return request({
+ url: '/report/getTogether/' + pid,
+ method: 'get'
+ })
+}
--
Gitblit v1.8.0