From fb591d893e7cdeb3efea4678cf99bf14baf6733e Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 03 Sep 2021 17:30:57 +0800
Subject: [PATCH] 营业执照 许可证 可删除 解决单位信息 社保信息的bug
---
src/api/examapi/applyexam.js | 107 +++++++++++++++++++++++++++++++++++++++--------------
1 files changed, 79 insertions(+), 28 deletions(-)
diff --git a/src/api/examapi/applyexam.js b/src/api/examapi/applyexam.js
index 08c81f2..7f6700f 100644
--- a/src/api/examapi/applyexam.js
+++ b/src/api/examapi/applyexam.js
@@ -2,46 +2,97 @@
export const getApplyList = (current, size, params) => {
- return request({
- url: '/api/apply/page',
- method: 'get',
- params: {
- ...params,
- current,
- size
- }
- })
+ return request({
+ url: '/api/apply/page',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size
+ }
+ })
}
export const addApply = (row) => {
- return request({
- url: '/api/apply/submit',
- method: 'post',
- data: row
- })
+ return request({
+ 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
+ })
+}
+
+export const updateApply = (row) => {
+ return request({
+ url: '/api/apply/submit',
+ method: 'post',
+ data: row
+ })
}
export const remove = (ids) => {
- return request({
- url: '/api/apply/remove',
- method: 'post',
- params: {
- ids,
- }
- })
+ return request({
+ url: '/api/apply/remove',
+ method: 'post',
+ params: {
+ ids,
+ }
+ })
+}
+
+export const addExam = (ids, examTime, startTime, endTime) => {
+ return request({
+ url: '/api/apply/batchExam',
+ method: 'post',
+ params: {
+ ids,
+ examTime,
+ startTime,
+ endTime
+ }
+ })
}
export const getMenu = (id) => {
- return request({
- url: '/api/apply/detail',
- method: 'get',
- params: {
- id,
- }
- })
+ return request({
+ url: '/api/apply/detail',
+ method: 'get',
+ params: {
+ 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