Files
energy_app/src/api/customerIformation.js
T
jiangyinzhi 04f0606430 能效诊断
2024-07-10 10:25:32 +08:00

28 lines
960 B
JavaScript

import myAxios from './axios'
const sx = process.env.VUE_APP_CITY_TYPE == 'sx'?'/ferry_service/ferryController/conveyor':''
//通过id获取到当前id的详细信息
export function getCurrentPersonInfoAPI(customerId) {
return myAxios({
url: `${sx}/energy-effcicency-net-service/nxzdCustomerBasicInfoNet/getOneInfo`, //后端接口路由
method: 'get',
params: { id: customerId }
})
}
// 查询单个客户统计信息
export function getCustomerStatisticAPI(id) {
return myAxios({
url:`${sx}/energy-effcicency-net-service/nxzdCustomerBasicInfoNet/getCustomerStatistic`, //后端接口路由
method: 'get',
params: { id }
})
}
// 工业企业--通过id获取到当前id的详细信息
export function getInfoAPI(customerId) {
return myAxios({
url:`${sx}/energy-effcicency-net-service/nxzdCustomerBasicInfoNet/getEnterpriseCustomerStatistic`, //后端接口路由
method: 'get',
params: { id: customerId }
})
}