{"remainingRequest":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\system\\Monitor\\HardDisk.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\src\\views\\system\\Monitor\\HardDisk.vue","mtime":1675071993178},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\xq-web-bpm\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\nimport portal from '@/api/portal.js';\nimport * as echarts from 'echarts';\nexport default {\n data: function data() {\n return {\n restPPT: 0\n };\n },\n mounted: function mounted() {\n this.getDisk();\n this.getDashboard();\n },\n methods: {\n getDisk: function getDisk() {\n var _this = this;\n\n portal.getHD().then(function (res) {\n _this.restPPT = res[0].restPPT;\n\n _this.getDashboard();\n });\n },\n getDashboard: function getDashboard() {\n var chartDom = document.getElementById('main');\n var myChart = echarts.init(chartDom);\n var option;\n option = {\n series: [{\n type: 'gauge',\n progress: {\n show: true,\n width: 18\n },\n axisLine: {\n lineStyle: {\n width: 18\n }\n },\n axisTick: {\n show: false\n },\n splitLine: {\n length: 15,\n lineStyle: {\n width: 2,\n color: '#999'\n }\n },\n axisLabel: {\n distance: 25,\n color: '#999',\n fontSize: 20\n },\n anchor: {\n show: true,\n showAbove: true,\n size: 25,\n itemStyle: {\n borderWidth: 10\n }\n },\n title: {\n show: false\n },\n detail: {\n valueAnimation: true,\n fontSize: 50,\n offsetCenter: [0, '70%']\n },\n data: [{\n value: this.restPPT\n }]\n }]\n };\n option && myChart.setOption(option); //防止越界,重绘canvas\n\n window.onresize = myChart.resize;\n myChart.setOption(option); //设置option\n }\n }\n};",null]}