diff --git a/src/api/distribution/memberManager.js b/src/api/distribution/memberManager.js index 0bf426ceca58536ce779452a9d82341736baeb11..4832b55f0e3a510ea8df26f7b50c7b7b6eb58b5b 100644 --- a/src/api/distribution/memberManager.js +++ b/src/api/distribution/memberManager.js @@ -1,9 +1,9 @@ /* * @Descripttion: - * @Author: zhengminjie + * @Author:zhengminjie,xiayujia * @Date: 2021-05-13 11:27:27 - * @LastEditors: zhengminjie - * @LastEditTime: 2021-05-13 11:27:28 + * @LastEditors: xiayujia + * @LastEditTime: 2021-06-11 11:27:28 */ import request from '@/utils/request' @@ -32,19 +32,32 @@ export function getGroup(groupId){ }) } -//查看成员,获取成员Id -export function searchMemberId(groupId){ +//查看成员,获取成员列表 +export function searchMember(groupId){ return request({ url:'/distribution/personManager/searchMI?groupId='+groupId, method: 'get', }) } -//查看成员,获取成员名 -export function searchMemberName(userId){ +//添加成员 +// export function addMember(data){ +// return request({ +// url:'/distribution/personMManager/add', +// method: 'post', +// data: data +// }) +// } + +//删除成员 +export function deleteMember(userName,groupId){ return request({ - url:'/distribution/personManager/searchMN?userId='+userId, - method: 'get', + url:'/distribution/personManager/delete', + method: 'post', + data: { // 提交数据 + "username": userName, + "groupId":groupId + }, }) } diff --git a/src/views/distribution/memberManager/index.vue b/src/views/distribution/memberManager/index.vue index bb6ddb91af13076b6835511b3c7124d0d25cd83f..439ec82a4e2a4f2a848ea95e6dc32048caa67a9f 100644 --- a/src/views/distribution/memberManager/index.vue +++ b/src/views/distribution/memberManager/index.vue @@ -2,8 +2,8 @@ * @Descripttion: * @Author: zhengminjie,xiayujia * @Date: 2021-04-05 19:16:43 - * @LastEditors: zhengminjie - * @LastEditTime: 2021-04-05 19:38:14 + * @LastEditors: xiayujia + * @LastEditTime: 2021-06-12 19:38:14 -->