2022年5月29日 从svn移到git

This commit is contained in:
daihh
2022-05-29 18:59:24 +08:00
parent 9580ff8c9b
commit faa7afb65f
897 changed files with 171836 additions and 0 deletions

26
api/modules/resowner.js Normal file
View File

@@ -0,0 +1,26 @@
/**资源归属*/
import ajax from '@/utils/xajax.js'
/**
* 按体系目录提取全量树形结构数据
* 包含数据全
* @param {*} catalog 体系目录 1组织体系目录 2培训体系目录
*/
const tree = function(catalog) {
return ajax.get(`/xboe/resowner/tree-list?catalog=${catalog}`);
}
/**
* 按体系目录查询列表
* @param {*} parentId 上级ID 根目录为 -1
* @param {*} catalog 体系目录 1组织体系目录 2培训体系目录
* @returns
*/
const list = function(catalog, parentId) {
return ajax.get(`/xboe/resowner/list?catalog=${catalog}&parentId=${parentId}`);
}
export default {
tree,
list
}