{"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\\VideoFacilities.js","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\api\\device\\VideoFacilities.js","mtime":1687169259491},{"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 _defineProperty from \"D:/jenkins/workspace/bzzgj-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\n\nvar _getVideoF$getVideoTr;\n\nimport req from \"@/request.js\";\nvar portal = window.context.portal;\nexport default (_getVideoF$getVideoTr = {\n // 获取视频目录\n getVideoF: function getVideoF(data, cb) {\n req.post(portal + \"/biz/catalog/base/getCataLogBase\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 获取视频目录树\n getVideoTree: function getVideoTree(data, cb) {\n req.post(portal + \"/biz/catalog/base/getTree\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //点击树获取分页\n getList: function getList(data, cb) {\n req.post(portal + \"/biz/catalog/base/point/queryPointPage\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //获取分关监控点联页,不分页\n getListPage: function getListPage(data, cb) {\n req.post(portal + \"/biz/catalog/base/findByZoneCode\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n //同步检测点信息\n getSynch: function getSynch(data, cb) {\n req.post(portal + \"/biz/catalog/base/asycZoneRes\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 根据Id获取已关联的监控点\n RvdetailRelation: function RvdetailRelation(id, cb) {\n req.get(portal + \"/att/rv/base/getVideoList/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 根据id查询视频点位信息\n InquireBasePoint: function InquireBasePoint(id, cb) {\n req.get(portal + \"/biz/catalog/base/point/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 根据id获取已关联的监控点\n detailRelation: function detailRelation(id, cb) {\n req.get(portal + \"/att/res/base/getVideoList/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 根据id获取已关联的水电监控点\n HyddetailRelation: function HyddetailRelation(id, cb) {\n req.get(portal + \"/att/hyst/base/getVideoList/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n //同步数据\n asycCataLog: function asycCataLog(cb) {\n req.post(portal + \"/biz/catalog/base/asycCataLog\").then(function (rep) {\n cb(rep.data);\n });\n },\n //根据目录信息同步海康区域信息\n asycCataLogZone: function asycCataLogZone(data, cb) {\n req.post(portal + \"/biz/catalog/base/asycCataLogZone\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 获取视频点位信息\n getDetails: function getDetails(id, cb) {\n req.get(portal + \"/biz/catalog/base/\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 修改视频点位\n modifyPointExtend: function modifyPointExtend(data, cb) {\n req.put(portal + \"/biz/catalog/base/updateById\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 查询图标地址\n getIconAddress: function getIconAddress(id, cb) {\n req.get(portal + \"/file/v1/fileGet?id=\" + id).then(function (rep) {\n cb(rep.data);\n });\n },\n // 请求图片数据\n getIconData: function getIconData(data, cb) {\n req.get(portal + data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 分页查询状态日志\n loadLog: function loadLog(data, cb) {\n req.post(portal + \"/deviceStatusLog/v1/query\", data).then(function (rep) {\n cb(rep.data);\n });\n },\n // 分页查询\n loadInfo: function loadInfo(data, cb) {\n req.post(portal + \"/device/warnInfo/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 分页查询设备所属合同\n getDeviceList: function getDeviceList(data, cb) {\n req.post(portal + '/device/relation/contract/findByContractPage', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n },\n // 新增视频区域\n addVideoArea: function addVideoArea(data, cb) {\n req.post(portal + '/biz/catalog/base/zone/', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n }\n}, _defineProperty(_getVideoF$getVideoTr, \"addVideoArea\", function addVideoArea(data, cb) {\n req.post(portal + '/biz/catalog/base/zone/', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n}), _defineProperty(_getVideoF$getVideoTr, \"updateVideoArea\", function updateVideoArea(data, cb) {\n req.put(portal + '/biz/catalog/base/zone/', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n}), _defineProperty(_getVideoF$getVideoTr, \"deleteVideoArea\", function deleteVideoArea(data, cb) {\n req.remove(portal + '/biz/catalog/base/zone/' + data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n}), _defineProperty(_getVideoF$getVideoTr, \"addVideoSite\", function addVideoSite(data, cb) {\n req.post(portal + '/biz/catalog/base/point/', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n}), _defineProperty(_getVideoF$getVideoTr, \"updateVideoSite\", function updateVideoSite(data, cb) {\n req.put(portal + '/biz/catalog/base/point/', data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n}), _defineProperty(_getVideoF$getVideoTr, \"deleteVideoSite\", function deleteVideoSite(data, cb) {\n req.remove(portal + '/biz/catalog/base/point/' + data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n}), _defineProperty(_getVideoF$getVideoTr, \"getVideoSiteById\", function getVideoSiteById(data, cb) {\n req.get(portal + '/biz/catalog/base/point/' + data).then(function (rep) {\n if (rep.data) {\n cb(rep.data);\n }\n });\n}), _getVideoF$getVideoTr);",null]}