增加userbasic

This commit is contained in:
daihh
2022-11-15 21:53:24 +08:00
parent 0999553fe6
commit 9cfbeb4e8f
2 changed files with 18 additions and 1 deletions

17
src/api/boe/userbasic.js Normal file
View File

@@ -0,0 +1,17 @@
import ajax from '../ajax';
//const baseURL = process.env.VUE_APP_CESOURCE_BASE_API;
const baseURL ="userbasic";
/**
* 获取用户的组织机构
* organization_id
*/
const userParentOrg = function() {
return ajax.post(baseURL,'/org/userParentOrg',{});
}
export default {
userParentOrg
}

View File

@@ -395,6 +395,7 @@ import apiUserGroup from '../../api/modules/usergroup.js';
import apiTeacher from '../../api/modules/teacher.js';
import apiTag from '../../api/modules/tag.js';
import apiHRBP from '../../api/boe/HRBP.js';
import apiUserBasic from '../../api/boe/userbasic.js';
import apiCourse from '../../api/modules/course.js';
import apiOrg from '../../api/system/organiza.js';
import apiUser from '../../api/system/user.js';
@@ -544,7 +545,6 @@ export default {
this.loadResOwners();
this.loadSysTypes();
this.loadUserGroup();
},
methods: {
showChooseOrg(){