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.
462 lines
10 KiB
462 lines
10 KiB
// 系统授权相关
|
|
import request from '@/utils/requestFile'
|
|
|
|
//获取系统列表列表
|
|
export const getsystemlist = (data) => {
|
|
return request({
|
|
url: '/powerpc/system_list',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//获取系统菜单树(行政组织岗位)
|
|
export const getSystemMenuThree = (data) => {
|
|
return request({
|
|
url: '/powerpc/system_about_menu',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//获取系统菜单树(角色)
|
|
export const getSystemRoleMenuThree = (data) => {
|
|
return request({
|
|
url: '/powerpc/system_about_role_menu',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//编辑权限
|
|
export const editPower = (data) => {
|
|
return request({
|
|
url: '/powerpc/edit_power_new',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//编辑权限(角色)
|
|
export const editRolePower = (data) => {
|
|
return request({
|
|
url: '/powerpc/edit_role_power_new',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//获取角色列表
|
|
export const getRoleList = (data) => {
|
|
return request({
|
|
url: '/powerpc/system_role_list',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//编辑角色状态
|
|
export const editRoleCont = (data) => {
|
|
return request({
|
|
url: '/powerpc/edit_system_role_state',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
//添加角色
|
|
export const addRoleCont = (data) => {
|
|
return request({
|
|
url: '/powerpc/add_system_role',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//编辑角色
|
|
export const editRoleInfo = (data) => {
|
|
return request({
|
|
url: '/powerpc/edit_system_role',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
//角色相关人员列表
|
|
export const roleAboutPeople = (data) => {
|
|
return request({
|
|
url: '/powerpc/role_about_people_list',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//批量删除角色相关人员
|
|
export const delAboutPeople = (data) => {
|
|
return request({
|
|
url: '/powerpc/batch_del_roleman',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
//添加角色相关人员
|
|
export const addAboutPeople = (data) => {
|
|
return request({
|
|
url: '/powerpc/add_role_user',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
|
|
/**
|
|
* 部门方案相关API操作
|
|
*/
|
|
//部门考核方案列表
|
|
export const departmentProgramme = (data) => {
|
|
return request({
|
|
url: '/department_pc/department_programme',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//部门考核方案状态
|
|
export const editDepartPrograState = (data) => {
|
|
return request({
|
|
url: '/department_pc/edit_depart_progra_state',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
//添加部门考核方案
|
|
export const createSchemeForDeparment = (data) => {
|
|
return request({
|
|
url: '/department_pc/create_scheme_for_deparment',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
|
|
//搜索岗位列表
|
|
export const searchPostListCont = (data) => {
|
|
return request({
|
|
url: '/postpc/search_orgpost_list',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
export const getorgary = (data) => {
|
|
return request({
|
|
url: '/postpc/get_orgary',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
export const getOrgAndPostAry = (data) => {
|
|
return request({
|
|
url: '/postpc/get_organdpost_ary',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
//添加岗位
|
|
export const newAddPostTarget = (data) => {
|
|
return request({
|
|
url: '/postpc/new_add_posttarget',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
//获取定量考核任务列表
|
|
export const getQuantitativeTasks = (data) => {
|
|
return request({
|
|
url: '/department_pc/get_quantitative_tasks',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
//删除部门指标
|
|
export const deltarget = (data) => {
|
|
return request({
|
|
url: '/department_pc/deltarget',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
|
|
//获取部门指标(新版)
|
|
export const newDepartTarList = (data) => {
|
|
return request({
|
|
url: '/department_pc/new_depart_tar_list',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
//指标改变状态(启用、禁用、软删除、硬删除)
|
|
export const targetEditState = (data) => {
|
|
return request({
|
|
url: '/department_pc/new_del_target',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
// 编辑单一部门指标(新版)
|
|
export function new_edit_one_target(data) {
|
|
return request({
|
|
url: '/department_pc/new_edit_one_target',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 指标关联岗位(新版)
|
|
export function new_dep_tar_post(data) {
|
|
return request({
|
|
url: '/department_pc/new_dep_tar_post',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 获取指标已关联岗位
|
|
export function get_target_relevant_post_Report(data) {
|
|
return request({
|
|
url: '/department_pc/get_target_relevant_post_Report',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 获取岗位指标列表
|
|
export function get_posttarget_list(data) {
|
|
return request({
|
|
url: '/postpc/get_posttarget_list',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 编辑岗位指标状态
|
|
export function setPosttargetState(data) {
|
|
return request({
|
|
url: '/postpc/set_posttarget_state',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
//添加岗位指标
|
|
export const addPostTargetCont = (data) => {
|
|
return request({
|
|
url: '/postpc/addposttargetcont',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
// 获取岗位指标详情
|
|
export function get_post_target(data) {
|
|
return request({
|
|
url: '/postpc/get_post_target',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 获取岗位指标详情
|
|
export function newEditPostTarget(data) {
|
|
return request({
|
|
url: '/postpc/neweditposttarget',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 获取部门指标细则
|
|
export function getTargetDetailsList(data) {
|
|
return request({
|
|
url: '/department_pc/get_target_details_list',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 获取指定指标下的栏目列表
|
|
export function getTargetColumnList(data) {
|
|
return request({
|
|
url: '/department_pc/get_target_column_list',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 添加部门指标细则
|
|
export function newAddDepartDetails(data) {
|
|
return request({
|
|
url: '/department_pc/new_add_depart_details',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 编辑指标细则状态
|
|
export function editDetailsState(data) {
|
|
return request({
|
|
url: '/department_pc/edit_details_state',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 获取单一指标细则内容
|
|
export function getonedetailedtarget(data) {
|
|
return request({
|
|
url: '/department_pc/getonedetailedtarget',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 编辑单一指标细则内容(新版)
|
|
export function editDetailsCont(data) {
|
|
return request({
|
|
url: '/department_pc/edit_details_cont',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
//获取子栏目基础信息
|
|
export function getSonTargetCont(data) {
|
|
return request({
|
|
url: '/department_pc/getsontargetcont',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
//根据栏目添加细则
|
|
export function tableAddDetailses(data) {
|
|
return request({
|
|
url: '/department_pc/table_add_detailses',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
//修改栏目名称及关联岗位和提报人
|
|
export function editTableDepartMan(data) {
|
|
return request({
|
|
url: '/department_pc/edit_table_depart_man',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 根据指标和部门获取相关岗位
|
|
export function delsontarget(data) {
|
|
return request({
|
|
url: '/department_pc/delsontarget',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 根据指标获取岗位细则
|
|
export function getPostDetailsList(data) {
|
|
return request({
|
|
url: '/postpc/getdetailslist',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 获取岗位指标关联部门相关岗位及提报人(新版)
|
|
export function getNewTargetDepartPostMan(data) {
|
|
return request({
|
|
url: '/postpc/getnew_target_depart_postman',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 根据指标获取岗位指标栏目
|
|
export function tableBasePostTarget(data) {
|
|
return request({
|
|
url: '/postpc/table_base_post_target',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 根据指标提交岗位细则数据
|
|
export function addDetailsList(data) {
|
|
return request({
|
|
url: '/postpc/adddetailslist',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 编辑岗位指标细则状态
|
|
export function eidtPostTardetaiLsstrte(data) {
|
|
return request({
|
|
url: '/postpc/eidtposttardetailsstrte',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 获取岗位指标细则内容
|
|
export function getPostDetailsCont(data) {
|
|
return request({
|
|
url: '/postpc/getdetailscont',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 编辑岗位指标细则(新版)
|
|
export function editPostDetailscont(data) {
|
|
return request({
|
|
url: '/postpc/edit_post_detailscont',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 根据栏目添加细则列表
|
|
export function addTableDetailsList(data) {
|
|
return request({
|
|
url: '/postpc/addtabledetailslist',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 根据栏目添加细则列表
|
|
export function delSonTargetCont(data) {
|
|
return request({
|
|
url: '/postpc/del_son_target_cont',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 获取岗位栏目关联部门相关岗位及提报人(新版)
|
|
export function getNewTableDepartMan(data) {
|
|
return request({
|
|
url: '/postpc/get_new_table_departMan',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 编辑岗位子栏目内容(新版)
|
|
export function editNewsonTargetCont(data) {
|
|
return request({
|
|
url: '/postpc/edit_newson_target_cont',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 判断是否显示(指定审批节点自选)选项及可选节点
|
|
export function judgeOptionalNode(data) {
|
|
return request({
|
|
url: '/workflowapi/judge_optional_node',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
// 获取所有父级审批节点
|
|
export function getAllParentNode(data) {
|
|
return request({
|
|
url: '/workflowapi/get_all_parent_node',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|