hz-zhhq-web/node_modules/.cache/babel-loader/b5384de450e6179578f9e651f04...

1 line
5.7 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!E:\\hz-zhhq-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!E:\\hz-zhhq-web\\src\\views\\house\\echarts\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\house\\echarts\\index.vue","mtime":1737610069425},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport * as echarts from 'echarts';\nimport { getStatistics, checkList, houseDicInfo as _houseDicInfo } from \"@/api/getdata\";\nexport default {\n data: function data() {\n return {\n houseType: [],\n typeList: [{\n name: '全部',\n id: ''\n }, {\n name: '年度',\n id: '1'\n }, {\n name: '季度',\n id: '2'\n }, {\n name: '月度',\n id: '3'\n }],\n formInline: {\n houseType: \"\",\n type: ''\n },\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n }\n };\n },\n mounted: function mounted() {\n this.houseDicInfo('houseType');\n },\n methods: {\n houseDicInfo: function houseDicInfo(e) {\n var _this = this;\n var Content = {\n dataType: e\n };\n _houseDicInfo(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n if (e == 'houseType') {\n _this.houseType = res.returnData.data;\n }\n console.log(_this.houseType);\n _this.formInline.houseType = _this.houseType[0].VALUE;\n _this.epidemicTJ();\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\n });\n },\n epidemicTJ: function epidemicTJ() {\n var _this2 = this;\n var Content = {\n type: this.formInline.type,\n houseType: this.formInline.houseType\n };\n getStatistics(Content).then(function (res) {\n // console.log(res,212)\n if (res.returnCode == \"1\") {\n _this2.clearLoad();\n console.log(res.returnData);\n var data = res.returnData;\n var seriesData2 = data;\n _this2.myCharts(seriesData2);\n } else {\n _this2.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this2.clearLoad();\n }, 300);\n }\n }).catch(function (err) {\n console.log(err);\n setTimeout(function () {\n _this2.clearLoad();\n }, 300);\n });\n },\n myChart: function myChart(seriesData) {\n var myChart = echarts.init(document.getElementById('main'));\n // 绘制图表\n myChart.setOption({\n // title: {\n // text: '填报人数',\n // left: 'center',\n // },\n legend: {\n orient: 'vertical',\n left: 'left'\n },\n color: ['#63b2ee', '#76da91'],\n tooltip: {\n trigger: 'item'\n },\n series: [{\n type: 'pie',\n radius: '50%',\n data: seriesData,\n emphasis: {\n itemStyle: {\n shadowBlur: 10,\n