1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- import {
- request
- } from '@/request/request.js';
- /*
- * 获取组织项目部门列表
- *
- *
- */
- export function getPartList(organizationId, projectId) {
- return request({
- url: `/manager/role/${organizationId}/${projectId}`,
- method: 'get'
- })
- }
- /*
- * 获取组织项目部门用户列表
- *
- *
- */
- export function getUserListByPart(data) {
- return request({
- url: `/manager/user/list/${data.organizationId}/${data.partId}`,
- method: 'post'
- })
- }
- /*
- * 切换组织
- * @param null
- */
- export function selectOrangaized(data) {
- return request({
- url: `/manager/userContext/organization`,
- method: 'post',
- data: data
- })
- }
- /*
- * 获取组织详情
- *
- *
- */
- export function getOrganizationDetailById(id) {
- return request({
- url: `/manager/base/organization/${id}`,
- method: 'get'
- })
- }
|