1 line
37 KiB
Plaintext
1 line
37 KiB
Plaintext
{"version":3,"sources":["webpack:///./src/directive/permission/permission.js","webpack:///./src/directive/permission/index.js","webpack:///./src/views/operation/alarmInfo.vue?8a14","webpack:///src/views/operation/alarmInfo.vue","webpack:///./src/views/operation/alarmInfo.vue?6b3c","webpack:///./src/views/operation/alarmInfo.vue","webpack:///./src/utils/validate.js","webpack:///./src/api/alarm.js","webpack:///./src/views/operation/alarmInfo.vue?bef7"],"names":["inserted","el","binding","value","roles","store","getters","butPermission","console","log","Array","length","Error","permissionRoles","hasPermission","some","role","includes","state","user","permissionFlag","newnode","document","createElement","style","cursor","display","pointerEvents","parentNode","insertBefore","removeChild","appendChild","install","Vue","directive","permission","window","use","render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","$t","attrs","staticRenderFns","directives","data","created","getList","getAlarmDeviceTypeList","watch","arrayTime","val","listQuery","startTime","endTime","filters","filterNull","validateVal","methods","getAlarmLevel","name","getAlarmStatus","getAlarmTypeLevel","e","typeName","level1Count","level2Count","level3Count","type","stack","barWidth","getAlarmTypeStatus","getBarChert","chartData","colorList","id","mainEchart","echarts","getElementById","title","x","y","color","grid","left","series","silent","clockwise","radius","center","label","show","labelLine","itemStyle","roseType","normal","formatter","rich","icon","fontSize","b","padding","d","c","length2","getBarsChert","textStyle","fontFamily","legend","orient","align","top","itemWidth","itemHeight","fontWeight","tooltip","polar","angleAxis","min","max","axisLabel","radiusAxis","interval","dataset","source","z","position","emphasis","scale","scaleSize","focus","datasetIndex","seriesLayoutBy","encode","itemName","getBChert","list","trigger","axisPointer","right","bottom","containLabel","xAxis","axisLine","lineStyle","axisTick","yAxis","splitLine","component","validatePhone","rule","callback","test","valReplace","replace","switchTimeFormat","time","dateTime","Date","year","getFullYear","month","getMonth","date","getDate","hour","getHours","minute","getMinutes","second","getSeconds","addZero","v","getDeptAlarmDetails","request","url","method","params","clearAlarmStatus","alarmId","getAlarmList","getTipAlarmList","updateAlarmReadStatus","getDeviceLogList"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b0bf1.js","sourcesContent":["import store from \"@/store\";\r\n\r\nexport default {\r\n inserted(el, binding) {\r\n const { value } = binding;\r\n // const roles = store.getters && store.getters.roles\r\n const roles = store.getters && store.getters.butPermission;\r\n console.log(roles, 'roles');\r\n if (value && value instanceof Array && value.length > 0) {\r\n const permissionRoles = value;\r\n const hasPermission = roles.some(role => {\r\n return permissionRoles.includes(role);\r\n });\r\n console.log(hasPermission, 'hasPermission');\r\n if (!hasPermission) {\r\n // el.parentNode && el.parentNode.removeChild(el) \r\n\r\n store.state.user.permissionFlag[permissionRoles] = true;\r\n\r\n\r\n console.log(store.state.user.permissionFlag[permissionRoles], 'permissionRoles');\r\n const newnode = document.createElement(\"div\");\r\n newnode.style.cursor = 'not-allowed'\r\n newnode.style.display = 'inline-block'\r\n el.style.pointerEvents = \"none\"\r\n el.parentNode.insertBefore(newnode, el)\r\n el.parentNode && el.parentNode.removeChild(el)\r\n newnode.appendChild(el);\r\n console.log(el, 'permissionRoles');\r\n } else {\r\n store.state.user.permissionFlag[permissionRoles] = false;\r\n }\r\n } else {\r\n throw new Error(`need roles! Like v-permission=\"['admin','editor']\"`);\r\n }\r\n }\r\n};","import permission from \"./permission\";\n\nconst install = function(Vue) {\n Vue.directive(\"permission\", permission);\n};\n\nif (window.Vue) {\n window[\"permission\"] = permission;\n Vue.use(install); // eslint-disable-line\n}\n\npermission.install = install;\nexport default permission;\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:\"top\"},[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"name\"},[_c('i',{staticClass:\"iconfont icon-biaoti\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"alarm.alarmStatus\")))])]),_c('div',{staticClass:\"echart\",attrs:{\"id\":\"statusEchart\"}})]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"name\"},[_c('i',{staticClass:\"iconfont icon-biaoti\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"alarm.alarmLevelP\")))])]),_c('div',{staticClass:\"echart\",attrs:{\"id\":\"levelEchart\"}})]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"name\"},[_c('i',{staticClass:\"iconfont icon-biaoti\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"alarm.alarmLevelP\")))])]),_c('div',{staticClass:\"echart\",attrs:{\"id\":\"disEchart\"}})])]),_c('div',{staticClass:\"bottom\"},[_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"name\"},[_c('i',{staticClass:\"iconfont icon-biaoti\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"alarm.alarmStatusD\")))])]),_c('div',{staticClass:\"echart\",attrs:{\"id\":\"statusDEchart\"}})]),_c('div',{staticClass:\"item\"},[_c('div',{staticClass:\"name\"},[_c('i',{staticClass:\"iconfont icon-biaoti\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"alarm.deviceAlarmLevelD\")))])]),_c('div',{staticClass:\"echart\",attrs:{\"id\":\"levelDEchart\"}})])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"app-container\">\r\n <div class=\"decorate\"></div>\r\n <div class=\"top\">\r\n <div class=\"item\">\r\n <div class=\"name\">\r\n <i class=\"iconfont icon-biaoti\" />\r\n <span>{{ $t(\"alarm.alarmStatus\") }}</span>\r\n </div>\r\n <div class=\"echart\" id=\"statusEchart\"></div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"name\">\r\n <i class=\"iconfont icon-biaoti\" />\r\n <span>{{ $t(\"alarm.alarmLevelP\") }}</span>\r\n </div>\r\n <div class=\"echart\" id=\"levelEchart\"></div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"name\">\r\n <i class=\"iconfont icon-biaoti\" />\r\n <span>{{ $t(\"alarm.alarmLevelP\") }}</span>\r\n </div>\r\n <div class=\"echart\" id=\"disEchart\"></div>\r\n </div>\r\n </div>\r\n <div class=\"bottom\">\r\n <div class=\"item\">\r\n <div class=\"name\">\r\n <i class=\"iconfont icon-biaoti\" />\r\n <span>{{ $t(\"alarm.alarmStatusD\") }}</span>\r\n </div>\r\n <div class=\"echart\" id=\"statusDEchart\"></div>\r\n </div>\r\n <div class=\"item\">\r\n <div class=\"name\">\r\n <i class=\"iconfont icon-biaoti\" />\r\n <span>{{ $t(\"alarm.deviceAlarmLevelD\") }}</span>\r\n </div>\r\n <div class=\"echart\" id=\"levelDEchart\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n getAlarmLevel,\r\n getAlarmStatus,\r\n getAlarmTypeLevel,\r\n getAlarmTypeStatus\r\n} from \"@/api/alarm\"\r\nimport { filterNull } from \"@/utils/validate.js\"\r\nimport permission from \"@/directive/permission/index.js\" // 权限判断指令\r\nimport * as echarts from \"echarts\"\r\nexport default {\r\n directives: { permission },\r\n data() {\r\n return {}\r\n },\r\n created() {\r\n this.getList()\r\n this.getAlarmDeviceTypeList()\r\n },\r\n watch: {\r\n arrayTime(val) {\r\n this.listQuery.startTime = val && val && val[0]\r\n this.listQuery.endTime = val && val && val[1]\r\n }\r\n },\r\n filters: {\r\n filterNull(val) {\r\n // 验证是否为空\r\n const validateVal = filterNull(val)\r\n return validateVal\r\n }\r\n },\r\n methods: {\r\n getList() {\r\n getAlarmLevel().then((e) => {\r\n const data = e.data || []\r\n let chartData = data.map((e) => {\r\n return {\r\n name: this.$t(`alarm.leve${e.alarmLevel + 1}`),\r\n value: e.alarmTotal\r\n }\r\n })\r\n\r\n let colorList = [\"#EC6941\", \"#FF9100\", \"#FDF879\"]\r\n this.getBarChert(chartData, colorList, \"levelEchart\")\r\n })\r\n\r\n getAlarmStatus().then((e) => {\r\n const data = e.data || {}\r\n let chartData = [\r\n {\r\n name: this.$t(\"alarm.processed\") + this.$t(\"alarm.alarms\"),\r\n value: data.handledCount\r\n },\r\n {\r\n name: this.$t(\"alarm.unprocessed\") + this.$t(\"alarm.alarms\"),\r\n value: data.untreatedCount\r\n }\r\n ]\r\n let colorList = [\"#01FFE9\", \"#FDF879\"]\r\n this.getBarChert(chartData, colorList, \"statusEchart\")\r\n })\r\n getAlarmTypeLevel().then((e) => {\r\n const data = e.data || []\r\n let chartData = data.map((e) => {\r\n return [e.typeName, e.level1Count, e.level2Count, e.level3Count]\r\n })\r\n this.getBarsChert(chartData)\r\n\r\n const name = data.map((e) => e.typeName)\r\n const list = [\r\n {\r\n name: this.$t(`alarm.leve1`),\r\n type: \"bar\",\r\n stack: \"machine\",\r\n barWidth: 30,\r\n data: data.map((e) => e.level1Count)\r\n },\r\n {\r\n name: this.$t(`alarm.leve2`),\r\n type: \"bar\",\r\n stack: \"machine\",\r\n data: data.map((e) => e.level2Count)\r\n },\r\n {\r\n name: this.$t(`alarm.leve3`),\r\n type: \"bar\",\r\n stack: \"machine\",\r\n data: data.map((e) => e.level3Count)\r\n }\r\n ]\r\n const color = [\"#EC6941\", \"#FF9100\", \"#FDF879\"]\r\n this.getBChert(name, list, color, \"levelDEchart\")\r\n })\r\n\r\n getAlarmTypeStatus().then((e) => {\r\n const data = e.data || []\r\n const name = data.map((e) => e.typeName)\r\n const list = [\r\n {\r\n name: this.$t(\"alarm.processed\"),\r\n type: \"bar\",\r\n stack: \"machine\",\r\n barWidth: 30,\r\n data: data.map((e) => e.handledCount)\r\n },\r\n {\r\n name: this.$t(\"alarm.unprocessed\"),\r\n type: \"bar\",\r\n stack: \"machine\",\r\n data: data.map((e) => e.untreatedCount)\r\n }\r\n ]\r\n const color = [\"#01FFE9\", \"#FDF879\"]\r\n this.getBChert(name, list, color, \"statusDEchart\")\r\n })\r\n },\r\n\r\n // 饼图曲线\r\n getBarChert(chartData, colorList, id) {\r\n var mainEchart = echarts.init(document.getElementById(id))\r\n let option = {\r\n title: {\r\n x: \"center\",\r\n y: \"45%\"\r\n },\r\n color: colorList,\r\n grid: {\r\n left: 0\r\n },\r\n series: [\r\n {\r\n type: \"pie\",\r\n silent: true,\r\n clockwise: true,\r\n radius: [\"7%\", \"8%\"],\r\n center: [\"50%\", \"50%\"],\r\n label: {\r\n show: false\r\n },\r\n labelLine: {\r\n show: false\r\n },\r\n itemStyle: {\r\n color: \"#00BFAD\"\r\n },\r\n data: [0]\r\n },\r\n {\r\n name: \"\",\r\n roseType: true,\r\n type: \"pie\",\r\n radius: [\"22%\", \"60%\"],\r\n center: [\"50%\", \"50%\"],\r\n label: {\r\n normal: {\r\n formatter: \"{b|{b}}\\n{c|{c}}{d| / {d}%}\",\r\n rich: {\r\n icon: {\r\n fontSize: 14\r\n },\r\n b: {\r\n fontSize: 14,\r\n padding: [0, 0, 5, 0],\r\n color: \"#00BFAD\"\r\n },\r\n d: {\r\n fontSize: 14,\r\n padding: [0, 0, 0, 0],\r\n color: \"#DEFFFF\"\r\n },\r\n c: {\r\n fontSize: 14,\r\n padding: [0, 0, 0, 0],\r\n color: \"#DEFFFF\"\r\n }\r\n }\r\n }\r\n },\r\n labelLine: {\r\n normal: {\r\n length: 10,\r\n length2: 25\r\n }\r\n },\r\n data: chartData\r\n }\r\n ]\r\n }\r\n mainEchart.setOption(option, true)\r\n },\r\n // 饼图曲线\r\n getBarsChert(chartData) {\r\n var mainEchart = echarts.init(document.getElementById(\"disEchart\"))\r\n let option = {\r\n textStyle: {\r\n fontFamily: \"Microsoft YaHei\"\r\n },\r\n color: [\r\n \"#00BFAD\",\r\n \"#F19149\",\r\n \"#837CEC\",\r\n \"#EC6941\",\r\n \"#FFDD61\",\r\n \"#F8B551\",\r\n \"#4C8CEE\",\r\n \"#CCE198\",\r\n \"#7FD9FB\",\r\n \"#73FFBE\",\r\n \"#15C9C8\",\r\n \"#03C9A9\",\r\n \"#CFA972\"\r\n ],\r\n legend: {\r\n show: true,\r\n orient: \"vertical\",\r\n left: \"70%\",\r\n align: \"left\",\r\n top: \"middle\",\r\n itemWidth: 16,\r\n itemHeight: 8,\r\n icon: \"path://M150,171H250a50,50,0,0,1,0,100H150A50,50,0,0,1,150,171Z\",\r\n textStyle: {\r\n fontSize: 14,\r\n fontWeight: 400,\r\n color: \"#00BFAD\"\r\n }\r\n },\r\n tooltip: {\r\n show: true\r\n },\r\n polar: {\r\n radius: \"62%\",\r\n center: [\"35%\", \"50%\"]\r\n },\r\n angleAxis: {\r\n min: 0,\r\n max: 100,\r\n axisLabel: {\r\n show: false\r\n }\r\n },\r\n radiusAxis: [\r\n {\r\n type: \"category\",\r\n axisLabel: {\r\n interval: 0,\r\n fontSize: 16,\r\n fontWeight: \"bold\",\r\n color: \"#DEFFFF\"\r\n },\r\n data: [\r\n this.$t(\"alarm.leve1\"),\r\n this.$t(\"alarm.leve2\"),\r\n this.$t(\"alarm.leve3\")\r\n ]\r\n }\r\n ],\r\n dataset: [\r\n {\r\n source: [\r\n [\r\n \"level\",\r\n this.$t(\"alarm.leve1\"),\r\n this.$t(\"alarm.leve2\"),\r\n this.$t(\"alarm.leve3\")\r\n ],\r\n ...chartData\r\n ]\r\n }\r\n ],\r\n series: [\r\n {\r\n name: this.$t(\"alarm.leve1\"),\r\n type: \"pie\",\r\n radius: [\"45%\", \"60%\"],\r\n center: [\"35%\", \"50%\"],\r\n z: 0,\r\n label: {\r\n show: false,\r\n position: \"outside\",\r\n fontFamily: \"Microsoft YaHei\",\r\n fontWeight: 400,\r\n fontSize: 16,\r\n color: \"#DEFFFF\"\r\n },\r\n labelLine: { show: true },\r\n emphasis: {\r\n scale: false,\r\n scaleSize: 10,\r\n focus: \"self\"\r\n },\r\n datasetIndex: 0,\r\n seriesLayoutBy: \"column\",\r\n encode: { itemName: 0, value: 1 }\r\n },\r\n {\r\n name: this.$t(\"alarm.leve2\"),\r\n type: \"pie\",\r\n radius: [\"25%\", \"40%\"],\r\n center: [\"35%\", \"50%\"],\r\n z: 0,\r\n label: { show: false },\r\n emphasis: {\r\n scale: false,\r\n scaleSize: 10,\r\n focus: \"self\"\r\n },\r\n datasetIndex: 0,\r\n seriesLayoutBy: \"column\",\r\n encode: { itemName: 0, value: 2 }\r\n },\r\n {\r\n name: this.$t(\"alarm.leve3\"),\r\n type: \"pie\",\r\n radius: [\"5%\", \"20%\"],\r\n center: [\"35%\", \"50%\"],\r\n z: 0,\r\n label: { show: false },\r\n emphasis: {\r\n scale: false,\r\n scaleSize: 10,\r\n focus: \"self\"\r\n },\r\n datasetIndex: 0,\r\n seriesLayoutBy: \"column\",\r\n encode: { itemName: 0, value: 3 }\r\n }\r\n ]\r\n }\r\n\r\n mainEchart.setOption(option, true)\r\n },\r\n getBChert(name, list, color, id) {\r\n var mainEchart = echarts.init(document.getElementById(id))\r\n let option = {\r\n title: {\r\n textStyle: {\r\n color: \"#222\"\r\n }\r\n },\r\n tooltip: {\r\n trigger: \"axis\",\r\n axisPointer: {\r\n // 坐标轴指示器,坐标轴触发有效\r\n type: \"shadow\" // 默认为直线,可选为:'line' | 'shadow'\r\n }\r\n //formatter: '{a}<br />{c}'\r\n },\r\n color: color,\r\n legend: {\r\n show: true,\r\n top: \"10%\",\r\n right: \"5%\",\r\n icon: \"rect\",\r\n itemWidth: 15, // 图例标记的图形宽度。\r\n itemHeight: 15, // 图例标记的图形高度。\r\n textStyle: {\r\n color: \"#00BFAD\",\r\n fontSize: 14,\r\n padding: [0, 8, 0, 8]\r\n }\r\n },\r\n grid: {\r\n top: \"25%\",\r\n left: \"5%\",\r\n right: \"5%\",\r\n bottom: \"10%\",\r\n containLabel: true\r\n },\r\n xAxis: [\r\n {\r\n type: \"category\",\r\n axisLine: {\r\n //坐标轴轴线相关设置。数学上的x轴\r\n show: true,\r\n lineStyle: {\r\n color: \"rgba(1, 255, 233, 0.2)\"\r\n }\r\n },\r\n axisLabel: {\r\n //坐标轴刻度标签的相关设置\r\n textStyle: {\r\n color: \"#00BFAD\",\r\n fontSize: 12\r\n }\r\n },\r\n axisTick: {\r\n show: false\r\n },\r\n data: name\r\n }\r\n ],\r\n yAxis: [\r\n {\r\n // minInterval: 1,\r\n type: \"value\",\r\n splitLine: {\r\n show: true,\r\n lineStyle: {\r\n color: \"rgba(1, 255, 233, 0.2)\",\r\n type: \"soiled\"\r\n }\r\n },\r\n axisLabel: {\r\n show: true,\r\n textStyle: {\r\n color: \"#00BFAD\",\r\n fontSize: 14\r\n }\r\n },\r\n axisTick: {\r\n show: false\r\n }\r\n }\r\n ],\r\n series: list\r\n }\r\n mainEchart.setOption(option, true)\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style rel=\"stylesheet/scss\" lang=\"scss\" scoped>\r\n.top {\r\n height: 372px;\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n padding: 14px;\r\n .item {\r\n position: relative;\r\n width: calc(33.3% - 7px);\r\n height: 344px;\r\n background: rgba(0, 255, 255, 0.1);\r\n border: 1px solid #06807f;\r\n }\r\n}\r\n.bottom {\r\n height: 370px;\r\n width: 100%;\r\n display: flex;\r\n justify-content: space-between;\r\n padding: 14px;\r\n padding-top: 0;\r\n .item {\r\n position: relative;\r\n width: calc(50% - 11px);\r\n height: 356px;\r\n background: rgba(0, 255, 255, 0.1);\r\n border: 1px solid #06807f;\r\n }\r\n}\r\n.echart {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n.name {\r\n position: absolute;\r\n top: 10px;\r\n left: 10px;\r\n font-size: 15px;\r\n line-height: 28px;\r\n font-family: Microsoft YaHei;\r\n font-weight: 400;\r\n color: #00bfad;\r\n .iconfont {\r\n margin: 0 8px;\r\n }\r\n}\r\n</style>\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!./alarmInfo.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!./alarmInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./alarmInfo.vue?vue&type=template&id=94da6194&scoped=true&\"\nimport script from \"./alarmInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./alarmInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./alarmInfo.vue?vue&type=style&index=0&id=94da6194&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 \"94da6194\",\n null\n \n)\n\nexport default component.exports","/**\r\n * Created by jiachenpan on 16/11/18.\r\n */\r\n\r\n/**\r\n * @param {string} path\r\n * @returns {Boolean}\r\n */\r\nexport function isExternal(path) {\r\n return /^(https?:|mailto:|tel:)/.test(path)\r\n}\r\n/* 小写字母*/\r\nexport function validLowerCase(str) {\r\n const reg = /^[a-z]+$/\r\n return reg.test(str)\r\n}\r\n\r\n/* 大写字母*/\r\nexport function validUpperCase(str) {\r\n const reg = /^[A-Z]+$/\r\n return reg.test(str)\r\n}\r\n\r\n/* 大小写字母*/\r\nexport function validAlphabets(str) {\r\n const reg = /^[A-Za-z]+$/\r\n return reg.test(str)\r\n}\r\n\r\n/*8位16进制*/\r\nexport function validHexadecimal(rule, value, callback) {\r\n if (/^[0-9A-F]{8}$/.test(value)) {\r\n callback()\r\n } else {\r\n callback(new Error(\"请输入8位16进制数\"))\r\n }\r\n}\r\n\r\nexport function validateNumber(rule, value, callback) {\r\n console.log(!/^\\d+$|^\\d*\\.\\d+$/g.test(value), value)\r\n if (value === \"\") {\r\n callback(new Error(\"不能为空\"))\r\n } else if (!/^\\d+$|^\\d*\\.\\d+$/g.test(value)) {\r\n callback(new Error(\"只能输入数字\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function validatePhone(rule, value, callback) {\r\n if (value === \"\") {\r\n callback(new Error(\"请输入手机号码\"))\r\n } else if (!/^[0-9-]+$/.test(value)) {\r\n\r\n\r\n callback(new Error(\"手机号码格式不对\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function validateLong(rule, value, callback) {\r\n if (value === \"\") {\r\n callback(new Error(\"经度不能为空\"))\r\n } else if (Number(value) > 180) {\r\n callback(new Error(\"经度不能大于180\"))\r\n } else if (!/^\\d+$|^\\d*\\.\\d+$/g.test(value)) {\r\n callback(new Error(\"只允许输入数字\"))\r\n } else if (Number(value) < 0) {\r\n callback(new Error(\"数值不能小于0\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function validateLat(rule, value, callback) {\r\n if (value === \"\") {\r\n callback(new Error(\"纬度不能为空\"))\r\n } else if (Number(value) > 90) {\r\n callback(new Error(\"纬度不能大于90\"))\r\n } else if (!/^\\d+$|^\\d*\\.\\d+$/g.test(value)) {\r\n callback(new Error(\"只允许输入数字\"))\r\n } else if (Number(value) < 0) {\r\n callback(new Error(\"数值不能小于0\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function temperature(rule, value, callback) {\r\n if (value > 100) {\r\n callback(new Error(\"温度不能超过100\"))\r\n } else if (value < 0) {\r\n callback(new Error(\"温度不能小于0\"))\r\n } else if (value == \"\") {\r\n callback(new Error(\"数据必填\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\nexport function humity(rule, value, callback) {\r\n if (value > 99) {\r\n callback(new Error(\"湿度不能超过99\"))\r\n } else if (value < 20) {\r\n callback(new Error(\"湿度不能小于20\"))\r\n } else if (value == \"\") {\r\n callback(new Error(\"数据必填\"))\r\n } else {\r\n callback()\r\n }\r\n}\r\n\r\n// 验证是否为空\r\nexport function filterNull(val) {\r\n if (val || val === 0) {\r\n if (val.length > 0) {\r\n var valReplace = val.replace(/(^\\s*)|(\\s*$)/g, \"\") // 去除字符串左右两端的空格\r\n if (valReplace) {\r\n return valReplace\r\n } else {\r\n return \"--\"\r\n }\r\n } else {\r\n return val\r\n }\r\n } else {\r\n return \"--\"\r\n }\r\n}\r\n\r\n// 验证是否为空,为空则为0\r\nexport function filterNull0(val) {\r\n if (val || val === 0) {\r\n if (val.length > 0) {\r\n var valReplace = val.replace(/(^\\s*)|(\\s*$)/g, \"\") // 去除字符串左右两端的空格\r\n if (valReplace) {\r\n return valReplace\r\n } else {\r\n return 0\r\n }\r\n } else {\r\n return val\r\n }\r\n } else {\r\n return 0\r\n }\r\n}\r\n\r\n// 验证开关状态\r\nexport function filterOpenCloseStatus(val) {\r\n if (parseInt(val) === 0) {\r\n return \"关\"\r\n } else if (parseInt(val) === 1) {\r\n return \"开\"\r\n } else {\r\n return \"--\"\r\n }\r\n}\r\n\r\n// UTC:世界标准时间转换为正常格式 \"yyyy-MM-dd' 'HH:mm:ss'\r\nexport function switchTimeFormat(time) {\r\n if (!time) {\r\n return \"\"\r\n }\r\n const dateTime = new Date(time)\r\n const year = dateTime.getFullYear()\r\n const month = dateTime.getMonth() + 1\r\n const date = dateTime.getDate()\r\n const hour = dateTime.getHours()\r\n const minute = dateTime.getMinutes()\r\n const second = dateTime.getSeconds()\r\n return (\r\n year +\r\n \"-\" +\r\n addZero(month) +\r\n \"-\" +\r\n addZero(date) +\r\n `\\n` +\r\n addZero(hour) +\r\n \":\" +\r\n addZero(minute) +\r\n \":\" +\r\n addZero(second)\r\n )\r\n}\r\n\r\nfunction addZero(v) {\r\n return v < 10 ? \"0\" + v : v\r\n}","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!./alarmInfo.vue?vue&type=style&index=0&id=94da6194&rel=stylesheet%2Fscss&lang=scss&scoped=true&\""],"sourceRoot":""} |