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 |   52 ++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 48 insertions(+), 4 deletions(-)

diff --git a/src/api/accreditationRecords/accreditationRecords.js b/src/api/accreditationRecords/accreditationRecords.js
index 113bd65..025d0ff 100644
--- a/src/api/accreditationRecords/accreditationRecords.js
+++ b/src/api/accreditationRecords/accreditationRecords.js
@@ -1,17 +1,27 @@
 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
         }
     })
 }
+
+export const getAccreditationRecords = (id) => {
+    return request({
+        url: '/api/accreditationRecords/details',
+        method: 'get',
+        params: {
+            id,
+        }
+    })
+}
+
 
 export const remove = (ids) => {
     return request({
@@ -23,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
     })
@@ -40,10 +58,36 @@
 }
 
 
+export const audit = (row) => {
+    return request({
+        url: '/api/accreditationRecords/audit',
+        method: 'post',
+        data: row
+    })
+}
+
+
+export const batchAudit = (row) => {
+    return request({
+        url: '/api/accreditationRecords/batchAudit',
+        method: 'post',
+        data: row
+    })
+}
+
+
 export const securityApply = (row) => {
     return request({
         url: '/api/accreditationRecords/securityApply',
         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