Newer
Older
operation_web / src / components / util / apiField / dataPump.js
@yuwj yuwj on 27 Jan 2021 913 bytes 集成数据滤网模块
/**
 * 泵站三维相关接口
 * @exports {Object}
 */
let host = '/api/newfiber-pump';
// let host = '/lifei/newfiber-pump';

let api = {
    'pumpingInsert': '/pumpStation/insert', //新增泵站
    'pumpingUpdate': '/pumpStation/update', //修改泵站
    'pumpingDelete': '/pumpStation/delete', //删除泵站
    'pumpingSelect': '/pumpStation/select', //查询泵站列表
    'pumpingSelectAll': '/pumpStation/selectAll', //查询全部泵站
    'pumpInsert': '/pump/insert', //新增泵机
    'pumpUpdate': '/pump/update', //修改泵机
    'pumpDelete': '/pump/delete', //删除泵机
    'pumpSelect': '/pump/select', //查询泵机
    'dispatchQueryByStationNo': '/pumpStation/queryByStationNo', //查询泵站列表信息
    'dispatchPumpQueryByStationNo': '/pump/queryListByStationNo', //查询泵机信息
};

for (let item in api) {
    api[item] = host + api[item];
}
export default api;