feat: 部门详情, 编辑

This commit is contained in:
lilinyuan
2024-06-01 15:57:07 +08:00
parent 5be806104f
commit de2475f39a
4 changed files with 205 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import request from '@/utils/request'
export const getInfoById = (id) => {
return request({
url: `/admin/mosr/department/info/${id}`,
method: 'get',
})
}
export const setDeptInfo = (data) => {
return request({
url: '/admin/mosr/department/leader',
method: 'post',
data
})
}