{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\home-cell-components\\dormitory-not-returned.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\home-cell-components\\dormitory-not-returned.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.function.name\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { mapGetters } from \"vuex\";\nexport default {\n data: function data() {\n return {\n xDataWeek: [],\n seriesDataWeek: []\n };\n },\n computed: _objectSpread({}, mapGetters(['isFullScreen'])),\n mounted: function mounted() {\n this.notReturnFun();\n },\n methods: {\n draw: function draw() {\n // 实例化echarts对象\n var myChartDrawer = this.$echarts.init(this.$refs.myEchart);\n var option = {\n dataZoom: [{\n type: 'inside',\n start: this.xDataWeek.length < 7 ? 0 : (this.xDataWeek.length - 7) / this.xDataWeek.length * 100,\n end: 100\n }],\n grid: {\n top: 60,\n left: 0,\n right: '4%',\n bottom: 0,\n containLabel: true\n },\n tooltip: {\n trigger: 'axis',\n formatter: '日期:{b}
未归人数:{c} 人'\n },\n xAxis: [{\n type: 'category',\n data: this.xDataWeek,\n axisLine: {\n lineStyle: {\n color: \"#FFF\"\n }\n },\n axisLabel: {\n interval: 0,\n rotate: 60\n }\n }],\n yAxis: {\n name: \"人\",\n type: 'value',\n splitNumber: 4,\n splitLine: {\n lineStyle: {\n color: '#FFF'\n }\n },\n axisLine: {\n show: true,\n lineStyle: {\n color: \"#FFF\"\n }\n },\n nameTextStyle: {\n color: \"#FFF\"\n }\n },\n series: [{\n name: '13',\n type: 'line',\n data: this.seriesDataWeek,\n lineStyle: {\n normal: {\n width: 2,\n color: {\n type: 'linear',\n colorStops: [{\n offset: 0,\n color: '#A9F387' // 0% 处的颜色\n\n }, {\n offset: 1,\n color: '#48D8BF' // 100% 处的颜色\n\n }],\n globalCoord: false // 缺省为 false\n\n },\n shadowColor: 'rgba(72,216,191, 0.3)',\n shadowBlur: 0,\n shadowOffsetY: 0\n }\n },\n itemStyle: {\n normal: {\n color: '#fff',\n borderWidth: 0,\n borderColor: \"#A9F387\"\n }\n },\n smooth: true\n }]\n };\n myChartDrawer.setOption(option);\n var that = this;\n myChartDrawer.on('click', function (param) {\n var date = param.name;\n sessionStorage.setItem(\"date\", date);\n that.$router.push({\n name: \"dormitoryManage-not-return\"\n });\n });\n },\n // 未归人员 一星期\n notReturnFun: function notReturnFun() {\n var _this = this;\n\n this.$http.get('/system/index/notReturnedStatistics').then(function (_ref) {\n var res = _ref.data;\n\n if (res.code != 0) {\n return _this.$message.error(res.msg);\n }\n\n var seriesDataWeek = res.data.map(function (v) {\n return v.num;\n });\n var xDataWeek = res.data.map(function (v) {\n return v.date;\n });\n _this.xDataWeek = xDataWeek.reverse();\n _this.seriesDataWeek = seriesDataWeek.reverse();\n\n _this.draw();\n });\n },\n // 点名\n refreshHandle: function refreshHandle() {\n var _this2 = this;\n\n var timeId = null;\n this.$http.put(\"/job/schedule/runHome\", [\"1318181679319240705\"]).then(function (_ref2) {\n var res = _ref2.data;\n window.clearInterval(timeId);\n\n if (res.code != 0) {\n return _this2.$message.warning(res.msg);\n }\n\n timeId = setTimeout(function () {\n _this2.notReturnFun();\n\n _this2.$message.success(\"已点名成功\");\n }, 2000);\n });\n }\n }\n};",{"version":3,"sources":["dormitory-not-returned.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,SACA,UADA,QAEA,MAFA;AAGA,eAAA;AACA,EAAA,IADA,kBACA;AACA,WAAA;AACA,MAAA,SAAA,EAAA,EADA;AAEA,MAAA,cAAA,EAAA;AAFA,KAAA;AAIA,GANA;AAOA,EAAA,QAAA,oBACA,UAAA,CAAA,CAAA,cAAA,CAAA,CADA,CAPA;AAUA,EAAA,OAVA,qBAUA;AACA,SAAA,YAAA;AACA,GAZA;AAaA,EA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