management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/a267a8a21fecf93f961aae6922c...

1 line
9.6 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\components\\public\\echarts\\bar.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\components\\public\\echarts\\bar.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"C:\\\\Users\\\\27446\\\\Desktop\\\\up\\\\front\\\\dkha-web-sz-main\\\\node_modules\\\\@babel\\\\runtime-corejs2/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\nexport default {\n props: {\n params: {\n type: Object,\n default: function _default() {}\n }\n },\n data: function data() {\n return {\n colorList: ['#45DBF7', '#F69846', '#FF4343']\n };\n },\n mounted: function mounted() {},\n // watch 不生<E4B88D><E7949F>\n // watch: {\n // \tparams: {\n // \t\thandler(newName, oldName) {\n // \t\t\tthis.init()\n // \t\t},\n // \t\tdeep: true,\n // \t}\n // },\n methods: {\n init: function init() {\n var _this = this;\n\n this.params.seriesData = this.params.seriesData.map(function (item, index) {\n var _obj;\n\n var obj = (_obj = {\n type: 'bar',\n barMaxWidth: \"3%\"\n }, _defineProperty(_obj, \"barMaxWidth\", \"3%\"), _defineProperty(_obj, \"itemStyle\", {\n normal: {\n color: _this.colorList[index],\n barBorderRadius: 10\n }\n }), _obj);\n item = _objectSpread({}, item, {}, obj);\n return item;\n });\n var myChartDrawer = this.$echarts.init(this.$refs.myEchart);\n window.onresize = myChartDrawer.resize;\n var option = {\n title: {\n text: this.params.title,\n left: \"center\",\n textStyle: {\n color: \"#FFF\"\n }\n },\n legend: {\n textStyle: {\n color: \"#FFF\"\n },\n top: \"8%\"\n },\n grid: {\n top: \"20%\",\n containLabel: false\n },\n tooltip: {\n trigger: 'axis',\n axisPointer: {\n type: 'shadow'\n }\n },\n xAxis: {\n name: this.params.xTitle,\n