From 16eb67ab6b103663d30cad9ba74360f982e131cb Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 03 九月 2024 10:34:59 +0800
Subject: [PATCH] 自定义列显隐控制

---
 src/api/platform/report.js |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/src/api/platform/report.js b/src/api/platform/report.js
index 870d1d9..bb7b08d 100644
--- a/src/api/platform/report.js
+++ b/src/api/platform/report.js
@@ -26,6 +26,18 @@
   })
 }
 
+// 鏂板鎶ュ
+export function importReport(data) {
+  return request({
+    url: '/report/import',
+    method: 'post',
+    headers: {
+      'Content-Type':'multipart/form-data'
+    },
+    data: data
+  })
+}
+
 // 淇敼鎶ュ
 export function updateReport(data) {
   return request({
@@ -36,7 +48,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 +71,11 @@
     method: 'delete'
   })
 }
+
+// 鑾峰彇鍚屼竴鎵规鎻愪氦鐨勬姤澶�
+export function getTogether(pid) {
+  return request({
+    url: '/report/getTogether/' + pid,
+    method: 'get'
+  })
+}

--
Gitblit v1.8.0