57 lines
1.1 KiB
JavaScript
57 lines
1.1 KiB
JavaScript
import myAxios from "./axios";
|
|
const sx = process.env.VUE_APP_CITY_TYPE == 'sx'?'/ferry_service/ferryController/conveyor':''
|
|
|
|
/**
|
|
* 客户档案信息
|
|
* --修改--
|
|
* @param data
|
|
*/
|
|
|
|
export function customerEdit(data) {
|
|
return myAxios({
|
|
url: `${sx}/energy-effcicency-net-service/nxzdCustomerBasicInfoNet/edit`, //后端接口路由
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 查询单个客户信息
|
|
* @param id
|
|
*/
|
|
|
|
export function getSingleInfo(id) {
|
|
return myAxios({
|
|
url: `${sx}/energy-effcicency-net-service/nxzdCustomerBasicInfoNet/getOneInfo`, //后端接口路由
|
|
method: 'get',
|
|
params: { id }
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 查询单个客户信息 -- 任务管理
|
|
* @param id
|
|
*/
|
|
export function getSingleTaskInfo(id) {
|
|
return myAxios({
|
|
url: `${sx}/energy-effcicency-net-service/taskNet/getInfo`, //后端接口路由
|
|
method: 'get',
|
|
params: { id }
|
|
})
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 查询客户用电户号列表
|
|
* @param data
|
|
*/
|
|
// nxzdCustomerBasicInfoNet
|
|
export function getUseele(data) {
|
|
return myAxios({
|
|
url: `${sx}/energy-effcicency-net-service/nxzdCConsNet/list`, //后端接口路由
|
|
method: 'post',
|
|
data
|
|
})
|
|
} |