import { Http, ObjectInterface } from '../../../script/index' export default { getOrganization: (params: ObjectInterface): Promise => { // 获取组织机构树 return Http.get('/sys/center/organization/alltree') }, getPermissionOrganization: (params: ObjectInterface): Promise => { // 获取有权限的组织架构树 return Http.get('/sys/center/organization/tree') }, getMemberList: (params: ObjectInterface): Promise => { // 获取组织机构成员 return Http.post(`/sys/center/user/queryUser/${params.orgId}`, params.data) }, getAllMemberList: (params: ObjectInterface): Promise => { return Http.post(`sys/center/user/queryUserAll/${params.orgId}`, params.data) }, // 数据安全 datasafejob: () => { return Http.get('/data/safe/job/moduleConfig') }, // 指标建模 indindicator: () => { return Http.get('/ind/indicator/moduleConfig') }, // 主数据 sharedatamodel: () => { return Http.get('/sharedata/model/moduleConfig') }, // 采集审批 metaposeidontask: () => { return Http.get('/mate/poseidon/task/moduleConfig') }, // 后补审批 supplementsupplementConfig: () => { return Http.get('/supplement/supplementConfig/moduleConfig') }, // 维表 dimensiontableconfig: () => { return Http.get('/dimension/table/moduleConfig') }, // 元数据采集审批 metaDataCollectSupplementConfig: () => { return Http.get('/schema-collect/schema/task/moduleConfig') }, dataShareConfig: (params: ObjectInterface): Promise => { return Http.get(`/dsp/platform/datares/moduleConfig`) }, dataShareMarket: (params: ObjectInterface): Promise => { return Http.get(`/dsp/consumer/application/moduleConfig`) } }