import req from "@/request.js"; const portal = window.context.portal; export default { // 获取监测站下拉列表 HyddetailRelation(data,cb) { req.post(portal + `/biz/station/base/findNoUse`,data).then(rep => { cb(rep.data); }); }, relationAd(data, cb) { req.post(portal + `/biz/station/base/bindStation`, data).then(rep => { cb(rep.data); }); }, detailRelation(id, cb) { req.get(portal + `/att/res/base/getVideoList/` + id).then(rep => { cb(rep.data); }); }, //右侧数据 getRelation(data,cb) { req.post(portal + `/biz/station/base/getStationList`,data).then(rep => { cb(rep.data); }); }, findGqStation(data,cb){ req.post(portal + `/biz/res/statistics/findGqStation`,data).then(rep => { cb(rep.data); }); } }