{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\components\\Echarts\\RadarChart.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\components\\Echarts\\RadarChart.vue","mtime":1732871026468},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\babel.config.js","mtime":1732871025888},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":1732872825017},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1732872825835}],"contextDependencies":[],"result":["\"use strict\";\n\nvar _interopRequireDefault = require(\"D:/data/hanguodoushan/acs2/nladmin-ui/node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _echarts = _interopRequireDefault(require(\"echarts\"));\nvar _utils = require(\"@/utils\");\n//\n//\n//\n//\n\nrequire('echarts/theme/macarons'); // echarts theme\n\nvar animationDuration = 3000;\nvar _default = exports.default = {\n props: {\n className: {\n type: String,\n default: 'chart'\n },\n width: {\n type: String,\n default: '100%'\n },\n height: {\n type: String,\n default: '300px'\n }\n },\n data: function data() {\n return {\n chart: null\n };\n },\n mounted: function mounted() {\n var _this = this;\n this.initChart();\n this.__resizeHandler = (0, _utils.debounce)(function () {\n if (_this.chart) {\n _this.chart.resize();\n }\n }, 100);\n window.addEventListener('resize', this.__resizeHandler);\n },\n beforeDestroy: function beforeDestroy() {\n if (!this.chart) {\n return;\n }\n window.removeEventListener('resize', this.__resizeHandler);\n this.chart.dispose();\n this.chart = null;\n },\n methods: {\n initChart: function initChart() {\n this.chart = _echarts.default.init(this.$el, 'macarons');\n this.chart.setOption({\n tooltip: {\n trigger: 'axis',\n axisPointer: {\n // 坐标轴指示器,坐标轴触发有效\n type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'\n }\n },\n radar: {\n radius: '66%',\n center: ['50%', '42%'],\n splitNumber: 8,\n splitArea: {\n areaStyle: {\n color: 'rgba(127,95,132,.3)',\n opacity: 1,\n shadowBlur: 45,\n shadowColor: 'rgba(0,0,0,.5)',\n shadowOffsetX: 0,\n shadowOffsetY: 15\n }\n },\n indicator: [{\n name: 'Sales',\n max: 10000\n }, {\n name: 'Administration',\n max: 20000\n }, {\n name: 'Information Techology',\n max: 20000\n }, {\n name: 'Customer Support',\n max: 20000\n }, {\n name: 'Development',\n max: 20000\n }, {\n name: 'Marketing',\n max: 20000\n }]\n },\n legend: {\n left: 'center',\n bottom: '10',\n data: ['Allocated Budget', 'Expected Spending', 'Actual Spending']\n },\n series: [{\n type: 'radar',\n symbolSize: 0,\n areaStyle: {\n normal: {\n shadowBlur: 13,\n shadowColor: 'rgba(0,0,0,.2)',\n shadowOffsetX: 0,\n shadowOffsetY: 10,\n opacity: 1\n }\n },\n data: [{\n value: [5000, 7000, 12000, 11000, 15000, 14000],\n name: 'Allocated Budget'\n }, {\n value: [4000, 9000, 15000, 15000, 13000, 11000],\n name: 'Expected Spending'\n }, {\n value: [5500, 11000, 12000, 15000, 12000, 12000],\n name: 'Actual Spending'\n }],\n animationDuration: animationDuration\n }]\n });\n }\n }\n};",null]}