{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\api\\device\\performanceAnalysis.js","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\api\\device\\performanceAnalysis.js","mtime":1667545180588},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import req from '@/request.js'; // const portal = window.context.testHealth\n\nvar portal = window.context.portal;\nexport default {\n // /* 性能分析 ---> 故障统计 */\n //获取统计次数\n getCount: function getCount(data, cb) {\n req.post(portal + \"/device/data/failureStatistics\", data).then(function (res) {\n res && cb(res.data);\n });\n },\n //根据设备类型统计分析\n deviceType: function deviceType(productType) {\n req.get(portal + \"/device/data/statistics/\" + productType).then(function (res) {\n res;\n });\n },\n // /* 性能分析 ---> 时长统计 */\n //获取设备时长\n loadTime: function loadTime(data, cb) {\n req.post(portal + \"/device/data/timeStatistics\", data).then(function (res) {\n res && cb(res.data);\n });\n },\n // /* 性能分析 ---> 健康统计 */\n //## 设备状态统计\n getAnalysis: function getAnalysis(data, cb) {\n req.post(portal + \"/performanceAnalysis/v1/statistics\", data).then(function (res) {\n res && cb(res.data);\n });\n },\n //## 设备故障次数统计\n getTrouble: function getTrouble(data, cb) {\n req.post(portal + \"/performanceAnalysis/v1/statisticsTrouble\", data).then(function (res) {\n res && cb(res.data);\n });\n },\n //## 当前设备故障次数统计\n getCurrentTrouble: function getCurrentTrouble(data, cb) {\n req.post(portal + \"/performanceAnalysis/v1/statisticsCurrentTrouble\", data).then(function (res) {\n res && cb(res.data);\n });\n },\n //## 各月份设备故障次数统计\n getDeviceCount: function getDeviceCount(data, cb) {\n req.post(portal + \"/performanceAnalysis/v1/troubleCountMonthly\", data).then(function (res) {\n res && cb(res.data);\n });\n },\n //## 设备告警次数统计\n getWarn: function getWarn(data, cb) {\n req.post(portal + \"/performanceAnalysis/v1/statisticsWarn\", data).then(function (res) {\n res && cb(res.data);\n });\n },\n //## 当前设备告警次数统计\n getwarnCount: function getwarnCount(data, cb) {\n req.post(portal + \"/performanceAnalysis/v1/warnCountCurrently\", data).then(function (res) {\n res && cb(res.data);\n });\n },\n //## 各月份设备告警次数统计\n getCountMonthly: function getCountMonthly(data, cb) {\n req.post(portal + \"/performanceAnalysis/v1/warnCountMonthly\", data).then(function (res) {\n res && cb(res.data);\n });\n },\n // 设备状态统计·下钻\n getStatisticsSub: function getStatisticsSub(data, cb) {\n req.post(portal + \"/performanceAnalysis/v1/statisticsSub\", data).then(function (res) {\n res && cb(res.data);\n });\n }\n};",null]}