{"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\\PlazaLocation.js","dependencies":[{"path":"D:\\jenkins\\workspace\\damDance-fvue\\src\\api\\basicConfiguration\\PlazaLocation.js","mtime":1697190651909},{"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/square/location/query\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 新增\n addSave: function addSave(data, cb) {\n req.post(portal + \"/base/square/location/\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 修改\n detailId: function detailId(id, cb) {\n req.get(portal + \"/base/square/location/\".concat(id)).then(function (rep) {\n cb(rep.data);\n });\n },\n // 确认修改\n upData: function upData(data, cb) {\n req.put(portal + \"/base/square/location/\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //删除\n remove: function remove(id, cb) {\n req.remove(portal + \"/base/square/location/\".concat(id)).then(function (rep) {\n cb(rep.data);\n });\n },\n //噪音分类树\n getNoise: function getNoise(data, cb) {\n req.post(portal + \"/base/noise/level/getTree\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 根据广场舞地点id查询对应名称\n getPlaceName: function getPlaceName(id) {\n return new Promise(function (resolve, reject) {\n req.get(portal + '/base/square/location/' + id).then(function (res) {\n resolve(res.data);\n }, function (error) {\n reject(error);\n });\n });\n }\n};",null]}