hz-zhhq-web/node_modules/.cache/babel-loader/57dac72314f8390aba3daef5f2b...

1 line
8.5 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"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\\property\\questionnaire\\echarts\\index.vue?vue&type=script&lang=js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\views\\property\\questionnaire\\echarts\\index.vue","mtime":1737610069443},{"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 _interopRequireDefault = require(\"E:/hz-zhhq-web/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\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;\nrequire(\"core-js/modules/web.dom.iterable\");\nvar echarts = _interopRequireWildcard(require(\"echarts\"));\nvar _html2canvas = _interopRequireDefault(require(\"html2canvas\"));\nvar _jspdf = _interopRequireDefault(require(\"jspdf\"));\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = exports.default = {\n data: function data() {\n return {\n id: '',\n themeList: [],\n formInline: {\n TITLE: \"\",\n RELEASE_TIME: '',\n NUM: 0\n },\n page: {\n limit: 0 /** 当前点击*/,\n sizePage: 10 /** 当前多少页*/,\n total: 0 /**总数 */\n }\n };\n },\n created: function created() {},\n mounted: function mounted() {\n var data = this.$route.query.rowdata;\n if (data) {\n this.id = data.ID;\n this.getQuestionnaireCount();\n }\n },\n methods: {\n getQuestionnaireCount: function getQuestionnaireCount() {\n var _this = this;\n var Content = {\n id: this.id\n };\n (0, _getdata.getQuestionnaireCount)(Content).then(function (res) {\n if (res.returnCode == \"1\") {\n _this.clearLoad();\n console.log(res.returnData);\n _this.formInline = res.returnData.list[0];\n var seriesData1 = [{\n value: res.returnData.listPie[0].ONE,\n name: '非常满意'\n }, {\n value: res.returnData.listPie[0].TWO,\n name: '满意'\n }, {\n value: res.returnData.listPie[0].THREE,\n name: '一般'\n }, {\n value: res.returnData.listPie[0].FOUR,\n name: '不满意'\n }];\n _this.myChart(seriesData1);\n _this.myCharts(res.returnData.listBar);\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 myChart: function myChart(seriesData) {\n var myChart = echarts.init(document.getElementById('main'));\n if (this.formInline.RELEASE_TIME === null) {\n this.formInline.RELEASE_TIME = '未发布';\n }\n // 绘制图表\n myChart.setOption({\n title: {\n text: \"问卷主题:\" + this.formInline.TITLE + \" 参与人数:\" + this.formInline.NUM + \" 发布时间:\" + this.formInline.RELEASE_TIME,\n // subtext: \"发布时间:\"+this.formInline.RELEASE_TIME,\n // s