You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
753 B
36 lines
753 B
import http from '../utils/http/index.js'
|
|
|
|
// 根据名称模糊查询企业列表
|
|
export function getCompanyList(data) {
|
|
return http.get({
|
|
url: '/base-paper-trading/get/customers/enterprise/basic/list',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 根据id查询企业详细信息
|
|
export function getCompanyInfoById(data) {
|
|
return http.get({
|
|
url: '/yyt-uec/get/enterprise-detail',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 添加客户
|
|
export function addCustomer(data) {
|
|
return http.post({
|
|
url: '/yyt-uec/supplier/create/customer',
|
|
data
|
|
})
|
|
}
|
|
/**
|
|
* 根据企业名称查询企业坐标列表
|
|
* @param {*} data
|
|
* @returns
|
|
*/
|
|
export function getCompanyLocationList(data) {
|
|
return http.get({
|
|
url: '/yyt-uec/get/enterprise/geographic/position/address',
|
|
data
|
|
})
|
|
}
|