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 |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/src/api/platform/report.js b/src/api/platform/report.js
index 8193869..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({
@@ -35,6 +47,23 @@
   })
 }
 
+// 瀹℃牳鎶ュ
+export function auditing(id) {
+  return request({
+    url: '/report/auditing/record/' + id,
+    method: 'get'
+  })
+}
+
+// 瀹℃牳
+export function audit(data) {
+  return request({
+    url: '/report/auditing',
+    method: 'post',
+    data: data
+  })
+}
+
 // 鍒犻櫎鎶ュ
 export function delReport(id) {
   return request({
@@ -42,3 +71,11 @@
     method: 'delete'
   })
 }
+
+// 鑾峰彇鍚屼竴鎵规鎻愪氦鐨勬姤澶�
+export function getTogether(pid) {
+  return request({
+    url: '/report/getTogether/' + pid,
+    method: 'get'
+  })
+}

--
Gitblit v1.8.0