{"remainingRequest":"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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport {\n\t\tmapGetters\n\t} from \"vuex\";\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\txDataWeek: [],\n\t\t\t\tseriesDataWeek: [],\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t...mapGetters(['isFullScreen']),\n\t\t},\n\t\tmounted() {\n\t\t\tthis.notReturnFun()\n\t\t},\n\t\tmethods: {\n\t\t\tdraw() {\n\t\t\t\t// 实例化echarts对象\n\t\t\t\tlet myChartDrawer = this.$echarts.init(this.$refs.myEchart);\n\t\t\t\tlet option = {\n\t\t\t\t\tdataZoom: [{\n\t\t\t\t\t\ttype: 'inside',\n\t\t\t\t\t\tstart: this.xDataWeek.length < 7 ? 0 : ((this.xDataWeek.length - 7) / this.xDataWeek.length) * 100,\n\t\t\t\t\t\tend: 100\n\t\t\t\t\t}],\n\t\t\t\t\tgrid: {\n\t\t\t\t\t\ttop: 60,\n\t\t\t\t\t\tleft: 0,\n\t\t\t\t\t\tright: '4%',\n\t\t\t\t\t\tbottom: 0,\n\t\t\t\t\t\tcontainLabel: true\n\t\t\t\t\t},\n\t\t\t\t\ttooltip: {\n\t\t\t\t\t\ttrigger: 'axis',\n\t\t\t\t\t\tformatter: '日期:{b}
未归人数:{c} 人'\n\t\t\t\t\t},\n\t\t\t\t\txAxis: [{\n\t\t\t\t\t\ttype: 'category',\n\t\t\t\t\t\tdata: this.xDataWeek,\n\t\t\t\t\t\taxisLine: {\n\t\t\t\t\t\t\tlineStyle: {\n\t\t\t\t\t\t\t\tcolor: \"#FFF\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\taxisLabel: {\n\t\t\t\t\t\t\tinterval: 0,\n\t\t\t\t\t\t\trotate: 60\n\t\t\t\t\t\t}\n\t\t\t\t\t}],\n\t\t\t\t\tyAxis: {\n\t\t\t\t\t\tname: \"人\",\n\t\t\t\t\t\ttype: 'value',\n\t\t\t\t\t\tsplitNumber: 4,\n\t\t\t\t\t\tsplitLine: {\n\t\t\t\t\t\t\tlineStyle: {\n\t\t\t\t\t\t\t\tcolor: '#FFF'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\taxisLine: {\n\t\t\t\t\t\t\tshow: true,\n\t\t\t\t\t\t\tlineStyle: {\n\t\t\t\t\t\t\t\tcolor: \"#FFF\"\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tnameTextStyle: {\n\t\t\t\t\t\t\tcolor: \"#FFF\"\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tseries: [{\n\t\t\t\t\t\tname: '13',\n\t\t\t\t\t\ttype: 'line',\n\t\t\t\t\t\tdata: this.seriesDataWeek,\n\t\t\t\t\t\tlineStyle: {\n\t\t\t\t\t\t\tnormal: {\n\t\t\t\t\t\t\t\twidth: 2,\n\t\t\t\t\t\t\t\tcolor: {\n\t\t\t\t\t\t\t\t\ttype: 'linear',\n\n\t\t\t\t\t\t\t\t\tcolorStops: [{\n\t\t\t\t\t\t\t\t\t\toffset: 0,\n\t\t\t\t\t\t\t\t\t\tcolor: '#A9F387' // 0% 处的颜色\n\t\t\t\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\t\t\t\toffset: 1,\n\t\t\t\t\t\t\t\t\t\tcolor: '#48D8BF' // 100% 处的颜色\n\t\t\t\t\t\t\t\t\t}],\n\t\t\t\t\t\t\t\t\tglobalCoord: false // 缺省为 false\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tshadowColor: 'rgba(72,216,191, 0.3)',\n\t\t\t\t\t\t\t\tshadowBlur: 0,\n\t\t\t\t\t\t\t\tshadowOffsetY: 0\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\titemStyle: {\n\t\t\t\t\t\t\tnormal: {\n\t\t\t\t\t\t\t\tcolor: '#fff',\n\t\t\t\t\t\t\t\tborderWidth: 0,\n\t\t\t\t\t\t\t\tborderColor: \"#A9F387\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\tsmooth: true\n\t\t\t\t\t}]\n\t\t\t\t};\n\t\t\t\tmyChartDrawer.setOption(option);\n\t\t\t\tlet that = this\n\t\t\t\tmyChartDrawer.on('click', function(param) {\n\t\t\t\t\tlet date = param.name\n\t\t\t\t\tsessionStorage.setItem(\"date\", date)\n\t\t\t\t\tthat.$router.push({\n\t\t\t\t\t\tname: \"dormitoryManage-not-return\"\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 未归人员 一星期\n\t\t\tnotReturnFun() {\n\t\t\t\tthis.$http.get('/system/index/notReturnedStatistics')\n\t\t\t\t\t.then(({\n\t\t\t\t\t\tdata: res\n\t\t\t\t\t}) => {\n\t\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlet seriesDataWeek = res.data.map(v => {\n\t\t\t\t\t\t\treturn v.num\n\t\t\t\t\t\t})\n\t\t\t\t\t\tlet xDataWeek = res.data.map(v => {\n\t\t\t\t\t\t\treturn v.date\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.xDataWeek = xDataWeek.reverse()\n\t\t\t\t\t\tthis.seriesDataWeek = seriesDataWeek.reverse()\n\n\t\t\t\t\t\tthis.draw()\n\t\t\t\t\t})\n\t\t\t},\n\t\t\t// 点名\n\t\t\trefreshHandle() {\n\t\t\t\tlet timeId = null\n\t\t\t\tthis.$http.put(\"/job/schedule/runHome\", [\"1318181679319240705\"]).then(({\n\t\t\t\t\tdata: res\n\t\t\t\t}) => {\n\t\t\t\t\twindow.clearInterval(timeId)\n\t\t\t\t\tif (res.code != 0) {\n\t\t\t\t\t\treturn this.$message.warning(res.msg)\n\t\t\t\t\t}\n\t\t\t\t\ttimeId = setTimeout(() => {\n\t\t\t\t\t\tthis.notReturnFun()\n\t\t\t\t\t\tthis.$message.success(\"已点名成功\")\n\t\t\t\t\t}, 2000)\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t}\n",{"version":3,"sources":["dormitory-not-returned.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"dormitory-not-returned.vue","sourceRoot":"src/views/modules/home-cell-components","sourcesContent":["\n\n\n\n\n"]}]}