From 6e9df2b060711e8fca1080f3d7e6a5f4cc044a9e Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 22 Oct 2021 00:02:11 +0800
Subject: [PATCH] 培训考试申请修改

---
 src/api/examapi/applyexam.js |   40 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 39 insertions(+), 1 deletions(-)

diff --git a/src/api/examapi/applyexam.js b/src/api/examapi/applyexam.js
index c2f48aa..5530ebd 100644
--- a/src/api/examapi/applyexam.js
+++ b/src/api/examapi/applyexam.js
@@ -15,7 +15,26 @@
 
 export const addApply = (row) => {
     return request({
-        url: '/api/apply/submit',
+        url: '/api/apply/save',
+        method: 'post',
+        data: row
+    })
+}
+
+
+export const cancelApply = (row) => {
+    return request({
+        url: '/api/apply/cancelApply',
+        method: 'post',
+        data: row
+    })
+}
+
+
+
+export const cancelApplyNotApplyId = (row) => {
+    return request({
+        url: '/api/apply/cancelApplyNotApplyId',
         method: 'post',
         data: row
     })
@@ -41,6 +60,14 @@
     })
 }
 
+export const addExam = (params) => {
+    return request({
+        url: '/api/apply/batchExam',
+        method: 'post',
+        data: params
+    })
+}
+
 
 
 
@@ -52,4 +79,15 @@
             id,
         }
     })
+}
+
+export const getSecurityApplyInfo = (id, userId) => {
+    return request({
+        url: '/api/apply/getSecurityApplyDetail',
+        method: 'get',
+        params: {
+            id,
+            userId
+        }
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.3