mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-21 02:05:48 +08:00
部门管理、岗位管理 切图
This commit is contained in:
32
admin/src/api/organize.ts
Normal file
32
admin/src/api/organize.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import request from '@/utils/request'
|
||||
/** 岗位 S **/
|
||||
// 岗位列表
|
||||
export function apiPostLists(params: any) {
|
||||
return request.get('/system/post/list', { params })
|
||||
}
|
||||
|
||||
// 添加岗位
|
||||
export function apiPostAdd(params: any) {
|
||||
return request.post('/system/post/add', params)
|
||||
}
|
||||
|
||||
// 编辑岗位
|
||||
export function apiPostEdit(params: any) {
|
||||
return request.post('/system/post/edit', params)
|
||||
}
|
||||
|
||||
// 删除岗位
|
||||
export function apiPostDelete(params: any) {
|
||||
return request.post('/system/post/del', params)
|
||||
}
|
||||
|
||||
// 岗位详情
|
||||
export function apiPostDetail(params: any) {
|
||||
return request.get('/system/post/detail', { params })
|
||||
}
|
||||
|
||||
// 所有岗位
|
||||
export function apiPostAll(params: any) {
|
||||
return request.get('/system/post/all', { params })
|
||||
}
|
||||
/** 岗位 E **/
|
||||
Reference in New Issue
Block a user