{"version":3,"sources":["webpack:///./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack:///./src/views/permission/modal/CameraPrivilegeModal.vue?3ad3","webpack:///src/views/permission/modal/CameraPrivilegeModal.vue","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack:///./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack:///./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack:///./src/views/static/icon/tree_leaf_dark.svg","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack:///./src/views/permission/modal/CameraPrivilegeModal.vue?e6f8","webpack:///./src/views/permission/modal/CameraPrivilegeModal.vue","webpack:///./src/views/permission/modal/CameraPrivilegeModal.vue?b04f","webpack:///./src/views/permission/modal/CameraPrivilegeModal.vue?f18c","webpack:///./src/views/static/icon/tree_parent.svg","webpack:///./src/api/camera.js","webpack:///./node_modules/@babel/runtime/helpers/esm/iterableToArray.js"],"names":["_unsupportedIterableToArray","o","minLen","n","Object","prototype","toString","call","slice","constructor","name","Array","from","test","MODAL","WIDTH","MASK_CLOSABLE","KEYBOARD","components","ARow","ACol","data","visible","confirmLoading","title","roleData","id","assginedDatas","indeterminate","checkAll","checkedList","oldCheckedList","plainOptions","privLoading","saveLoading","simpleImage","deptList","deptAllList","currentSelectTreeNode","defaultSelectedKey","selectKeys","addDataList","deleteDataList","commonDataList","areaList","computed","methods","_objectSpread","mapGetters","initAllData","_this2","listDept","deptName","then","res","forEach","v","push","length","toTree4Dept","deepClone","firstLeafNode","findFirstLeafNodeFromDeptTrees","getCameraData","item","children","map","val","parent","parentId","deptTrees","clearHistoryDataList","onSelect","selectedKeys","_this3","notificationUtil","warning","description","selectOldKey","departmentId2Name","ids","_this4","departmentNames","onChange","changeDataFilter","onCheckAllChange","e","assign","target","checked","getCheckedValue","checkedValueList","value","dept","_this5","listAreaStore","getCamerasByDept","country","find","area","eval","areaCode","obj","label","cameraName","cameraNum","parentCode","areaName","getRoleCameraPrivilege","assignCameraPrivilege","role","handleCancel","resetProperty","$emit","close","roleId","_this6","getRoleCameras","dataForRoles","filter","some","loadCheckbox","finally","_toConsumableArray","_this7","saveDataPrivilege","chkLength","_this","$confirm","content","onOk","addRoleCameras","addData","delData","status","success","onCancel","beforeCreate","Empty","PRESENTED_IMAGE_SIMPLE","created","mounted","_arrayWithoutHoles","arr","isArray","arrayLikeToArray","_nonIterableSpread","TypeError","iterableToArray","unsupportedIterableToArray","module","exports","_arrayLikeToArray","len","i","arr2","render","_vm","this","_c","_self","staticClass","attrs","height","on","model","callback","$$v","expression","slot","directives","rawName","key","_v","staticStyle","_s","_l","index","require","item2","item3","_e","staticRenderFns","component","URL","MANAGE_URL","ROLE_CAMERA_URL","MANAGE_CAMERA_URL","listCameraAndDept","p","get","listCameraStatus","listCamerasForStream","cameraStreamOperate","cameraStreamOperate2","sameCheck","addCameraData","post","getCameras","getAllCameras","getCamerasByPage","getCameraPushed","path","pushCameraStream","listCameraForAudit","camerasAuditPass","camerasAuditReject","getCamerasByClassify","getCamerasByNum","updateDirectionDesc","listCameraForTag","addCameraTag","_iterableToArray","iter","Symbol","iterator"],"mappings":"wNAAA,kDACe,SAASA,EAA4BC,EAAGC,GACrD,GAAKD,EAAL,CACA,GAAiB,kBAANA,EAAgB,OAAO,eAAiBA,EAAGC,GACtD,IAAIC,EAAIC,OAAOC,UAAUC,SAASC,KAAKN,GAAGO,MAAM,GAAI,GAEpD,MADU,WAANL,GAAkBF,EAAEQ,cAAaN,EAAIF,EAAEQ,YAAYC,MAC7C,QAANP,GAAqB,QAANA,EAAoBQ,MAAMC,KAAKX,GACxC,cAANE,GAAqB,2CAA2CU,KAAKV,GAAW,eAAiBF,EAAGC,QAAxG,K,kCCPF,W,k0FCgIA,IAAAY,MAAA,CACAC,MAAA,KACAC,eAAA,EACAC,UAAA,GAEA,0BACAP,KAAA,uBACAQ,WAAA,CAAAC,kEAAAC,mEACAC,KAAA,WACA,OACAC,SAAA,E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SAAAV,GAAC,OAAIC,iBAAIN,EAAM,UAAWK,IAC1CW,EAAmB,SAAAX,GAAC,OAAIC,iBAAIH,EAAoB,QAASE,GAAG,IAC5DY,EAAkB,SAAAZ,GAAC,OAAIC,iBAAIL,EAAa,wBAAyBI,IAEjExE,EAAiB,SAAAwE,GAAC,OAAIC,iBAAIJ,EAAkB,QAASG,IACrD1D,EAAiB,SAACuE,EAAMb,GAAC,OAAKQ,kBAAKX,WAAkCgB,EAAMb,IAE3Ec,EAAmB,SAACD,EAAMb,GAAC,OAAKQ,kBAAKK,EAAMb,IAE3Ce,EAAqB,SAAAf,GAAC,OAAIC,iBAAIL,EAAa,0BAA2BI,IACtEgB,EAAmB,SAACH,EAAMb,GAAC,OAAKQ,kBAAKZ,EAAa,iCAAmCiB,EAAMb,IAC3FiB,EAAqB,SAACJ,EAAMb,GAAC,OAAKQ,kBAAKZ,EAAa,mCAAqCiB,EAAMb,IAE/FkB,EAAuB,SAAAlB,GAAC,OAAIC,iBAAIH,EAAoB,4BAA6BE,IACjFmB,EAAkB,SAAAnB,GAAC,OAAIC,iBAAIH,EAAoB,UAAWE,IAC1DoB,EAAsB,SAAApB,GAAC,OAAIQ,kBAAKV,EAAoB,uBAAwBE,IAE5EqB,EAAmB,SAAArB,GAAC,OAAIC,iBAAIH,EAAoB,eAAgBE,IAChEsB,EAAe,SAAAtB,GAAC,OAAIQ,kBAAKV,EAAoB,WAAYE,K,yDCzCvD,SAASuB,EAAiBC,GACvC,GAAsB,qBAAXC,QAAmD,MAAzBD,EAAKC,OAAOC,WAA2C,MAAtBF,EAAK,cAAuB,OAAO1M,MAAMC,KAAKyM,GADtH","file":"js/chunk-a082df14.93be3394.js","sourcesContent":["import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CameraPrivilegeModal.vue?vue&type=style&index=1&id=abf94c64&prod&lang=css\"","\r\n\r\n\r\n\r\n\r\n\r\n","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","module.exports = __webpack_public_path__ + \"assets/tree_leaf_dark.c4f6966f.svg\";","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n}","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CameraPrivilegeModal.vue?vue&type=style&index=0&id=abf94c64&prod&rel=stylesheet%2Fscss&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('a-modal',{staticClass:\"role-data\",attrs:{\"bodyStyle\":{height:'600px;'},\"title\":_vm.title,\"width\":_vm.MODAL.WIDTH,\"centered\":\"\",\"keyboard\":_vm.MODAL.KEYBOARD,\"mask-closable\":_vm.MODAL.MASK_CLOSABLE,\"confirm-loading\":_vm.confirmLoading,\"destroyOnClose\":true},on:{\"cancel\":_vm.handleCancel},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('template',{slot:\"footer\"},[_c('a-button',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],key:\"back\",attrs:{\"type\":\"primary\"},on:{\"click\":_vm.handleCancel}},[_vm._v(\"关闭\")])],1),_c('div',{staticStyle:{\"width\":\"100%\"}},[_c('div',{staticClass:\"role-area\"},[_c('a-row',[_c('a-col',{attrs:{\"span\":8}},[_c('span',{staticStyle:{\"color\":\"rgba(0, 0, 0, 0.45)\"}},[_vm._v(\"角色编号:\")]),_c('span',{staticStyle:{\"color\":\"#000000\"}},[_vm._v(_vm._s(_vm.roleData.id))])]),_c('a-col',{attrs:{\"span\":8}},[_c('span',{staticStyle:{\"color\":\"rgba(0, 0, 0, 0.45)\"}},[_vm._v(\"角色名称:\")]),_c('span',{staticStyle:{\"color\":\"#000000\"}},[_vm._v(_vm._s(_vm.roleData.name))])]),_c('a-col',{attrs:{\"span\":8}},[_c('span',{staticStyle:{\"color\":\"rgba(0, 0, 0, 0.45)\"}},[_vm._v(\"已分配相机总数:\")]),_c('span',{staticStyle:{\"color\":\"#000000\"}},[_vm._v(_vm._s(_vm.roleData.assginedDatas.length)+\"条\")])])],1)],1),_c('a-row',{staticStyle:{\"padding-top\":\"12px\"},attrs:{\"gutter\":20}},[_c('a-col',{staticClass:\"dept-area\",attrs:{\"span\":3}},[_c('div',{staticClass:\"area-title\"},[_vm._v(\"请单击选择单位:\")]),(_vm.deptList.length>0)?_c('div',{staticClass:\"dept-content\"},[(_vm.deptList.length>0)?_c('a-tree',{attrs:{\"showLine\":\"\",\"selectedKeys\":_vm.selectKeys,\"defaultExpandAll\":\"\",\"defaultSelectedKeys\":_vm.defaultSelectedKey},on:{\"select\":_vm.onSelect}},_vm._l((_vm.deptList),function(item,key,index){return _c('a-tree-node',{key:item.id,attrs:{\"value\":item.id}},[_c('div',{staticStyle:{\"font-size\":\"14px\"},attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('img',{staticStyle:{\"width\":\"16px\",\"height\":\"16px\",\"margin-bottom\":\"3px\"},attrs:{\"src\":require(\"../../static/icon/tree_parent.svg\")}}),_vm._v(\"\\n \"+_vm._s(item.name)+\"\\n \")]),_vm._l((item.children),function(item2){return _c('a-tree-node',{key:item2.id,attrs:{\"value\":item2.id}},[(!item2.children || item2.children.length===0)?_c('div',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('img',{staticStyle:{\"width\":\"16px\",\"height\":\"16px\",\"margin-bottom\":\"3px\"},attrs:{\"src\":require(\"../../static/icon/tree_leaf_dark.svg\")}}),_vm._v(\"\\n \"+_vm._s(item2.name)+\"\\n \")]):_c('div',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('div',{staticStyle:{\"font-size\":\"14px\"},attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('img',{staticStyle:{\"width\":\"16px\",\"height\":\"16px\",\"margin-bottom\":\"3px\"},attrs:{\"src\":require(\"../../static/icon/tree_parent.svg\")}}),_vm._v(\"\\n \"+_vm._s(item2.name)+\"\\n \")])]),_vm._l((item2.children),function(item3){return _c('a-tree-node',{key:item3.id,attrs:{\"value\":item3.id}},[_c('div',{staticStyle:{\"font-size\":\"14px\"},attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('img',{staticStyle:{\"width\":\"16px\",\"height\":\"16px\",\"margin-bottom\":\"3px\"},attrs:{\"src\":require(\"../../static/icon/tree_leaf_dark.svg\")}}),_vm._v(\"\\n \"+_vm._s(item3.name)+\"\\n \")])])})],2)})],2)}),1):_vm._e()],1):_c('a-empty',{staticStyle:{\"margin-top\":\"75px\"},attrs:{\"image\":_vm.simpleImage}})],1),_c('a-col',{attrs:{\"span\":21}},[_c('div',{staticStyle:{\"height\":\"100%\",\"overflow\":\"hidden\"}},[_c('div',{staticClass:\"area-title\"},[_vm._v(\"摄像机列表:\")]),_c('div',{staticStyle:{\"margin\":\"10px 0\"}},[_c('a-row',{staticStyle:{\"font-size\":\"15px\",\"height\":\"38px\"}},[_c('a-col',{attrs:{\"span\":2}},[_c('a-checkbox',{attrs:{\"indeterminate\":_vm.indeterminate,\"checked\":_vm.checkAll},on:{\"change\":_vm.onCheckAllChange}},[_vm._v(\"\\n 全选/反选\\n \")])],1),_c('a-col',{attrs:{\"span\":2}},[_c('a-button',{attrs:{\"type\":\"primary\",\"loading\":_vm.saveLoading},on:{\"click\":_vm.saveDataPrivilege}},[_vm._v(\"保存\")])],1),_c('a-col',{staticStyle:{\"padding-top\":\"5px\"},attrs:{\"span\":3}},[_vm._v(\"\\n 已选中:\"),_c('span',{staticStyle:{\"color\":\"#008000\"}},[_vm._v(_vm._s(_vm.checkedList.length)+\"条\")])]),_c('a-col',{staticStyle:{\"padding-top\":\"5px\"},attrs:{\"span\":17}},[_vm._v(\"\\n \"+_vm._s(this.currentSelectTreeNode.name)+\"相机总数:\"),_c('span',{staticStyle:{\"color\":\"#008000\"}},[_vm._v(_vm._s(_vm.plainOptions.length)+\"条\")])])],1)],1),_c('div',{staticClass:\"data-area\"},[_c('a-spin',{attrs:{\"spinning\":_vm.privLoading,\"size\":\"large\"}},[(_vm.plainOptions.length>0)?_c('a-checkbox-group',{on:{\"change\":_vm.onChange},model:{value:(_vm.checkedList),callback:function ($$v) {_vm.checkedList=$$v},expression:\"checkedList\"}},[_c('a-row',{attrs:{\"gutter\":10}},_vm._l((_vm.plainOptions),function(item,index){return _c('a-col',{attrs:{\"xl\":6,\"lg\":6,\"md\":8,\"em\":24,\"xs\":12,\"sm\":8}},[_c('a-checkbox',{staticClass:\"content\",attrs:{\"value\":item.value}},[(item.label.length>18)?_c('span',{staticClass:\"showCameraNameTip\",attrs:{\"title\":item.label}},[_vm._v(_vm._s(item.label))]):_c('span',[_vm._v(_vm._s(item.label))]),_c('div',{staticStyle:{\"padding-left\":\"28px\"}},[_c('span',{staticStyle:{\"margin-right\":\"4px\"}},[_vm._v(\"所在区域:\")]),_vm._v(\" \"+_vm._s(item.area)+\"\\n \")])])],1)}),1)],1):_c('a-empty',{attrs:{\"image\":_vm.simpleImage}})],1)],1)])])],1)],1)],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CameraPrivilegeModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CameraPrivilegeModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CameraPrivilegeModal.vue?vue&type=template&id=abf94c64&scoped=true\"\nimport script from \"./CameraPrivilegeModal.vue?vue&type=script&lang=js\"\nexport * from \"./CameraPrivilegeModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./CameraPrivilegeModal.vue?vue&type=style&index=0&id=abf94c64&prod&rel=stylesheet%2Fscss&lang=scss&scoped=true\"\nimport style1 from \"./CameraPrivilegeModal.vue?vue&type=style&index=1&id=abf94c64&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"abf94c64\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"assets/tree_parent.e325db0c.svg\";","import { get, post, put, del } from '@/utils/request'\r\n\r\nconst URL = '/data/camera'\r\nconst MANAGE_URL = '/manage'\r\nconst ROLE_CAMERA_URL = MANAGE_URL + '/roleCamera'\r\nconst MANAGE_CAMERA_URL = MANAGE_URL + '/camera'\r\n\r\nexport const listCameraAndDept = p => get(URL + '/listCameras', p)\r\nexport const listCameraStatus = p => get(URL + '/listCamerasForStatus', p)\r\n\r\n// export const listCamerasForStream = p => get(URL + '/listCamerasForStream', p)\r\nexport const listCamerasForStream = p => get(MANAGE_URL + '/camera/listCamerasForStream', p)\r\n\r\n// 2025-03-17 hcx修改url\r\n// export const cameraStreamOperate = p => get(URL + '/cameraStreamOperate', p)\r\n\r\nexport const cameraStreamOperate = p => get(MANAGE_URL + '/camera/cameraStreamOperate', p)\r\n\r\n// update 2025-3-14 17:10:07 摄像机流管理,推流和禁推调用该接口,并携带cameraName\r\nexport const cameraStreamOperate2 = p => get('/manage/camera' + '/cameraStreamOperate', p)\r\nexport const sameCheck = p => get(URL + '/sameName', p)\r\nexport const addCameraData = p => post(URL + '/add', p)\r\nexport const getCameras = p => get(MANAGE_CAMERA_URL + '/get', p)\r\nexport const getAllCameras = p => get(URL + '/getAll', p)\r\nexport const getCamerasByPage = p => get(MANAGE_CAMERA_URL + '/page', p, true)\r\nexport const getCameraPushed = p => get(MANAGE_URL + '/report/stream/pushed', p)\r\n\r\nexport const getRoleCameras = p => get(ROLE_CAMERA_URL + '/list', p)\r\nexport const addRoleCameras = (path, p) => post(ROLE_CAMERA_URL + '/save' + '/' + path, p)\r\n\r\nexport const pushCameraStream = (path, p) => post(path, p)\r\n\r\nexport const listCameraForAudit = p => get(MANAGE_URL + '/cameraAudit/pagination', p)\r\nexport const camerasAuditPass = (path, p) => post(MANAGE_URL + '/cameraAudit/camerasAuditPass/' + path, p)\r\nexport const camerasAuditReject = (path, p) => post(MANAGE_URL + '/cameraAudit/camerasAuditReject/' + path, p)\r\n\r\nexport const getCamerasByClassify = p => get(MANAGE_CAMERA_URL + '/info/exception/queryPage', p)\r\nexport const getCamerasByNum = p => get(MANAGE_CAMERA_URL + '/getOne', p)\r\nexport const updateDirectionDesc = p => post(MANAGE_CAMERA_URL + '/updateDirectionDesc', p)\r\n\r\nexport const listCameraForTag = p => get(MANAGE_CAMERA_URL + '/listCameras', p)\r\nexport const addCameraTag = p => post(MANAGE_CAMERA_URL + '/tag/add', p)\r\n","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}"],"sourceRoot":""}