12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- import request from '@/utils/request'
- import qs from 'qs'
- export const getBaseMemberApplys = (params) => {
- return new request({
- url: './project/baseMemberApplys/getSelfMemberApply',
- method: 'get',
- params: params
- });
- }
- export const get = (id) => {
- return new request({
- url: './project/baseMemberApplys/' + id,
- method: 'get',
- });
- }
- export function saveAndUpdate(baseMemberApply,baseContactsInfo,attachmentIds,approver, comment, token) {
- return new request({
- url: './project/baseMemberApplys',
- method: (baseMemberApply.id ? 'put' : 'post'),
- headers: {
- token
- },
- data: {
- baseMemberApply,
- baseContactsInfo,
- attachmentIds,
- approver,
- comment
- }
- });
- }
- export function del(id) {
- return new request({
- url: './project/baseMemberApplys/' + id,
- method: 'delete',
- });
- }
- export function submitMemberConfirm(baseMemberApply,attachmentIds, token) {
- return new request({
- url: './project/baseMemberApplys/submitMemberConfirm',
- method: 'post',
- headers: {
- token
- },
- data: {
- baseMemberApply,
- attachmentIds
- }
- });
- }
|