| | |
| | | import { post, get } from '@/utils/request' |
| | | |
| | | export default { |
| | | list: query => post('/api/admin/education/department/list'), |
| | | list: query => post('/api/admin/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), |
| | |
| | | console.log(res); |
| | | this.subjectFilter = res.response; |
| | | }); |
| | | departmentApi.getDeptAdmins().then(res => { |
| | | departmentApi.list().then(res => { |
| | | this.depts = res.response; |
| | | }); |
| | | }, |