{"remainingRequest":"D:\\jenkins\\workspace\\ljzc-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\ljzc-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\ljzc-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\ljzc-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\ljzc-fvue\\src\\views\\HomePage\\components\\LoanInterest.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\ljzc-fvue\\src\\views\\HomePage\\components\\LoanInterest.vue","mtime":1702374166541},{"path":"D:\\jenkins\\workspace\\ljzc-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\ljzc-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\ljzc-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\ljzc-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\ljzc-fvue\\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//\nimport * as echarts from 'echarts';\nimport utils from '@/utils.js';\nimport api from '@/api/homePage.js';\nimport PublicTitle from '@/components/PublicTitle/index';\nexport default {\n name: 'LoanInterest',\n // 借款利息趋势\n components: {\n PublicTitle: PublicTitle\n },\n data: function data() {\n return {\n echartsData: []\n };\n },\n created: function created() {\n this.getLoanAssets();\n },\n mounted: function mounted() {},\n methods: {\n getLoanAssets: function getLoanAssets() {\n var _this = this;\n\n api.loanStatistics({}, function (res) {\n if (res.state) {\n _this.echartsData = res.value;\n }\n\n _this.initChat();\n });\n },\n initChat: function initChat() {\n var monthData = [];\n var nums = [];\n this.echartsData.forEach(function (e) {\n monthData.push(e.month + '月');\n nums.push(e.addUpMoney);\n });\n var chartDom = echarts.init(document.getElementById('interest-chart'));\n var option = {\n tooltip: {\n trigger: 'axis' // 设置触发类型为坐标轴轴线触发\n\n },\n grid: {\n top: '21%',\n bottom: '15%',\n left: '6%',\n right: '5%'\n },\n xAxis: {\n type: 'category',\n data: monthData,\n boundaryGap: false,\n axisTick: {\n show: false\n },\n axisLine: {\n show: true,\n lineStyle: {\n color: '#A1A9B2' // 浅灰色\n\n }\n }\n },\n yAxis: {\n type: 'value',\n name: '单位:万元',\n min: 0,\n axisLine: {\n show: true,\n lineStyle: {\n color: '#A1A9B2' // 浅灰色\n\n }\n },\n splitLine: {\n show: false\n }\n },\n series: [{\n data: nums,\n type: 'line',\n smooth: true,\n // symbol: 'none', // 取消小圆点的显示\n showSymbol: false,\n // 取消小圆点的显示\n lineStyle: {\n color: '#00FFFF' // 设置线条的颜色为红色\n\n }\n }]\n };\n chartDom.setOption(option);\n window.addEventListener('resize', function () {\n chartDom.resize();\n });\n }\n }\n};",null]}