| | |
| | | method: 'get' |
| | | }) |
| | | } |
| | | // |
| | | // // 查询部门详细 |
| | | // export function getDept(deptId) { |
| | | // return request({ |
| | | // url: '/system/dept/view/' + deptId, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |
| | | // 查询添加试题,选择的分类信息。2023-05-02 |
| | | export function getCatalogInfo(catalogId) { |
| | | return request({ |
| | | url: '/etaa/question_bank/select/catalogInfo/' + catalogId, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | // |
| | | // // 查询部门下拉树结构 |
| | | // export function treeselect(deptId) { |
| | |
| | | // }) |
| | | // } |
| | | // |
| | | // // 根据角色ID查询部门树结构 |
| | | // export function roleDeptTreeselect(roleId) { |
| | | // return request({ |
| | | // url: '/system/dept/roleDeptTreeselect/' + roleId, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | // |
| | | // // 新增部门 |
| | | // export function addDept(data) { |
| | | // return request({ |
| | | // url: '/system/dept/add', |
| | | // method: 'post', |
| | | // data: data |
| | | // }) |
| | | // } |
| | | // |
| | | |
| | | // 新增 |
| | | export function add(data) { |
| | | return request({ |
| | | url: '/etaa/question_bank/add', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | // 清空题库,测试用 |
| | | export function clear() { |
| | | return request({ |
| | | url: '/etaa/question_bank/clear', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | // // 修改部门 |
| | | // export function updateDept(data) { |
| | | // return request({ |
| | |
| | | // }) |
| | | // } |
| | | // |
| | | // // 删除部门 |
| | | // export function delDept(deptId) { |
| | | // return request({ |
| | | // url: '/system/dept/remove/' + deptId, |
| | | // method: 'get' |
| | | // }) |
| | | // } |
| | | |