新增会员列表组件,店员管理,修复#I1C5AP,#I1C6MK,#I1C055

This commit is contained in:
hupeng
2020-03-22 20:59:31 +08:00
parent fe6fce0244
commit cbe0a6f592
7 changed files with 380 additions and 11 deletions

View File

@ -8,12 +8,12 @@ export function add(data) {
})
}
// export function get() {
// return request({
// url: 'api/yxSystemStore',
// method: 'get'
// })
// }
export function get() {
return request({
url: 'api/yxSystemStore',
method: 'get'
})
}
export function getL(data) {
return request({
@ -39,4 +39,4 @@ export function edit(data) {
})
}
export default { getL, add, edit, del }
export default { getL, add, edit, del, get }

View File

@ -0,0 +1,27 @@
import request from '@/utils/request'
export function add(data) {
return request({
url: 'api/yxSystemStoreStaff',
method: 'post',
data
})
}
export function del(ids) {
return request({
url: 'api/yxSystemStoreStaff/',
method: 'delete',
data: ids
})
}
export function edit(data) {
return request({
url: 'api/yxSystemStoreStaff',
method: 'put',
data
})
}
export default { add, edit, del }