4.86af33eb522cb76d234a.js.map 25 KB

1
  1. {"version":3,"sources":["webpack:///./node_modules/core-js/library/fn/object/define-property.js","webpack:///./node_modules/babel-runtime/core-js/object/define-property.js","webpack:///src/pages/Alarm/RealTime/index.vue","webpack:///./src/pages/Alarm/RealTime/index.vue?92a1","webpack:///./src/pages/Alarm/RealTime/index.vue","webpack:///./node_modules/babel-runtime/helpers/defineProperty.js","webpack:///./node_modules/core-js/library/modules/es6.object.define-property.js"],"names":["__webpack_require__","$Object","Object","module","exports","it","key","desc","defineProperty","default","__esModule","RealTime","name","data","_ref","sj","reqData","ctg","opt","pageSize","pageSizes","pageCount","tableData","id","error_code","equ_name","error_reason","defineProperty_default","created","this","getData","mounted","clearInterval","that","setInterval","beforeRouteLeave","to","from","next","methods","_methods","changePage","e","downlodTable","_this","$confirm","confirmButtonText","cancelButtonText","type","then","downFile","$message","message","catch","wb","xlsx_default","a","utils","table_to_book","document","querySelector","wbout","write","bookType","bookSST","FileSaver_min_default","saveAs","Blob","console","log","DbalarmTimes","_this2","request","res","AverageTime","forEach","item","index","arr","execute_vehicle_id","timeTool","done_time","execute_time","time","substring","indexOf","_this3","params","value","PageIndex","PageSize","resultData","result","pageNumber","timeFor","dateA","date","Date","parseInt","replace","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","goTo","$router","push","_this4","_ref2","row","column","rowIndex","columnIndex","Alarm_RealTime","render","_vm","_h","$createElement","_c","_self","staticClass","_v","attrs","on","click","staticStyle","width","color","prop","align","label","layout","total","current-change","prev-click","next-click","staticRenderFns","Component","normalizeComponent","ssrContext","__webpack_exports__","obj","_defineProperty","_defineProperty2","enumerable","configurable","writable","$export","S","F","f"],"mappings":"gEAAAA,EAAQ,QACR,IAAAC,EAAcD,EAAQ,QAAqBE,OAC3CC,EAAAC,QAAA,SAAAC,EAAAC,EAAAC,GACA,OAAAN,EAAAO,eAAAH,EAAAC,EAAAC,0BCHAJ,EAAAC,SAAkBK,QAAYT,EAAQ,QAA2CU,YAAA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cb76d234a.js","sourcesContent":["require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/fn/object/define-property.js\n// module id = 9bBU\n// module chunks = 4","module.exports = { \"default\": require(\"core-js/library/fn/object/define-property\"), __esModule: true };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/core-js/object/define-property.js\n// module id = C4MV\n// module chunks = 4","<template>\r\n <div class=\"logBox\">\r\n <div class=\"border_left_top border\"></div>\r\n <div class=\"border_top border\"></div>\r\n <div class=\"border_right_top border\"></div>\r\n <div class=\"border_left border\"></div>\r\n <div class=\"border_right border\"></div>\r\n <div class=\"border_left_bottom border\"></div>\r\n <div class=\"border_bottom border\"></div>\r\n <div class=\"border_right_bottom border\"></div>\r\n <el-button-group id=\"topButton\">\r\n <el-button type=\"primary\" class=\"active\">当前</el-button>\r\n <el-button type=\"primary\" @click=\"goTo\">历史</el-button>\r\n </el-button-group>\r\n <div class=\"downlodTable\" @click=\"downlodTable\">导出</div>\r\n <el-table\r\n :data=\"tableData\"\r\n id=\"userTableData\"\r\n style=\"width: 100%; color: #2daff5\"\r\n >\r\n <el-table-column\r\n prop=\"error_position\"\r\n align=\"center\"\r\n label=\"报警位置\"\r\n width=\"180\"\r\n >\r\n </el-table-column>\r\n <el-table-column prop=\"error_content\" align=\"center\" label=\"报警内容\">\r\n </el-table-column>\r\n <el-table-column prop=\"handle_method\" align=\"center\" label=\"处理方式\">\r\n </el-table-column>\r\n <el-table-column prop=\"alarm_date\" align=\"center\" label=\"报警时间\">\r\n </el-table-column>\r\n </el-table>\r\n <el-pagination\r\n @current-change=\"changePage\"\r\n @prev-click=\"changePage\"\r\n @next-click=\"changePage\"\r\n layout=\"prev, pager, next\"\r\n :total=\"pageCount\"\r\n >\r\n </el-pagination>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {\r\n Dbalarm,\r\n DbalarmTime,\r\n alarmInformationhos,\r\n} from \"../../../api/request.js\";\r\nimport FileSaver from \"file-saver\";\r\nimport XLSX from \"xlsx\";\r\nexport default {\r\n name: \"RealTime\",\r\n data() {\r\n return {\r\n sj: null,\r\n reqData: {\r\n ctg: \"curr\",\r\n opt: \"nonexcel\",\r\n },\r\n pageSize: 1,\r\n pageSizes: 1,\r\n pageCount: 0,\r\n tableData: [\r\n {\r\n id: 4,\r\n error_code: \"C03\",\r\n equ_name: \"输送机\",\r\n error_reason: \"C03_Status.Emergency_Stop\",\r\n error_reason: \"C03急停\",\r\n error_solve: \"检查电控柜急停按钮\",\r\n alarm_date: \"/Date(1603778413000)/\",\r\n if_deal: 0,\r\n deal_man: null,\r\n deal_date: null,\r\n },\r\n ],\r\n };\r\n },\r\n created() {\r\n // this.DbalarmTimes()\r\n this.getData();\r\n },\r\n mounted() {\r\n clearInterval(this.sj);\r\n let that = this;\r\n this.sj = setInterval(function () {\r\n that.getData();\r\n }, 3000);\r\n },\r\n beforeRouteLeave(to, from, next) {\r\n next();\r\n if (this.sj) {\r\n clearInterval(this.sj);\r\n this.sj = null;\r\n }\r\n },\r\n methods: {\r\n changePage(e) {\r\n this.pageSize = e;\r\n this.getData();\r\n },\r\n downlodTable() {\r\n this.$confirm(\"是否需要导出xlsx文档, 是否继续?\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n })\r\n .then(() => {\r\n this.downFile();\r\n this.$message({\r\n type: \"success\",\r\n message: \"导出成功!\",\r\n });\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type: \"info\",\r\n message: \"已取消导出\",\r\n });\r\n });\r\n },\r\n downFile() {\r\n var wb = XLSX.utils.table_to_book(\r\n document.querySelector(\"#userTableData\")\r\n );\r\n var wbout = XLSX.write(wb, {\r\n bookType: \"xlsx\",\r\n bookSST: true,\r\n type: \"array\",\r\n });\r\n try {\r\n FileSaver.saveAs(\r\n new Blob([wbout], {\r\n type: \"application/octet-stream\",\r\n }),\r\n \"报警统计.xlsx\"\r\n );\r\n } catch (e) {\r\n if (typeof console !== \"undefined\") console.log(e, wbout);\r\n }\r\n return wbout;\r\n },\r\n DbalarmTimes() {\r\n DbalarmTime().then((res) => {\r\n console.log(res.AverageTime);\r\n let dataAry = {};\r\n res.AverageTime.forEach((item, index, arr) => {\r\n // console.log(arr[index].execute_vehicle_id)\r\n if (arr[index].execute_vehicle_id == 1) {\r\n this.timeTool(arr[index].done_time) -\r\n this.timeTool(arr[index].execute_time);\r\n }\r\n });\r\n });\r\n },\r\n timeTool(time) {\r\n return time.substring(time.indexOf(\"(\") + 1, time.indexOf(\")\")) / 1000;\r\n },\r\n getData() {\r\n let params = {\r\n value: false,\r\n PageIndex: this.pageSize,\r\n PageSize: 13,\r\n };\r\n alarmInformationhos(params).then((res) => {\r\n this.tableData = res.resultData.result;\r\n this.pageCount = res.pageNumber;\r\n // for (let index in this.tableData) {\r\n // this.tableData[index].alarm_date = this.timeFor(\r\n // this.tableData[index].alarm_date\r\n // );\r\n // }\r\n });\r\n },\r\n timeFor(dateA) {\r\n //转换时间戳\r\n var timestamp = dateA;\r\n var date = new Date(\r\n parseInt(timestamp.replace(\"/Date(\", \"\").replace(\")/\", \"\"), 10)\r\n );\r\n let Y = date.getFullYear() + \"-\";\r\n let M =\r\n (date.getMonth() + 1 < 10\r\n ? \"0\" + (date.getMonth() + 1)\r\n : date.getMonth() + 1) + \"-\";\r\n let D =\r\n (date.getDate() < 10 ? \"0\" + date.getDate() : date.getDate()) + \" \";\r\n let h =\r\n (date.getHours() < 10 ? \"0\" + date.getHours() : date.getHours()) + \":\";\r\n let m =\r\n (date.getMinutes() < 10 ? \"0\" + date.getMinutes() : date.getMinutes()) +\r\n \":\";\r\n let s =\r\n date.getSeconds() < 10 ? \"0\" + date.getSeconds() : date.getSeconds();\r\n var NewDtime = Y + M + D + h + m + s;\r\n return NewDtime;\r\n },\r\n goTo() {\r\n this.$router.push(\"/Alarm/History\");\r\n },\r\n downlodTable() {\r\n this.$confirm(\"是否需要导出xlsx文档, 是否继续?\", \"提示\", {\r\n confirmButtonText: \"确定\",\r\n cancelButtonText: \"取消\",\r\n type: \"warning\",\r\n })\r\n .then(() => {\r\n this.downFile();\r\n this.$message({\r\n type: \"success\",\r\n message: \"导出成功!\",\r\n });\r\n })\r\n .catch(() => {\r\n this.$message({\r\n type: \"info\",\r\n message: \"已取消导出\",\r\n });\r\n });\r\n },\r\n downFile() {\r\n var wb = XLSX.utils.table_to_book(\r\n document.querySelector(\"#userTableData\")\r\n );\r\n var wbout = XLSX.write(wb, {\r\n bookType: \"xlsx\",\r\n bookSST: true,\r\n type: \"array\",\r\n });\r\n try {\r\n FileSaver.saveAs(\r\n new Blob([wbout], {\r\n type: \"application/octet-stream\",\r\n }),\r\n \"Alarm.xlsx\"\r\n );\r\n } catch (e) {\r\n if (typeof console !== \"undefined\") console.log(e, wbout);\r\n }\r\n return wbout;\r\n },\r\n //设置指定行、列、具体单元格颜色\r\n cellStyle({ row, column, rowIndex, columnIndex }) {\r\n if (columnIndex === 0) {\r\n //指定坐标rowIndex :行,columnIndex :列\r\n return \"background:#103366\"; //rgb(105,0,7)\r\n } else {\r\n return \"\";\r\n }\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style lang=\"less\" scoped>\r\n/deep/.el-pagination {\r\n z-index: 9999;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.logBox {\r\n width: 100%;\r\n height: 100%;\r\n overflow: hidden;\r\n position: relative;\r\n padding: 4.0625rem 1.5rem 4.0625rem 2.5rem;\r\n box-sizing: border-box;\r\n overflow-y: auto;\r\n // background: url(../../assets/img/border.png) no-repeat center center;\r\n // background-size: 100% 100%;\r\n .border {\r\n position: absolute;\r\n }\r\n\r\n .border_left_top {\r\n width: 12.625rem;\r\n height: 5.875rem;\r\n background: url(../../../assets/img/border.png);\r\n left: 1px;\r\n top: 1px;\r\n }\r\n\r\n .border_top {\r\n width: calc(100% - 12.625rem - 4.9375rem);\r\n height: 1.5rem;\r\n background: url(../../../assets/img/border_top.png) no-repeat center center;\r\n background-size: 100% 100%;\r\n left: 12.625rem;\r\n top: 0;\r\n }\r\n\r\n .border_right_top {\r\n width: 4.9375rem;\r\n height: 5.875rem;\r\n background: url(../../../assets/img/border_right_top.png) no-repeat center\r\n center;\r\n background-size: 100% 100%;\r\n right: 0.0625rem;\r\n top: 0;\r\n }\r\n\r\n .border_left {\r\n width: 1.375rem;\r\n height: calc(100% - 5.875rem - 7.625rem);\r\n background: url(../../../assets/img/border_left.png) no-repeat center center;\r\n background-size: 100% 100%;\r\n left: 0;\r\n top: 5.875rem;\r\n }\r\n\r\n .border_right {\r\n width: 0.1875rem;\r\n height: calc(100% - 5.875rem - 7.6875rem);\r\n background: url(../../../assets/img/border_right.png) no-repeat center\r\n center;\r\n background-size: 100% 100%;\r\n right: 0;\r\n top: 5.875rem;\r\n }\r\n\r\n .border_left_bottom {\r\n width: 11.625rem;\r\n height: 7.625rem;\r\n background: url(../../../assets/img/border_left_bottom.png) no-repeat center\r\n center;\r\n background-size: 100% 100%;\r\n left: 0;\r\n bottom: 0;\r\n }\r\n\r\n .border_bottom {\r\n width: calc(100% - 11.625rem - 4.9375rem);\r\n height: 0.1875rem;\r\n background: url(../../../assets/img/border_bottom.png) no-repeat center\r\n center;\r\n background-size: 100% 100%;\r\n left: 11.625rem;\r\n bottom: 0;\r\n }\r\n\r\n .border_right_bottom {\r\n width: 4.9375rem;\r\n height: 7.6875rem;\r\n background: url(../../../assets/img/border_right_bottom.png) no-repeat\r\n center center;\r\n background-size: 100% 100%;\r\n right: 0;\r\n bottom: 0;\r\n }\r\n\r\n #topButton {\r\n position: absolute;\r\n top: 8px;\r\n left: 8px;\r\n z-index: 1;\r\n\r\n button:first-child {\r\n border: none;\r\n background: url(../../../assets/img/check1.png) no-repeat center center;\r\n background-size: 100% 100%;\r\n padding: 12px 50px 12px 35px;\r\n position: absolute;\r\n font-weight: bold;\r\n font-style: italic;\r\n color: #76899d;\r\n }\r\n\r\n button:last-child {\r\n border: none;\r\n background: url(../../../assets/img/uncheck2.png) no-repeat center center;\r\n background-size: 100% 100%;\r\n padding: 12px 55px;\r\n position: absolute;\r\n left: 78px;\r\n font-weight: bold;\r\n font-style: italic;\r\n color: #76899d;\r\n }\r\n\r\n .active {\r\n color: #fff !important;\r\n }\r\n }\r\n\r\n .el-table::before {\r\n height: 0;\r\n }\r\n}\r\n\r\n.downlodTable {\r\n width: 50px;\r\n height: 30px;\r\n box-shadow: inset 0px 1px 38px 0px rgba(0, 162, 253, 0.4) !important;\r\n border: 1px solid rgba(1, 148, 228, 0.34) !important;\r\n background: none !important;\r\n float: right;\r\n position: absolute;\r\n top: 30px;\r\n right: 25px;\r\n color: #ddd;\r\n text-align: center;\r\n line-height: 30px;\r\n cursor: pointer;\r\n}\r\n</style>\r\n<style>\r\n.logBox .el-table th {\r\n background: #103366 !important;\r\n}\r\n\r\n.logBox .el-table th > .cell {\r\n color: #0194e4 !important;\r\n}\r\n\r\n.logBox .el-table th,\r\n.el-table tr:hover {\r\n background: red;\r\n}\r\n</style>\r\n\n\n\n// WEBPACK FOOTER //\n// src/pages/Alarm/RealTime/index.vue","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"logBox\"},[_c('div',{staticClass:\"border_left_top border\"}),_vm._v(\" \"),_c('div',{staticClass:\"border_top border\"}),_vm._v(\" \"),_c('div',{staticClass:\"border_right_top border\"}),_vm._v(\" \"),_c('div',{staticClass:\"border_left border\"}),_vm._v(\" \"),_c('div',{staticClass:\"border_right border\"}),_vm._v(\" \"),_c('div',{staticClass:\"border_left_bottom border\"}),_vm._v(\" \"),_c('div',{staticClass:\"border_bottom border\"}),_vm._v(\" \"),_c('div',{staticClass:\"border_right_bottom border\"}),_vm._v(\" \"),_c('el-button-group',{attrs:{\"id\":\"topButton\"}},[_c('el-button',{staticClass:\"active\",attrs:{\"type\":\"primary\"}},[_vm._v(\"当前\")]),_vm._v(\" \"),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.goTo}},[_vm._v(\"历史\")])],1),_vm._v(\" \"),_c('div',{staticClass:\"downlodTable\",on:{\"click\":_vm.downlodTable}},[_vm._v(\"导出\")]),_vm._v(\" \"),_c('el-table',{staticStyle:{\"width\":\"100%\",\"color\":\"#2daff5\"},attrs:{\"data\":_vm.tableData,\"id\":\"userTableData\"}},[_c('el-table-column',{attrs:{\"prop\":\"error_position\",\"align\":\"center\",\"label\":\"报警位置\",\"width\":\"180\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"error_content\",\"align\":\"center\",\"label\":\"报警内容\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"handle_method\",\"align\":\"center\",\"label\":\"处理方式\"}}),_vm._v(\" \"),_c('el-table-column',{attrs:{\"prop\":\"alarm_date\",\"align\":\"center\",\"label\":\"报警时间\"}})],1),_vm._v(\" \"),_c('el-pagination',{attrs:{\"layout\":\"prev, pager, next\",\"total\":_vm.pageCount},on:{\"current-change\":_vm.changePage,\"prev-click\":_vm.changePage,\"next-click\":_vm.changePage}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-2dd70874\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/pages/Alarm/RealTime/index.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-2dd70874\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!less-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n require(\"!!../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true,\\\"publicPath\\\":\\\"../../\\\"}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-2dd70874\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=1!./index.vue\")\n}\nvar normalizeComponent = require(\"!../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"\n/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2dd70874\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-2dd70874\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/Alarm/RealTime/index.vue\n// module id = null\n// module chunks = ","\"use strict\";\n\nexports.__esModule = true;\n\nvar _defineProperty = require(\"../core-js/object/define-property\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (obj, key, value) {\n if (key in obj) {\n (0, _defineProperty2.default)(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/babel-runtime/helpers/defineProperty.js\n// module id = bOdI\n// module chunks = 4","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/core-js/library/modules/es6.object.define-property.js\n// module id = mClu\n// module chunks = 4"],"sourceRoot":""}