{"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\\equipmentIndex.js","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\api\\device\\equipmentIndex.js","mtime":1687310670796},{"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';\nvar portal = window.context.portal;\nexport default {\n //下拉数据\n getTree: function getTree(data, cb) {\n req.post(portal + \"/device/product/type/getTree\", data).then(function (res) {\n cb(res.data);\n });\n },\n // deviceStatistics(data, cb) {\n // req.post(portal + `/homepage/v1/deviceStatistics`, data).then(res => {\n // cb(res.data)\n // })\n // },\n currentStatusAnalyze: function currentStatusAnalyze(data, cb) {\n req.post(portal + \"/homepage/v1/currentStatusAnalyze\", data).then(function (res) {\n cb(res.data);\n });\n },\n // monthlyAnalyze(data, cb) {\n // req.post(portal + `/homepage/v1/monthlyAnalyze?code=`+data).then(res => {\n // cb(res.data)\n // })\n // },\n //实时数据\n realTimeData: function realTimeData(data, cb) {\n req.post(portal + \"/homepage/v1/realTimeData?code=\" + data).then(function (res) {\n cb(res.data);\n });\n },\n query: function query(data, cb) {\n req.post(portal + \"/device/warnInfo/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n //非智能设备状态分析\n generalStatusAnalyze: function generalStatusAnalyze(cb) {\n req.post(portal + \"/homepage/v1/generalStatusAnalyze\").then(function (res) {\n cb(res.data);\n });\n },\n //智能设备状态分析\n intellectStatusAnalyze: function intellectStatusAnalyze(cb) {\n req.post(portal + \"/homepage/v1/intellectStatusAnalyze\").then(function (res) {\n cb(res.data);\n });\n },\n //区域智能设备状态分析\n areaStatusAnalyze: function areaStatusAnalyze(data, cb) {\n req.post(portal + \"/homepage/v1/areaStatusAnalyze?typeCode=\" + data).then(function (res) {\n cb(res.data);\n });\n },\n // //区域智能设备状态分析\n // deviceProductStatistics(data, cb) {\n // req.post(portal + `/homepage/v1/deviceProductStatistics?fullId=`+data).then(res => {\n // cb(res.data)\n // })\n // },\n //获取产品列表(不分页)\n productFindAll: function productFindAll(data, cb) {\n req.post(portal + \"/device/product/info/findAll\", data).then(function (res) {\n cb(res.data);\n });\n },\n //设备使用年限分析\n lifeAnalyze: function lifeAnalyze(cb) {\n req.post(portal + \"/homepage/v1/lifeAnalyze\").then(function (res) {\n cb(res.data);\n });\n },\n //近一月状态分析\n monthlyAnalyze: function monthlyAnalyze(data, cb) {\n req.post(portal + \"/homepage/v1/monthlyAnalyze?code=\" + data).then(function (res) {\n cb(res.data);\n });\n },\n //设备历史报警、故障分析\n warnFailureHisAnalyze: function warnFailureHisAnalyze(data, data1, data2, cb) {\n req.post(portal + \"/homepage/v1/warnFailureHisAnalyze?typeCode=\".concat(data, \"&endTime=\").concat(data1, \"&startTime=\").concat(data2)).then(function (res) {\n cb(res.data);\n });\n },\n AllproductType: function AllproductType(data, cb) {\n req.post(portal + \"/device/product/type/getAllTree\", data).then(function (res) {\n cb(res.data);\n });\n }\n};",null]}