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' }) } /* * 获取客户/经纪人/组织绑定信息 * * */ export function bindProjectDetail(data) { return request({ url: `/manager/bindProject/list`, method: 'post', data: data }) } /* * 获取组织印章列表 * * */ export function getSealList(organizationId) { return request({ url: `/file/seal/${organizationId}`, method: 'get' }) } /* * 申请使用公章 * @param {Object} data = {} * */ export function requestSeal(data) { return request({ url: `/file/sealRequest`, method: 'post', data: data }) }