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.
135 lines
3.0 KiB
135 lines
3.0 KiB
import request from '@/utils/request';
|
|
import { postinfp,tarData,addlist,deltarget,getgroupData,edittarget, position, getgroup, organd, postsss, addposttar, searchorgpos, setposttarget, table_base_post_target, getdetails, neweditposttarget, get_organdpost_ary, look_work_flowcont, quantechart } from './type';
|
|
export function addPostCont(url:string,method:string,data?: postinfp){
|
|
return request({
|
|
url: url,
|
|
method: method,
|
|
data: data
|
|
});
|
|
}
|
|
export function tarlist(data?:tarData){
|
|
return request({
|
|
url:'/kpiapi/department_pc/new_depart_tar_list',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function addtarget(data?:addlist){
|
|
return request({
|
|
url:'/kpiapi/department_pc/new_add_depar_target',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function deltarget(data?:deltarget){
|
|
return request({
|
|
url:'/kpiapi/department_pc/new_del_target',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function getgroupusers(data?:getgroupData){
|
|
return request({
|
|
url:'/api/group/getgroupdepartmap',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function edittarget(data?:edittarget){
|
|
return request({
|
|
url:'/kpiapi/department_pc/new_edit_one_target',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function positionlist(data?:position){
|
|
return request({
|
|
url:'/hrapi/org/positionlist',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function getgroupuser(data?:getgroup){
|
|
return request({
|
|
url:'/api/group/getgroupuser',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function organdpost(data?:organd){
|
|
return request({
|
|
url:'/hrapi/org/get_organdpost_three',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function posttarget(data?:postsss){
|
|
return request({
|
|
url:'/kpiapi/postpc/get_posttarget_list',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function addposttargetcont(data?:addposttar){
|
|
return request({
|
|
url:'/kpiapi/postpc/addposttargetcont',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function search_orgpost(data?:searchorgpos){
|
|
return request({
|
|
url:'/kpiapi/postpc/search_orgpost_list',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function set_posttarget(data?:setposttarget){
|
|
return request({
|
|
url:'/kpiapi/postpc/set_posttarget_state',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function table_base_post(data?:table_base_post_target){
|
|
return request({
|
|
url:'/kpiapi/postpc/table_base_post_target',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function getdetailslist(data?:getdetails){
|
|
return request({
|
|
url:'/kpiapi/postpc/getdetailslist',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function neweditpost(data?:neweditposttarget){
|
|
return request({
|
|
url:'/kpiapi/postpc/neweditposttarget',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function get_organdpost(data?:get_organdpost_ary){
|
|
return request({
|
|
url:'/kpiapi/postpc/get_organdpost_ary',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function look_work(data?:look_work_flowcont){
|
|
return request({
|
|
url:'/kpiapi/workflow/look_work_flowcont',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
export function quante(data?:quantechart){
|
|
return request({
|
|
url:'/api/quant/quantechart',
|
|
method:'post',
|
|
data:data
|
|
})
|
|
}
|
|
|