1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- 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,sourceFlag, token) {
- return new request({
- url: './project/baseMemberApplys/submitMemberConfirm',
- method: 'post',
- headers: {
- token
- },
- data: {
- baseMemberApply,
- attachmentIds,
- sourceFlag
- }
- });
- }
|