odc.xiaohui
2023-11-24 40ff3685bc1c4dec8923b6bf3980361bb5c7fc80
1
2
3
4
5
6
7
8
9
10
11
12
import { post } from '@/utils/request'
 
export default {
  list: query => post('/api/admin/education/department/list'),
  pageList: query => post('/api/admin/department/page/list', query),
  edit: query => post('/api/admin/department/update', query),
  select: id => post('/api/admin/department/get/' + id),
  selectUser: id => post('/api/admin/department/getUserByDepartment/' + id),
  selectDepartmentUser: id => post('/api/admin/department/getDepartmentUser'),
  deleteSubject: id => post('/api/admin/education/department/delete/' + id),
  addData:query=>post('/api/admin/department/add',query)
}