import req from "@/request.js"; const portal = window.context.portal; export default { // 渗流测站下拉 SeepagetStnms(data, cb) { req.post(portal + `/biz/lift/monitor/findSpgnList`, data).then(rep => { cb(rep.data); }); }, // 渗流测站分页 GetSeepage(data, cb) { req.post(portal + `/biz/lift/monitor/damspQuery`, data).then(rep => { cb(rep.data); }); }, //字典 getSys(data, cb) { req.post(portal + `/sys/sysDictionary/v1/queryDictItemsByCode`, data).then(rep => { cb(rep.data); }); }, // 水库水位水库下拉 getRsnm(data, cb) { req.post(portal + `/att/res/base/findAll`, 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/damspgList`, data).then(rep => { cb(rep.data); }); }, }