{"remainingRequest":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\monitor\\otherMonitor\\components\\MonthWaterPoint.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\monitor\\otherMonitor\\components\\MonthWaterPoint.vue","mtime":1684458239277},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport * as echarts from 'echarts';\nimport waterStatistical from '@/api/monitor/otherMonitor/waterStatistical.js';\nexport default {\n name: 'MonthWaterPoint',\n data: function data() {\n return {\n showFormDias: false,\n title: '',\n parmas: {\n subTime: \"\",\n type: \"yyyy-MM\"\n },\n monthEchart: null,\n monthList: []\n };\n },\n created: function created() {},\n mounted: function mounted() {\n this.monthEcharts();\n },\n methods: {\n handleOpen: function handleOpen(moth) {\n this.showFormDias = true;\n this.title = moth;\n this.parmas.subTime = moth;\n this.getData();\n },\n handleClose: function handleClose() {\n this.showFormDias = false;\n this.title = \"\";\n },\n getData: function getData() {\n var _this = this;\n\n waterStatistical.stationStatisticsSub(this.parmas, function (res) {\n if (res.state) {\n // console.log(res.value);\n _this.monthList = res.value;\n\n _this.$nextTick(function () {\n _this.monthEcharts();\n });\n }\n });\n },\n monthEcharts: function monthEcharts() {\n var times = [];\n var yNum = [];\n this.monthList.forEach(function (e) {\n times.push(e.x);\n yNum.push(e.y);\n });\n\n if (this.monthEchart != null && this.monthEchart != \"\" && this.monthEchart != undefined) {\n this.monthEchart.dispose(); //销毁\n } // let chartDom = document.getElementById('echartsBox')\n\n\n this.monthEchart = echarts.init(this.$refs.box);\n var option = {\n grid: {\n top: 30\n },\n xAxis: {\n type: 'category',\n data: times\n },\n yAxis: {\n name: '万m³',\n type: 'value'\n },\n tooltip: {\n trigger: 'axis',\n axisPointer: {\n type: 'shadow'\n }\n },\n series: [{\n data: yNum,\n type: 'bar'\n }]\n };\n option && this.monthEchart.setOption(option);\n }\n }\n};",null]}