{"version":3,"sources":["webpack:///./src/views/layout/components/alarmList.vue?5331","webpack:///src/views/layout/components/alarmList.vue","webpack:///./src/views/layout/components/alarmList.vue?893c","webpack:///./src/views/layout/components/alarmList.vue","webpack:///./src/api/alarm.js","webpack:///./src/views/layout/components/alarmList.vue?8428"],"names":["render","_vm","this","_h","$createElement","_c","_self","alarmList","length","staticClass","_v","_s","$t","ref","_l","item","index","key","refInFor","getLevel","alarmLevel","deviceName","alarmInfo","_e","staticRenderFns","name","computed","cachedViews","$store","state","tagsView","$route","fullPath","filters","data","nowTime","disArr","mounted","getTipAlarmList","beforeDestroy","clearInterval","methods","val","setAlarmList","msgBox","offsetWidth","box","arr","moveLeft","getMargin","obj","marg","Number","setInterval","startDis","Math","abs","that","outbox","component","getDeptAlarmDetails","request","url","method","params","clearAlarmStatus","alarmId","getAlarmList","updateAlarmReadStatus","getDeviceLogList","getAlarmLevel","getAlarmStatus","getAlarmTypeLevel","getAlarmTypeStatus"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAIM,UAAUC,OAAS,EAAGH,EAAG,MAAM,CAACI,YAAY,mBAAmB,CAACJ,EAAG,MAAM,CAACI,YAAY,QAAQ,CAACJ,EAAG,IAAI,CAACI,YAAY,0BAA0BJ,EAAG,OAAO,CAACJ,EAAIS,GAAGT,EAAIU,GAAGV,EAAIW,GAAG,uBAAuB,SAASP,EAAG,MAAM,CAACQ,IAAI,SAASJ,YAAY,WAAW,CAACJ,EAAG,MAAM,CAACQ,IAAI,MAAMJ,YAAY,QAAQR,EAAIa,GAAIb,EAAa,WAAE,SAASc,EAAKC,GAAO,OAAOX,EAAG,MAAM,CAACY,IAAID,EAAMH,IAAI,OAAOK,UAAS,EAAKT,YAAY,OAAO,CAACJ,EAAG,OAAO,CAACJ,EAAIS,GAAG,KAAKT,EAAIU,GAAGV,EAAIkB,SAASJ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WC,EAAY,eACd,EACA3D,EACAwB,GACA,EACA,KACA,WACA,MAIa,aAAAmC,E,6CCnBf,oWAIO,SAASC,EAAoB1B,GAClC,OAAO2B,eAAQ,CACbC,IAAK,gDACLC,OAAQ,MACRC,OAAQ9B,IAIL,SAAS+B,EAAiBC,GAC/B,OAAOL,eAAQ,CACbC,IAAK,gDAAkDI,EACvDH,OAAQ,SAeL,SAASI,EAAajC,GAC3B,OAAO2B,eAAQ,CACbC,IAAK,mCACLC,OAAQ,MACRC,OAAQ9B,IAKL,SAASI,EAAgBJ,GAC9B,OAAO2B,eAAQ,CACbC,IAAK,sCACLC,OAAQ,MACRC,OAAQ9B,IAML,SAASkC,EAAsBlC,GACpC,OAAO2B,eAAQ,CACbC,IAAK,4CACLC,OAAQ,OACRC,OAAQ9B,IAKL,SAASmC,EAAiBnC,GAC/B,OAAO2B,eAAQ,CACbC,IAAK,4CACLC,OAAQ,MACRC,OAAQ9B,IAQL,SAASoC,EAAcpC,GAC5B,OAAO2B,eAAQ,CACbC,IAAK,yCACLC,OAAQ,MACRC,OAAQ9B,IAgBL,SAASqC,EAAerC,GAC7B,OAAO2B,eAAQ,CACbC,IAAK,0CACLC,OAAQ,MACRC,OAAQ9B,IAML,SAASsC,EAAkBtC,GAChC,OAAO2B,eAAQ,CACbC,IAAK,6CACLC,OAAQ,MACRC,OAAQ9B,IAML,SAASuC,EAAmBvC,GACjC,OAAO2B,eAAQ,CACbC,IAAK,8CACLC,OAAQ,MACRC,OAAQ9B,M,2DClHZ","file":"js/chunk-0d87864c.b5cef838.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.alarmList.length > 0)?_c('div',{staticClass:\"alarm-container\"},[_c('div',{staticClass:\"name\"},[_c('i',{staticClass:\"iconfont icon-tongzhi\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"alarm.notification\"))+\":\")])]),_c('div',{ref:\"msgBox\",staticClass:\"msg-box\"},[_c('div',{ref:\"box\",staticClass:\"list\"},_vm._l((_vm.alarmList),function(item,index){return _c('div',{key:index,ref:\"list\",refInFor:true,staticClass:\"msg\"},[_c('span',[_vm._v(\" [\"+_vm._s(_vm.getLevel(item.alarmLevel))+\"] \"+_vm._s(item.deviceName + \": \" + item.alarmInfo)+\" \")])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n 0\">\r\n \r\n \r\n {{ $t(\"alarm.notification\") }}:\r\n \r\n \r\n \r\n \r\n \r\n [{{ getLevel(item.alarmLevel) }}]\r\n {{ item.deviceName + \": \" + item.alarmInfo }}\r\n \r\n \r\n \r\n \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!./alarmList.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!./alarmList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./alarmList.vue?vue&type=template&id=5cace76c&scoped=true&\"\nimport script from \"./alarmList.vue?vue&type=script&lang=js&\"\nexport * from \"./alarmList.vue?vue&type=script&lang=js&\"\nimport style0 from \"./alarmList.vue?vue&type=style&index=0&id=5cace76c&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 \"5cace76c\",\n null\n \n)\n\nexport default component.exports","import request from \"@/utils/request\";\r\n\r\n\r\n// 根据告警ID获取告警历史记录/告警工单信息\r\nexport function getDeptAlarmDetails(data) {\r\n return request({\r\n url: \"trajectory-service/deptAlarm/getTaskByAlarmId\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n// 清除告警状态\r\nexport function clearAlarmStatus(alarmId) {\r\n return request({\r\n url: \"alarm-service/alarm/clearAlarmStatus?alarmId=\" + alarmId,\r\n method: \"post\",\r\n });\r\n}\r\n\r\n\r\n// 获取告警设备类型列表\r\nexport function getAlarmDeviceTypeList() {\r\n return request({\r\n url: \"alarm-service/alarm/getAlarmDeviceTypeList\",\r\n method: \"get\",\r\n });\r\n}\r\n\r\n\r\n// 获取告警列表\r\nexport function getAlarmList(data) {\r\n return request({\r\n url: \"alarm-service/alarm/getAlarmList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 获取提示告警列表\r\nexport function getTipAlarmList(data) {\r\n return request({\r\n url: \"alarm-service/alarm/getTipAlarmList\",\r\n method: \"get\",\r\n params: data,\r\n });\r\n}\r\n\r\n\r\n// 更新告警阅读状态\r\nexport function updateAlarmReadStatus(data) {\r\n return request({\r\n url: \"alarm-service/alarm/updateAlarmReadStatus\",\r\n method: \"post\",\r\n params: data,\r\n });\r\n}\r\n\r\n// 根据筛选条件查询设备操作信息\r\nexport function getDeviceLogList(data) {\r\n return request({\r\n url: 'device-service/deviceLog/getDeviceLogList',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n\r\n\r\n \r\n// 查询故障等级状态-告警等级占比\r\nexport function getAlarmLevel(data) {\r\n return request({\r\n url: 'alarm-service/statistics/getAlarmLevel',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n \r\n// 查询故障等级设备类型状态-告警等级分布\r\nexport function getAlarmLevelType(data) {\r\n return request({\r\n url: 'alarm-service/statistics/getAlarmLevelType',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n \r\n\r\n// 查询故障状态-告警状态占比\r\nexport function getAlarmStatus(data) {\r\n return request({\r\n url: 'alarm-service/statistics/getAlarmStatus',\r\n method: 'get',\r\n params: data\r\n })\r\n} \r\n\r\n\r\n// 查询故障设备类型等级状态-设备告警等级分布\r\nexport function getAlarmTypeLevel(data) {\r\n return request({\r\n url: 'alarm-service/statistics/getAlarmTypeLevel',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\n\r\n// 查询故障设备类型状态-告警状态分布\r\nexport function getAlarmTypeStatus(data) {\r\n return request({\r\n url: 'alarm-service/statistics/getAlarmTypeStatus',\r\n method: 'get',\r\n params: data\r\n })\r\n}\r\n\r\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!./alarmList.vue?vue&type=style&index=0&id=5cace76c&rel=stylesheet%2Fscss&lang=scss&scoped=true&\""],"sourceRoot":""}