import req from "@/request.js"; const portal = window.context.portal; export default { // 水电站站分页 ListGet(data, cb) { req.post(portal + `/biz/water/monitor/hystQuery`, data).then(rep => { cb(rep.data); }); }, // 获取水电站下拉列表 getTshy(data, cb) { req.post(portal + `/biz/water/monitor/findRsvrList`, data).then(rep => { cb(rep.data); }); }, // 行政区查询接口 getbasAdName(data, cb) { req.post(portal + `/sys/sysAreas/v1/townTree`, data).then(rep => { cb(rep.data); }); }, // 曲线图数据 getChartsList(data, cb) { req.post(portal + `/biz/monitor/curve/powerLatestList`, data).then(rep => { cb(rep.data); }); }, // 水情河道数据导出 sdzDataDerived(data, cb) { req.post(portal + `/biz/water/monitor/exportStll`, data, 'blob').then(rep => { cb(rep.data); }); }, }