From d529e4e9f3b00ce5ff0d9d65670e37e422ec660c Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期一, 22 十二月 2025 20:19:56 +0800
Subject: [PATCH] 修改了代码

---
 src/api/system/records.js |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/api/system/records.js b/src/api/system/records.js
index 112f0e8..8ea0f1e 100644
--- a/src/api/system/records.js
+++ b/src/api/system/records.js
@@ -8,10 +8,10 @@
   })
 }
 //鏇存柊鐘舵��
-export function updateStatusById(id)
+export function updateStatusById(status, id)
 {
   return request({
-    url: '/system/records/updateStatusById/' + id,
+    url: '/system/records/updateStatusById/' + status+"/"+id,
     method: 'get',
   //  data: data
   })
@@ -58,7 +58,18 @@
     data: data
   })
 }
+//瀵煎叆
+export function enload(data) {
 
+  return request({
+    url: '/system/records/importData',
+    method: 'post',
+      headers: {
+      'Content-Type': 'multipart/form-data'
+    },
+    data: data
+  })
+}
 // 鍒犻櫎妗f璁板綍
 export function delRecords(id) {
   return request({
@@ -66,3 +77,13 @@
     method: 'delete'
   })
 }
+
+
+export function batchSubmitRecords(ids) {
+
+  return request({
+    url: '/system/records/updateSByIds',
+    method: 'post',
+    data: ids
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.1