You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
|
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 申请加入组织列表
|
|
|
|
export function applyToJoinList(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/dept/applyToJoinList',
|
|
|
|
method: 'post',
|
|
|
|
data: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 根据cryptoDeptId查看组织
|
|
|
|
export function getDeptByCryptoDeptId(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/dept/getDeptByCryptoDeptId',
|
|
|
|
method: 'post',
|
|
|
|
data: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 审核申请加入组织列表
|
|
|
|
export function applyToJoin(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/dept/applyToJoin',
|
|
|
|
method: 'post',
|
|
|
|
data: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 申请加入组织列表
|
|
|
|
export function selfCreatedList(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/dept/selfCreatedList',
|
|
|
|
method: 'post',
|
|
|
|
data: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 创建根节点
|
|
|
|
export function createNewRootNode(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/dept/createNewRootNode',
|
|
|
|
method: 'post',
|
|
|
|
data: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 同意申请加入组织
|
|
|
|
export function agreeApplyToJoin(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/dept/agreeApplyToJoin',
|
|
|
|
method: 'post',
|
|
|
|
data: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 拒绝申请加入组织
|
|
|
|
export function refuseApplyToJoin(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/dept/refuseApplyToJoin',
|
|
|
|
method: 'post',
|
|
|
|
data: query
|
|
|
|
})
|
|
|
|
}
|