{"remainingRequest":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\damDance-fvue\\src\\api\\basicConfiguration\\IntelligentDevice.js","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\api\\basicConfiguration\\IntelligentDevice.js","mtime":1703831130569},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\damDance-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\damDance-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 dataQuery: function dataQuery(data, cb) {\n req.post(portal + \"/base/deviceInfo/query\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 新增\n addSave: function addSave(data, cb) {\n req.post(portal + \"/base/deviceInfo/\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 修改\n detailId: function detailId(id, cb) {\n req.get(portal + \"/base/deviceInfo/\".concat(id)).then(function (rep) {\n cb(rep.data);\n });\n },\n // 确认修改\n upData: function upData(data, cb) {\n req.put(portal + \"/base/deviceInfo/\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //删除\n remove: function remove(id, cb) {\n req.remove(portal + \"/base/deviceInfo/\".concat(id)).then(function (rep) {\n cb(rep.data);\n });\n },\n //噪音分类树\n plazaQuery: function plazaQuery(data, cb) {\n req.post(portal + \"/base/square/location/query\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 获取不同类型的设备列表\n getDeviceList: function getDeviceList(id, cb) {\n req.get(portal + \"/base/deviceInfo/getDeviceList?deviceCode=\".concat(id)).then(function (rep) {\n cb(rep.data);\n });\n }\n};",null]}