From 79d9fc857559982b00b68b2d709807bdc4cd286f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 11 Apr 2022 10:58:17 +0800
Subject: [PATCH] minio 地址修改

---
 src/api/accreditationRecords/accreditationRecords.js |   23 +++++++++++++++++++----
 1 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/src/api/accreditationRecords/accreditationRecords.js b/src/api/accreditationRecords/accreditationRecords.js
index f67bd8d..025d0ff 100644
--- a/src/api/accreditationRecords/accreditationRecords.js
+++ b/src/api/accreditationRecords/accreditationRecords.js
@@ -1,14 +1,13 @@
 import request from '@/router/axios';
 
-export const getList = (current, size, params, deptId) => {
+export const getList = (current, size, params) => {
     return request({
         url: '/api/accreditationRecords/page',
         method: 'get',
         params: {
-            ...params,
             current,
             size,
-            deptId,
+            ...params
         }
     })
 }
@@ -34,9 +33,17 @@
     })
 }
 
-export const add = (row) => {
+export const submit = (row) => {
     return request({
         url: '/api/accreditationRecords/submit',
+        method: 'post',
+        data: row
+    })
+}
+
+export const add = (row) => {
+    return request({
+        url: '/api/accreditationRecords/save',
         method: 'post',
         data: row
     })
@@ -75,4 +82,12 @@
         method: 'post',
         data: row
     })
+}
+
+export const batchAccreditation = (row) => {
+    return request({
+        url: '/api/accreditationRecords/batchAccreditation',
+        method: 'post',
+        data: row
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3