1 line
5.5 KiB
JSON
1 line
5.5 KiB
JSON
|
|
{"remainingRequest":"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\\epidemic\\checkStatistics\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\epidemic\\checkStatistics\\index.vue","mtime":1737610069414},{"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\\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":["\"use strict\";\n\nvar _interopRequireWildcard = require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/interopRequireWildcard.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar echarts = _interopRequireWildcard(require(\"echarts\"));\nvar _getdata = require(\"@/api/getdata\");\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//\nvar _default = exports.default = {\n data: function data() {\n return {\n themeList: [],\n formInline: {\n title: \"\"\n },\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n }\n };\n },\n mounted: function mounted() {\n this.getThemelist();\n },\n methods: {\n getThemelist: function getThemelist() {\n var _this = this;\n var aa = {\n title: this.formInline.title.trim()\n };\n var Content = {\n currentPage: this.page.limit == 0 ? 1 : this.page.limit,\n queryObj: aa\n };\n (0, _getdata.checkList)(Content).then(function (res) {\n // console.log(res,212)\n if (res.returnCode == \"1\") {\n _this.clearLoad();\n _this.themeList = res.returnData.data;\n _this.formInline.title = _this.themeList[0].UUID;\n console.log(res.returnData.data);\n _this.epidemicTJ();\n } else {\n _this.$message({\n message: res.returnMsg,\n type: \"warning\"\n });\n setTimeout(function () {\n _this.clearLoad();\n }, 300);\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 aa = {\n title: this.formInline.title.trim()\n };\n var Content = {\n queryObj: {\n uuid: this.formInline.title\n }\n };\n (0, _getdata.epidemicTJ)(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 seriesData1 = [{\n value: data.ytb,\n name: '填报人数'\n }, {\n value: data.zrs - data.ytb,\n name: '未填报人数'\n }];\n _this2.myChart(seriesData1);\n var seriesData2 = [data.detail.ZG, data.detail.JJ, data.detail.JZ];\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
|