From 09f0861e61e69e2d818eafc7b9edbd17cf0822d4 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 06 十一月 2025 17:20:02 +0800
Subject: [PATCH] 页面优化以及扣分详情导出
---
src/api/platform/report.js | 45 ++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 44 insertions(+), 1 deletions(-)
diff --git a/src/api/platform/report.js b/src/api/platform/report.js
index 870d1d9..c4843d0 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,18 @@
method: 'delete'
})
}
+export function delReportBath(ids) {
+ return request({
+ url: '/report/batch',
+ method: 'delete',
+ data:ids
+ })
+}
+
+// 鑾峰彇鍚屼竴鎵规鎻愪氦鐨勬姤澶�
+export function getTogether(pid) {
+ return request({
+ url: '/report/getTogether/' + pid,
+ method: 'get'
+ })
+}
--
Gitblit v1.8.0