{"remainingRequest":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/src/components/chart.vue?vue&type=script&lang=js&","dependencies":[{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/src/components/chart.vue","mtime":1740130327256},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/badp-bcxin-web-5.x-mobile/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nexport default {\n name: \"chart\",\n inject: [\"reload\"],\n mounted() {\n this.getChart();\n },\n watch: {\n chartData() {\n this.drawLine();\n },\n },\n data() {\n return{\n chartData:'',\n }\n },\n methods: {\n doBack() {\n this.$router.go(-1)\n },\n getChart() {\n this.$api.getChart(this.$route.query.actionContent, {\n onSucess: response => { \n this.chartData = JSON.parse(response.data.data.result);\n }\n })\n },\n drawLine(){\n let myChart = this.$echarts.init(this.$refs.myChart);\n myChart.setOption(this.chartData);\n },\n }\n};\n",null]}