xiangpei
2024-06-04 adb7e954f61b5b2ad438c4b6d07cbb6ecfb5c56a
发布试卷时部门选择是全部部门
2个文件已修改
4 ■■■■ 已修改文件
src/api/department.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/personalRandomTemplate/edit.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/department.js
@@ -1,7 +1,7 @@
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),
src/views/exam/personalRandomTemplate/edit.vue
@@ -285,7 +285,7 @@
      console.log(res);
      this.subjectFilter = res.response;
    });
    departmentApi.getDeptAdmins().then(res => {
    departmentApi.list().then(res => {
      this.depts = res.response;
    });
  },