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.
49 lines
1.0 KiB
49 lines
1.0 KiB
import request from "@/utils/request";
|
|
import { getSystemPower } from "./types";
|
|
|
|
/**
|
|
* 获取平台授权项目
|
|
*/
|
|
export function appPowerUnit(data: getSystemPower){
|
|
return request({
|
|
url: '/systemapi/authorize/appPowerUnit',
|
|
method: 'post',
|
|
data:data
|
|
});
|
|
}
|
|
/**
|
|
@ 作者: 秦东
|
|
@ 时间: 2025-11-28 10:24:09
|
|
@ 功能: 授权行政组织书
|
|
*/
|
|
export function authorizeOrgTree(data?: getSystemPower){
|
|
return request({
|
|
url: '/systemapi/hr/authorizeOrgTree',
|
|
method: 'post',
|
|
data:data
|
|
});
|
|
}
|
|
/**
|
|
@ 作者: 秦东
|
|
@ 时间: 2025-11-28 10:24:09
|
|
@ 功能: 根据权限获取数据
|
|
*/
|
|
export function authorizePeopleList(data?: getSystemPower){
|
|
return request({
|
|
url: '/systemapi/hr/authorizePeopleList',
|
|
method: 'post',
|
|
data:data
|
|
});
|
|
}
|
|
/**
|
|
@ 作者: 秦东
|
|
@ 时间: 2025-11-28 10:24:09
|
|
@ 功能: 新增人员
|
|
*/
|
|
export function addNewPeople(data?: getSystemPower){
|
|
return request({
|
|
url: '/systemapi/hr/addNewPeople',
|
|
method: 'post',
|
|
data:data
|
|
});
|
|
}
|
|
|