import req from "@/request.js"; const portal = window.context.portal; export default { // 渗压测站下拉 PressuresStnms(data, cb) { req.post(portal + `/biz/lift/monitor/findSpprList`, data).then(rep => { cb(rep.data); }); }, // 渗压测站分页 GetPressures(data, cb) { req.post(portal + `/biz/lift/monitor/damopQuery`, 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/damspprList`, data).then(rep => { cb(rep.data); }); }, }