import http from '../utils/http/index.js' /** * 完善企业信息 * @param {*} data * @returns */ export function completeInfo(data) { return http.post({ url: '/yyt-uec/save/my/enterprise', data }) } /** * 根据名称模糊查询企业列表 * @param {*} data * @returns */ export function getCompanyList(data) { return http.get({ url: '/base-paper-trading/get/customers/enterprise/basic/list', data }) } /** * 根据id查询企业详细信息 * @param {*} data * @returns */ export function getCompanyInfoById(data) { return http.get({ url: '/yyt-uec/get/enterprise-detail', data }) } /** * 根据企业名称查询企业坐标列表 * @param {*} data * @returns */ export function getCompanyLocationList(data) { return http.get({ url: '/yyt-uec/get/enterprise/geographic/position/address', data }) } export const getMemberList = (data) => { return http.get({ url: '/uec/user/get/organization-member-list', data }) } export const getApplicationList = (data) => { return http.get({ url: '/uec/user/get/joining-organization-application-list', data }) } export const auditMember = (data) => { return http.post({ url: '/uec/user/audit/organization/joining-application', data }) } export const getMemberInfo = (data) => { return http.get({ url: '/printing-packaging-factory-service/user/get/organization-member-detail', data }) } export const deleteMember = (data) => { return http.post({ url: '/printing-packaging-factory-service/user/delete/organization-member', data }) } export const updateMember = (data) => { return http.post({ url: '/printing-packaging-factory-service/user/update/organization-member', data }) }