{"remainingRequest":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\bbsl-fvue\\src\\api\\frontScreen\\index.js","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\api\\frontScreen\\index.js","mtime":1684458236199},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import req from '@/request.js';\nvar portal = window.context.portal;\nexport default {\n // 线上请求天气\n getWeather: function getWeather(cb) {\n req.get('/v3/weather/weatherInfo?city=500109&key=1af220913a77b2622eb27cfc779de72d&extensions=all').then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n // 本地测试\n // getWeather(cb) {\n // req.get('/weatherApi/v3/weather/weatherInfo?city=500109&key=1af220913a77b2622eb27cfc779de72d&extensions=all').then(rep => {\n // if(rep.data){\n // cb(rep.data);\n // }\n // });\n // },\n //行政基础概况\n govSector: function govSector(cb) {\n req.post(portal + '/biz/warn/statistics/govSector').then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //水位报警统计\n swWarning: function swWarning(cb) {\n req.post(portal + '/biz/warn/statistics/swWarning').then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //雨量报警统计\n ylWarning: function ylWarning(cb) {\n req.post(portal + '/biz/warn/statistics/ylWarning').then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //测站正常率\n station: function station(cb) {\n req.post(portal + '/biz/warn/statistics/station').then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //工程概况\n project: function project(data, cb) {\n req.get(portal + '/biz/warn/statistics/project?status=' + data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //生态流量\n flowList: function flowList(data, cb) {\n req.post(portal + '/biz/warn/statistics/flowList', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //临界河道水位排行\n criticalRiver: function criticalRiver(cb) {\n req.post(portal + '/biz/warn/statistics/criticalRiverList').then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //临界水库水位排行\n criticalRsvr: function criticalRsvr(cb) {\n req.post(portal + '/biz/warn/statistics/criticalRsvrList').then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //当年取水量统计\n yearWaterPaln: function yearWaterPaln(data, cb) {\n req.post(portal + '/biz/warn/statistics/yearWaterPaln', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //日累计降雨排行\n precipitation: function precipitation(data, cb) {\n req.get(portal + '/biz/warn/statistics/precipitation?appType=' + data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //实时水情\n realTimeWaterList: function realTimeWaterList(data, cb) {\n req.post(portal + '/biz/warn/statistics/realTimeWaterList', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n // 实时雨情\n realTimeRainList: function realTimeRainList(data, cb) {\n req.post(portal + '/biz/warn/statistics/realTimeRainList', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //实时水情\n realTimeWaterLists: function realTimeWaterLists(data, cb) {\n req.post(portal + '/biz/warn/statistics/realTimeWaterList', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n // 实时雨情\n realTimeRainLists: function realTimeRainLists(data, cb) {\n req.post(portal + '/biz/warn/statistics/realTimeRainList', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n //获取海康地址\n haiKang: function haiKang(cb) {\n req.post(portal + '/haikang/v1/getTokenUrl').then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n // 水库水位水库下拉\n getRsnm: function getRsnm(data, cb) {\n req.post(portal + \"/att/res/base/findAll\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //所有报警统计\n allWarningList: function allWarningList(data, cb) {\n req.post(portal + '/biz/warn/statistics/allWarning', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n }\n};",null]}