前端功能完善

This commit is contained in:
kerwincui
2021-05-29 16:46:20 +08:00
parent d743f03b59
commit 603003909a
28 changed files with 1032 additions and 970 deletions

View File

@@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询分组列表
export function listGroup(query) {
return request({
url: '/system/group/list',
method: 'get',
params: query
})
}
// 查询分组详细
export function getGroup(groupId) {
return request({
url: '/system/group/' + groupId,
method: 'get'
})
}
// 新增分组
export function addGroup(data) {
return request({
url: '/system/group',
method: 'post',
data: data
})
}
// 修改分组
export function updateGroup(data) {
return request({
url: '/system/group',
method: 'put',
data: data
})
}
// 删除分组
export function delGroup(groupId) {
return request({
url: '/system/group/' + groupId,
method: 'delete'
})
}
// 导出分组
export function exportGroup(query) {
return request({
url: '/system/group/export',
method: 'get',
params: query
})
}