{"version":3,"sources":["webpack:///./src/api/department.js","webpack:///./src/views/manager/strategy.vue?4f04","webpack:///./src/api/strategy.js","webpack:///src/views/manager/strategy.vue","webpack:///./src/views/manager/strategy.vue?c2c7","webpack:///./src/views/manager/strategy.vue","webpack:///./src/api/upload.js","webpack:///./src/views/manager/strategy.vue?5a10"],"names":["getDepartmentList","data","request","url","method","params","getDeptSubByDeptId","editSubmitApi","formData","qs","stringify","addSubmitApi","delSubmitApi","headers","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","deptIdList","$t","checkStrictly","emitPath","props","on","handleFilter","model","value","listQuery","callback","$$v","$set","expression","_v","_s","clearListQuery","$event","handleCreate","ref","list","scopedSlots","_u","key","fn","scope","row","strategyType","updateGateway","handleUpdate","handleDelete","textMap","dialogStatus","addDialog","rules","form","_l","item","label","staticStyle","fileList","beforeUpload","handleFileSuccess","handleFileError","handleRemove","uploadFile","slot","createData","updateData","upDialog","deviceList","changeList","checkList","updateDatas","staticRenderFns","getStrategyList","addStrategy","updateStrategy","updateStrategyGate","deleteStrategy","deleteStrategyList","getChooseStrategyGate","getStrategyGateByStrategyId","typeCode","total","deptId","siteName","siteCode","curPage","pageSize","update","create","type","describes","path","strategyId","strategyName","forms","deviceCodes","listLoading","createStatus","required","message","trigger","created","$store","state","user","getList","getDeptList","methods","getdeptIdList","length","res","subBeanList","obj","console","$refs","validate","valid","then","title","duration","deleteFile","catch","status","resetForm","$nextTick","$confirm","confirmButtonText","cancelButtonText","deleteList","table","selection","strategyIds","$notify","file","response","err","File","push","e","deviceCode","deviceName","join","component","fileData","FormData","append","dataForm","host","fileUrl"],"mappings":"kHAAA,+MAiBO,SAASA,EAAkBC,GAChC,OAAOC,eAAQ,CACbC,IAAK,oCACLC,OAAQ,MACRC,OAAQJ,IAKL,SAASK,EAAmBL,GACjC,OAAOC,eAAQ,CACbC,IAAK,uCACLC,OAAQ,MACRC,OAAQJ,IAaL,SAASM,EAAcC,GAC5B,IAAMP,EAAOQ,IAAGC,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KAAKoF,MAAMC,YAAcrF,KAAK2D,UAAUwE,UC7kBmT,I,wBCQ7VC,EAAY,eACd,EACAtI,EACA+D,GACA,EACA,KACA,WACA,MAIa,aAAAuE,E,sECnBf,yGAwBO,SAAShF,EAAWnE,EAAME,GAC/B,IAAIkJ,EAAW,IAAIC,SAGnB,OAFAD,EAASE,OAAO,OAAQtJ,GACxBoJ,EAASE,OAAO,OAAQpJ,GACjBD,eAAQ,CACbW,QAAS,CACP,eAAgB,uBAElBV,IAAK,qCACLC,OAAQ,OACRH,KAAMoJ,IAKH,SAASvB,EAAW0B,EAAUrJ,GACnC,IAAIF,EAAO,CACTwJ,KAAMtJ,EACNuJ,QAASF,GAGX,OADAvJ,EAAOQ,IAAGC,UAAUT,GACbC,eAAQ,CACbC,IAAK,0CACLC,OAAQ,OACRH,W,oCChDJ","file":"js/chunk-cfcd9af8.d43d4123.js","sourcesContent":["import request from '@/utils/request'\r\nimport qs from 'qs'\r\n/*\r\n 系统管理-区域管理 权限操作api\r\n*/\r\n\r\n// 查询区域列表树\r\nexport function getAreaTreeList(data) {\r\n return request({\r\n url: 'user-service/area/getAreaTreeList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n\r\n// 查询所有区域树\r\nexport function getDepartmentList(data) {\r\n return request({\r\n url: 'user-service/dept/getDeptTreeList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 查询本级节点ID-直系子级节点\r\nexport function getDeptSubByDeptId(data) {\r\n return request({\r\n url: 'user-service/dept/getDeptSubByDeptId',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 查询区域列表\r\nexport function getDeptTreeByDeptId(data) {\r\n return request({\r\n url: 'user-service/dept/getDeptTreeByDeptId',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n// 修改\r\nexport function editSubmitApi(formData) {\r\n const data = qs.stringify(formData)\r\n return request({\r\n url: 'user-service/dept/updateDept',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 新增\r\nexport function addSubmitApi(formData) {\r\n const data = qs.stringify(formData)\r\n return request({\r\n url: 'user-service/dept/saveDept',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 删除\r\nexport function delSubmitApi(formData) {\r\n return request({\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n url: 'user-service/dept/removeDept',\r\n method: 'get',\r\n\r\n params: formData\r\n })\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app-container\"},[_c('div',{staticClass:\"decorate\"}),_c('div',{staticClass:\"filter-container\"},[_c('el-cascader',{staticClass:\"filter-item\",attrs:{\"show-all-levels\":false,\"options\":_vm.deptIdList,\"placeholder\":_vm.$t('listQuery.deptId'),\"props\":{ checkStrictly: true, emitPath: false, props: {} },\"clearable\":\"\"},on:{\"change\":_vm.handleFilter},model:{value:(_vm.listQuery.deptId),callback:function ($$v) {_vm.$set(_vm.listQuery, \"deptId\", $$v)},expression:\"listQuery.deptId\"}}),_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.handleFilter}},[_c('i',{staticClass:\"iconfont icon-sousuo\"}),_vm._v(_vm._s(_vm.$t(\"btn.search\")))]),_c('span',{staticClass:\"btn-item\",on:{\"click\":_vm.clearListQuery}},[_c('i',{staticClass:\"el-icon-refresh-left\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"btn.resetting\")))]),_c('div',{staticClass:\"control-container\"},[_c('span',{staticClass:\"btn-item\",on:{\"click\":function($event){return _vm.handleCreate()}}},[_c('i',{staticClass:\"iconfont icon-a-\"}),_vm._v(_vm._s(_vm.$t(\"btn.add\")))])])],1),_c('div',{staticClass:\"table-container\"},[_c('el-table',{ref:\"table\",attrs:{\"data\":_vm.list,\"fit\":\"\",\"max-height\":\"580\",\"highlight-current-row\":\"\",\"header-row-class-name\":\"table-header\",\"row-class-name\":\"table-row\"}},[_c('el-table-column',{attrs:{\"type\":\"selection\",\"width\":\"55\",\"align\":\"center\"}}),_c('el-table-column',{attrs:{\"property\":\"strategyName\",\"align\":\"left\",\"width\":\"200\",\"label\":_vm.$t('strategy.strategyName')}}),_c('el-table-column',{attrs:{\"property\":\"strategyType\",\"align\":\"left\",\"label\":_vm.$t('strategy.strategyType')},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\" \"+_vm._s(scope.row.strategyType == 1 ? _vm.$t(\"strategy.balanced\") : _vm.$t(\"strategy.security\"))+\" \")]}}])}),_c('el-table-column',{attrs:{\"property\":\"describes\",\"align\":\"left\",\"label\":_vm.$t('work.remark')}}),_c('el-table-column',{attrs:{\"property\":\"createTime\",\"align\":\"left\",\"label\":_vm.$t('site.createTime')}}),_c('el-table-column',{attrs:{\"label\":_vm.$t('table.operate'),\"width\":\"280\",\"align\":\"left\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{staticClass:\"btnCancel\",attrs:{\"title\":_vm.$t('table.update')},on:{\"click\":function($event){return _vm.updateGateway(scope)}}},[_c('i',{staticClass:\"iconfont icon-wangguan\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"strategy.update\")))]),_c('span',{staticClass:\"btnCancel\",attrs:{\"title\":_vm.$t('table.update')},on:{\"click\":function($event){return _vm.handleUpdate(scope)}}},[_c('i',{staticClass:\"iconfont icon-bianji\"}),_vm._v(\" \"+_vm._s(_vm.$t(\"table.update\")))]),_c('span',{staticClass:\"btnCancel delete\",attrs:{\"title\":_vm.$t('table.delete')},on:{\"click\":function($event){return _vm.handleDelete(scope)}}},[_c('i',{staticClass:\"iconfont icon-a--\"}),_vm._v(_vm._s(_vm.$t(\"table.delete\")))])]}}])})],1)],1),_c('el-dialog',{attrs:{\"close-on-click-modal\":false,\"title\":_vm.textMap[_vm.dialogStatus],\"visible\":_vm.addDialog},on:{\"update:visible\":function($event){_vm.addDialog=$event}}},[_c('el-form',{ref:\"form\",attrs:{\"rules\":_vm.rules,\"model\":_vm.form,\"inline\":\"\",\"label-width\":\"130px\"}},[_c('el-form-item',{attrs:{\"label\":_vm.$t('listQuery.deptId'),\"prop\":\"deptId\"}},[_c('el-cascader',{attrs:{\"show-all-levels\":false,\"options\":_vm.deptIdList,\"placeholder\":_vm.$t('listQuery.deptId'),\"props\":{ checkStrictly: true, emitPath: false, props: {} },\"clearable\":\"\"},model:{value:(_vm.form.deptId),callback:function ($$v) {_vm.$set(_vm.form, \"deptId\", $$v)},expression:\"form.deptId\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('strategy.strategyName'),\"prop\":\"strategyName\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('strategy.strategyName'),\"maxlength\":\"20\"},model:{value:(_vm.form.strategyName),callback:function ($$v) {_vm.$set(_vm.form, \"strategyName\", $$v)},expression:\"form.strategyName\"}})],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('strategy.strategyType'),\"prop\":\"strategyType\"}},[_c('el-select',{attrs:{\"placeholder\":_vm.$t('pSelect')},model:{value:(_vm.form.strategyType),callback:function ($$v) {_vm.$set(_vm.form, \"strategyType\", $$v)},expression:\"form.strategyType\"}},_vm._l((_vm.type),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1)],1),_c('el-form-item',{attrs:{\"label\":_vm.$t('work.remark'),\"prop\":\"describes\"}},[_c('el-input',{attrs:{\"placeholder\":_vm.$t('pEnter') + _vm.$t('work.remark')},model:{value:(_vm.form.describes),callback:function ($$v) {_vm.$set(_vm.form, \"describes\", $$v)},expression:\"form.describes\"}})],1),_c('el-form-item',{staticStyle:{\"width\":\"100%\"},attrs:{\"label\":_vm.$t('device.upload'),\"prop\":\"path\"}},[_c('el-upload',{ref:\"upload\",attrs:{\"action\":\"\",\"drag\":\"\",\"limit\":1,\"file-list\":_vm.fileList,\"before-upload\":_vm.beforeUpload,\"on-success\":_vm.handleFileSuccess,\"on-error\":_vm.handleFileError,\"on-remove\":_vm.handleRemove,\"http-request\":_vm.uploadFile}},[_c('i',{staticClass:\"el-icon-upload\"})])],1)],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.addDialog = false}}},[_vm._v(_vm._s(_vm.$t(\"btn.cancel\")))]),_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.dialogStatus === 'create' ? _vm.createData() : _vm.updateData()}}},[_vm._v(_vm._s(_vm.$t(\"btn.define\")))])])],1),_c('el-dialog',{attrs:{\"close-on-click-modal\":false,\"title\":_vm.$t('table.update'),\"visible\":_vm.upDialog},on:{\"update:visible\":function($event){_vm.upDialog=$event}}},[_c('el-transfer',{ref:\"transfers\",staticStyle:{\"width\":\"800px\",\"margin\":\"0px auto\"},attrs:{\"filterable\":\"\",\"filter-placeholder\":_vm.$t('pEnter') + _vm.$t('device.deviceName'),\"titles\":[_vm.$t('table.optional'), _vm.$t('table.selected')],\"data\":_vm.deviceList,\"target-order\":\"unshift\"},on:{\"change\":_vm.changeList},model:{value:(_vm.checkList),callback:function ($$v) {_vm.checkList=$$v},expression:\"checkList\"}}),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('span',{staticClass:\"btn-item long\",on:{\"click\":function($event){_vm.upDialog = false}}},[_vm._v(_vm._s(_vm.$t(\"btn.cancel\")))]),_c('span',{staticClass:\"btn-item long\",on:{\"click\":_vm.updateDatas}},[_vm._v(_vm._s(_vm.$t(\"btn.save\")))])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import request from '@/utils/request'\r\n\r\n// 根据筛选项查询策略信息列表\r\nexport function getStrategyList(data) {\r\n return request({\r\n url: 'alarm-service/strategy/getStrategyList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n// 录入策略信息\r\nexport function addStrategy(data) {\r\n return request({\r\n url: 'alarm-service/strategy/addStrategy',\r\n method: 'post',\r\n data\r\n })\r\n}\r\n\r\n// 修改策略信息\r\nexport function updateStrategy(data) {\r\n return request({\r\n url: 'alarm-service/strategy/updateStrategy',\r\n method: 'put',\r\n data\r\n })\r\n}\r\n\r\n// 更新策略网关信息\r\nexport function updateStrategyGate(data) {\r\n return request({\r\n url: 'alarm-service/strategy/updateStrategyGate',\r\n method: 'put',\r\n params: data\r\n })\r\n}\r\n\r\n// 删除策略信息\r\nexport function deleteStrategy(params) {\r\n return request({\r\n url: 'alarm-service/strategy/deleteStrategy',\r\n method: 'delete',\r\n params\r\n })\r\n}\r\n\r\n// 删除策略信息\r\nexport function deleteStrategyList(params) {\r\n return request({\r\n url: 'alarm-service/strategy/deleteStrategyList',\r\n method: 'delete',\r\n params\r\n })\r\n}\r\n\r\n\r\n// 根据strategyId查询可选择的网关信息\r\nexport function getChooseStrategyGate(params) {\r\n return request({\r\n url: 'alarm-service/strategy/getChooseStrategyGate',\r\n method: 'get',\r\n params\r\n })\r\n}\r\n\r\n\r\n// 根据strategyId查询策略信息\r\nexport function getStrategyById(params) {\r\n return request({\r\n url: 'alarm-service/strategy/getStrategyById',\r\n method: 'get',\r\n params\r\n })\r\n}\r\n\r\n// 根据strategyId查询策略网关信息\r\nexport function getStrategyGateByStrategyId(params) {\r\n return request({\r\n url: 'alarm-service/strategy/getStrategyGateByStrategyId',\r\n method: 'get',\r\n params\r\n })\r\n} ","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./strategy.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./strategy.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./strategy.vue?vue&type=template&id=a9702964&scoped=true&\"\nimport script from \"./strategy.vue?vue&type=script&lang=js&\"\nexport * from \"./strategy.vue?vue&type=script&lang=js&\"\nimport style0 from \"./strategy.vue?vue&type=style&index=0&id=a9702964&rel=stylesheet%2Fscss&lang=scss&scoped=true&\"\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 \"a9702964\",\n null\n \n)\n\nexport default component.exports","import request from \"@/utils/request\";\n\nimport qs from \"qs\";\n\n// 时间同步\nexport function setTimeSync(data) {\n data = qs.stringify(data);\n return request({\n url: \"platform-service/deviceInfo/setTimeSync\",\n method: \"post\",\n data,\n });\n}\n\n// 绑定xml文件\nexport function updateDeviceInfoByXML(data) {\n data = qs.stringify(data);\n return request({\n url: \"platform-service/deviceInfo/updateDeviceInfoByXML\",\n method: \"post\",\n data,\n });\n}\n// 上传\nexport function uploadFile(data, url) {\n var fileData = new FormData();\n fileData.append(\"file\", data);\n fileData.append(\"host\", url);\n return request({\n headers: {\n \"Content-Type\": \"multipart/form-data\",\n },\n url: \"trajectory-service/file/uploadFile\",\n method: \"post\",\n data: fileData,\n });\n}\n\n// 删除下载地址\nexport function deleteFile(dataForm, url) {\n let data = {\n host: url,\n fileUrl: dataForm,\n };\n data = qs.stringify(data);\n return request({\n url: \"trajectory-service/file/deleteFileByUrl\",\n method: \"post\",\n data,\n });\n}\n\n// 上传更新设备信息\nexport function uploadDeviceList(data) {\n var fileData = new FormData();\n fileData.append(\"file\", data);\n return request({\n headers: {\n \"Content-Type\": \"multipart/form-data\",\n },\n url: \"platform-service/deviceInfo/saveDeviceInfoList\",\n method: \"post\",\n data: fileData,\n });\n}\n\n\n// 根据文件模板批量新增设备\nexport function upgradeSaveDeviceList(data, deptId) {\n var fileData = new FormData();\n fileData.append(\"file\", data);\n fileData.append(\"deptId\", deptId);\n return request({\n headers: {\n \"Content-Type\": \"multipart/form-data\",\n },\n url: \"platform-service/deviceInfo/upgradeSaveDeviceList\",\n method: \"post\",\n data: fileData,\n });\n}\n\n\n\n// 上传更新点位属性信息\nexport function uploadPointList(data, deptId) {\n var fileData = new FormData();\n fileData.append(\"file\", data);\n fileData.append(\"deptId\", deptId);\n return request({\n headers: {\n \"Content-Type\": \"multipart/form-data\",\n },\n url: \"platform-service/deviceInfo/updatePointPropertyInfo\",\n method: \"post\",\n data: fileData,\n });\n}\n\n// 停止Netty通讯\nexport function closeNetty() {\n return request({\n url: \"platform-service/deviceInfo/closeNetty\",\n method: \"post\",\n });\n}\n\n\n// 查询app版本\nexport function getRedisByPrex(data) {\n return request({\n url: 'platform-service/operate/getRedisByPrex',\n method: 'get',\n params: data\n })\n}\n\n// 查询app版本\nexport function setRedisByPrex(data) {\n return request({\n url: 'platform-service/operate/setRedisByPrex',\n method: 'get',\n params: data\n })\n}","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./strategy.vue?vue&type=style&index=0&id=a9702964&rel=stylesheet%2Fscss&lang=scss&scoped=true&\""],"sourceRoot":""}