| | |
| | | // 获取人事系统组织 |
| | | export function selectCompaniesList() { |
| | | return request({ |
| | | url: "/companies/selectCompaniesList", |
| | | url: "/system/newUser/selectCompaniesList", |
| | | method: "get", |
| | | }); |
| | | } |
| | | // 获取人事系统组织下的人员 |
| | | export function selectSimpleList(data) { |
| | | return request({ |
| | | url: "/companies/selectSimpleList", |
| | | method: "post", |
| | | url: "/system/newUser/selectSimpleList", |
| | | method: "get", |
| | | params: data, |
| | | }); |
| | | } |
| | | // 获取人事系统组织下的人员 |
| | | export function addPersonUser(data) { |
| | | return request({ |
| | | url: "/companies/addPersonUser", |
| | | url: "/system/newUser/addPersonUser", |
| | | method: "post", |
| | | params: data, |
| | | data: data, |
| | | }); |
| | | } |
| | | // 获取角色 |
| | |
| | | method: "get", |
| | | }); |
| | | } |
| | | // 获取单位 |
| | | export function selectCustomEnum() { |
| | | return request({ |
| | | url: "/user/selectCustomEnum", |
| | | method: "get", |
| | | }); |
| | | } |
| | | |
| | | // 提交添加架构信息 |
| | | export function addDepartment(params) { |
| | | return request({ |