1 line
12 KiB
JSON
1 line
12 KiB
JSON
|
{"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}<br>未归人数:{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
|