diff --git a/src/api/system/organiza.js b/src/api/system/organiza.js index 67bf0541..eb1f8c2b 100644 --- a/src/api/system/organiza.js +++ b/src/api/system/organiza.js @@ -21,8 +21,14 @@ const treeList = function (query) { const listByParent = function (parentId) { return ajax.get('/xboe/org/list-by-parent?parentId='+parentId); } + +const getSimple = function (id) { + return ajax.get('/xboe/org/simple?id='+id); +} + export default { treeList, + getSimple, listByParent } diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index 627d5d5f..38dd03b7 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -73,16 +73,11 @@ :props="{ value: 'id', label: 'name' }" :options="sysTypeListMap"> - + + + 选择 + + @@ -219,15 +214,7 @@ :options="sysTypeListMap"> - + @@ -254,6 +241,11 @@ + + + 选择 + + @@ -378,6 +370,7 @@ +