const login = '/users/admin-login' //登录
const loginInfo = '/users/get-info' //登录信息

const getPartnerList = '/dealer/get-list'//经销商列表
const getPartner = '/dealer/get-one' //经销商信息
const editPartner = '/dealer/modify' //修改经销商信息

const getPackageList = '/new-install/packages' //套餐购买列表

const createNewOrder = '/new-install/create' //创建新装工单

const phoneSearch = '/customer/phone-search' //搜索客户电话
const getproductList = '/water/dealer/deposit_pack_product'//新增工单产品


const deviceList = '/device/list' //设备列表
const createRepairOrder = '/order-repair/create'//创建维修订单

const getUninstallList = '/uninstall/list' //拆除工单
const getUninstallInfo = '/uninstall/one'  //拆除工单详情

const getPartList = '/part_replace/list' //更换工单列表
const getPartInfo = '/part_replace/one' //更换工单详情

const masterSelect = '/master/select' //师傅
const getMasterList = '/master/list' //师傅列表
const createMaster = '/master/create'

const getOrderPairList = '/order-repair/list'
const getOrderPairListInfo = '/order-repair/one'

const assignPartReplaceMaster = '/part_replace/assign' //指派

const getNewOrder = '/new-install/list' //新增工单列表
const newOrderDesc = '/new-install/one' //新装工单详情
const BeActive = '/new-install/active-device' //新装工单激活 
const completeNewOrder = '/new-install/complete' //新装工单完成
const cancelNewOrder = '/water/new-install-cancel' 


const gerRepairOrder = '/order-repair/list' //维修工单列表
const RepairOrderDesc = '/order-repair/one'//维修工单详情
const completeRepairOrder = '/order-repair/complete'//完成维修工单
const assignRepairMaster = '/order-repair/assign' //维修工单指派师傅


const getPartOrder = '/part_replace/list'  //更换工单列表
const PartOrderDesc = '/part_replace/one' //滤芯更换详情
const completePartOrder = '/part_replace/complete-part-replace'//完成更换

const getUninstallOrder = '/uninstall/list' //拆除工单列表
const getUninstallDesc = '/uninstall/one' //拆除工单详情
const unintsall = '/uninstall/complete' //完成拆除
const operate = '/uninstall/operate' //报废 入库

const boardInfo = '/waters/board-info-query'
const getDeviceByCode = '/device/qrcode'  //扫码
const ScanQrcodeInNewOrder = '/water/new-install-device-code'
const allocation = '/device/allocation' //设备分配

const UninstallAllocation = '/uninstall/allocation'//分配拆除工单


const getEquipmentStock = '/product/inventory-list'//设备库存
const getEquipmentStockInfo = '/inventory/info' //设备库存-设备详情
const getFilterStock = ''
const getFilterStockInfo = ''

const apiArr = {
    getDeviceByCode,
    assignRepairMaster,
    UninstallAllocation,
    ScanQrcodeInNewOrder,
    getEquipmentStock,
    getEquipmentStockInfo,
    allocation,
    operate,
    unintsall,
    completeRepairOrder,
    newOrderDesc,
    BeActive,
    getPartnerList,
    completeNewOrder,
    completePartOrder,
    cancelNewOrder,
    editPartner,
    RepairOrderDesc,
    PartOrderDesc,
    getUninstallDesc,
    boardInfo,
    createMaster,
    getNewOrder,
    gerRepairOrder,
    getPartOrder,
    getUninstallOrder,
    getOrderPairList,
    getOrderPairListInfo,
    masterSelect,
    getproductList,
    assignPartReplaceMaster,
    login,
    getPartList,
    getPartInfo,
    getUninstallList,
    getUninstallInfo,
    createRepairOrder,
    deviceList,
    loginInfo,
    getPartner,
    getPackageList,
    getMasterList,
    createNewOrder,
    phoneSearch
}
module.exports = apiArr; 