From 9b2cede515af4fe957f9a6a2577299685f784d49 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 08 Nov 2021 19:46:02 +0800
Subject: [PATCH] 派遣批量新增,社保人员选择接口调整
---
src/api/social/social.js | 101 +++++++++++++++++++++++++-------------------------
1 files changed, 50 insertions(+), 51 deletions(-)
diff --git a/src/api/social/social.js b/src/api/social/social.js
index c02e8fe..890e730 100644
--- a/src/api/social/social.js
+++ b/src/api/social/social.js
@@ -2,75 +2,74 @@
export const getListJurisdiction = (current, size, params) => {
- return request({
- url: '/api/social/page',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- }
- })
+ return request({
+ url: '/api/social/page',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
}
export const getuseList = (id) => {
- return request({
- url: '/api/blade-user/detail',
- method: 'get',
- params: {
- id
- }
- })
+ return request({
+ url: '/api/blade-user/detail',
+ method: 'get',
+ params: {
+ id
+ }
+ })
}
export const getList = (current, size, params) => {
- return request({
- url: '/api/social/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- }
- })
+ return request({
+ url: '/api/social/list',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ }
+ })
}
export const getDetail = (id) => {
- return request({
- url: '/api/social/detail',
- method: 'get',
- params: {
- id
- }
- })
+ return request({
+ url: '/api/social/detail',
+ method: 'get',
+ params: {
+ id
+ }
+ })
}
export const remove = (ids) => {
- return request({
- url: '/api/social/remove',
- method: 'post',
- params: {
- ids,
- }
- })
+ return request({
+ url: '/api/social/remove',
+ method: 'post',
+ params: {
+ ids,
+ }
+ })
}
export const add = (row) => {
- return request({
- url: '/api/social/save',
- method: 'post',
- data: row
- })
+ return request({
+ url: '/api/social/save',
+ method: 'post',
+ data: row
+ })
}
export const update = (row) => {
- return request({
- url: '/api/social/submit',
- method: 'post',
- data: row
- })
-}
-
+ return request({
+ url: '/api/social/submit',
+ method: 'post',
+ data: row
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3