import req from "@/request.js"; const portal = window.context.portal; export default { // 位移测站下拉 getStnms(data, cb) { req.post(portal + `/biz/lift/monitor/findDamMvList`, data).then(rep => { cb(rep.data); }); }, // 位移测站分页 ListGet(data, cb) { req.post(portal + `/biz/lift/monitor/dammvQuery`, 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/dammvList`, data).then(rep => { cb(rep.data); }); }, //导出 resDataDerived(data, cb) { req.post(portal + `/biz/lift/monitor/dammvExport`, data, 'blob').then(rep => { cb(rep.data); }); }, }