{"remainingRequest":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\Aecharts.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\Aecharts.vue","mtime":1684458238418},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\nimport * as echarts from 'echarts';\nexport default {\n mounted: function mounted() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.initOption();\n });\n this.$root.$on('resize', function () {\n _this.resize(500);\n });\n },\n methods: {\n initOption: function initOption() {\n var dom = document.getElementById('chart');\n this.chart = echarts.init(dom);\n var normalColor = '#CBDDFF';\n var maxHeight = '65'; //最大高度/堤坝高度\n\n var markline = ['62', '57', '50', '0']; //设计水位,汛限水位,当前水位,校核水位\n //位移\n\n var option = {\n title: {\n text: '浸润线示意图',\n left: 'center',\n top: 'top',\n textStyle: {\n color: '#ddd',\n fontSize: '14',\n fontWeight: 700\n }\n },\n tooltip: {\n trigger: 'axis'\n },\n legend: {\n data: ['库水位(m)', '死水位(m)', '校核洪水位(m)', '浸润线'],\n top: '20px',\n textStyle: {\n color: '#14b5ff'\n }\n },\n grid: {\n top: '10%',\n left: '2%',\n right: '12%',\n bottom: '10%',\n containLabel: true\n },\n xAxis: {\n z: 30,\n type: 'value',\n max: 300,\n min: 0,\n interval: 10,\n splitLine: {\n show: false\n },\n axisLabel: {\n show: false\n },\n axisTick: {\n show: true\n },\n axisLine: {\n onZero: false,\n lineStyle: {\n color: '#138ec9',\n width: 1\n }\n }\n },\n yAxis: {\n type: 'value',\n name: '库水位(m)',\n nameTextStyle: {\n fontSize: 16,\n color: normalColor\n },\n max: maxHeight,\n min: 0,\n position: 'left',\n axisLine: {\n show: true,\n lineStyle: {\n color: '#138ec9',\n width: 1\n }\n },\n axisTick: {\n show: true\n },\n axisLabel: {\n fontSize: 14,\n color: '#138ec9'\n },\n splitLine: {\n show: false\n }\n },\n series: [{\n z: 2,\n type: 'line',\n gridIndex: 0,\n data: [[0, 0], [140, 46], [150, 46], [290, 0]],\n tooltip: {\n show: false\n },\n symbol: 'none',\n sampling: 'average',\n itemStyle: {\n normal: {\n color: '#58f2f2',\n lineStyle: {\n color: '#58f2f2'\n }\n }\n }\n }, {\n z: 1,\n type: 'line',\n data: [[135, 0], [140, 46], [150, 46]],\n tooltip: {\n show: false\n },\n symbol: 'none',\n areaStyle: {},\n itemStyle: {\n normal: {\n color: '#e6e6e6',\n lineStyle: {\n color: '#e6e6e6'\n }\n }\n }\n }, {\n name: '库水位(m)',\n type: 'line',\n gridIndex: 0,\n data: [[0, 42], [139, 42]],\n markPoint: {\n data: [{\n name: '库水位',\n value: '库水位' + 42,\n xAxis: 100,\n yAxis: 42\n }],\n label: {\n offset: [0, -30],\n color: '#3a5eff'\n }\n },\n symbol: 'none',\n symbolSize: 5,\n sampling: 'average',\n itemStyle: {\n normal: {\n color: '#3a5eff',\n lineStyle: {\n color: '#3a5eff'\n },\n label: {\n show: !0,\n position: [20, -15],\n formatter: function formatter(e) {\n return console.log('66666666666666', e), '' != e.value ? e.data[1] : '';\n },\n textStyle: {\n color: '#ffff00'\n }\n }\n }\n }\n }, {\n z: 3,\n name: '浸润线',\n type: 'line',\n gridIndex: 0,\n data: [[139, 42], [155, 30], [180, 26], [200, 20]],\n symbol: 'none',\n symbolSize: 5,\n sampling: 'average',\n itemStyle: {\n normal: {\n color: '#ffd023',\n lineStyle: {\n color: '#ffd023'\n }\n }\n }\n }, {\n name: '死水位(m)',\n type: 'line',\n gridIndex: 0,\n data: [[0, 28], [84, 28]],\n markPoint: {\n data: [{\n name: '死水位',\n value: '死水位28',\n xAxis: 37,\n yAxis: 28\n }],\n label: {\n offset: [0, -30],\n color: '#0000FF'\n }\n },\n symbol: 'none',\n symbolSize: 5,\n sampling: 'average',\n itemStyle: {\n normal: {\n color: '#0000FF',\n lineStyle: {\n color: '#0000FF'\n }\n }\n }\n }, {\n name: '校核洪水位(m)',\n type: 'line',\n gridIndex: 0,\n data: [[0, 44], [134, 44]],\n markPoint: {\n data: [{\n name: '校核洪水位',\n value: '校核洪水位44',\n xAxis: 80,\n yAxis: 44\n }],\n label: {\n offset: [0, -30],\n color: '#00ff7f'\n }\n },\n symbol: 'none',\n symbolSize: 5,\n sampling: 'average',\n itemStyle: {\n normal: {\n color: '#00ff7f',\n lineStyle: {\n color: '#00ff7f'\n }\n }\n }\n }, {\n z: 15,\n barGap: '-100%',\n name: '管底高程(m)',\n type: 'bar',\n barWidth: 15,\n emphasis: {\n focus: 'series'\n },\n grid: {\n show: 'false',\n borderWidth: '0'\n },\n itemStyle: {\n normal: {\n color: 'rgba(14, 24, 39, 1)',\n barBorderColor: 'rgba(14, 24, 39, 1)'\n }\n },\n data: [[155, 13]]\n }, {\n z: 10,\n name: '浸润水位(m)',\n type: 'bar',\n barWidth: 15,\n emphasis: {\n focus: 'series'\n },\n itemStyle: {\n normal: {\n color: '#14b5ff',\n barBorderColor: 'none',\n grid: {\n show: false,\n borderWidth: '0'\n },\n label: {\n show: true,\n position: [20, -15],\n formatter: function formatter(e) {\n return '' != e.value ? e.data[1] : '';\n },\n textStyle: {\n color: '#ffff00'\n }\n }\n }\n },\n data: [[155, 30]]\n }, {\n z: 5,\n name: '管口高程(m)',\n type: 'bar',\n barWidth: 15,\n emphasis: {\n focus: 'series'\n },\n itemStyle: {\n normal: {\n color: '#bababa',\n barBorderColor: 'none',\n grid: {\n show: false,\n borderWidth: '0'\n }\n }\n },\n data: [[155, 45]]\n }, {\n z: 15,\n barGap: '-100%',\n name: '管底高程(m)',\n type: 'bar',\n barWidth: 15,\n emphasis: {\n focus: 'series'\n },\n grid: {\n show: 'false',\n borderWidth: '0'\n },\n itemStyle: {\n normal: {\n color: 'rgba(14, 24, 39, 1)',\n barBorderColor: 'rgba(14, 24, 39, 1)'\n }\n },\n data: [[180, 15]]\n }, {\n z: 10,\n name: '浸润水位(m)',\n type: 'bar',\n barWidth: 15,\n emphasis: {\n focus: 'series'\n },\n itemStyle: {\n normal: {\n color: '#14b5ff',\n barBorderColor: 'none',\n grid: {\n show: 'false',\n borderWidth: '0'\n },\n label: {\n show: true,\n position: [20, -15],\n formatter: function formatter(e) {\n return '' != e.value ? e.data[1] : '';\n },\n textStyle: {\n color: '#ffff00'\n }\n }\n }\n },\n data: [[180, 26]]\n }, {\n z: 5,\n name: '管口高程(m)',\n type: 'bar',\n barWidth: 15,\n emphasis: {\n focus: 'series'\n },\n itemStyle: {\n normal: {\n color: '#bababa',\n barBorderColor: 'none',\n grid: {\n show: 'false',\n borderWidth: '0'\n }\n }\n },\n data: [[180, 38]]\n }, {\n z: 15,\n barGap: '-100%',\n name: '管底高程(m)',\n type: 'bar',\n barWidth: 15,\n emphasis: {\n focus: 'series'\n },\n itemStyle: {\n normal: {\n color: 'rgba(14, 24, 39, 1)',\n barBorderColor: 'rgba(14, 24, 39, 1)'\n }\n },\n data: [[200, 16]]\n }, {\n z: 10,\n name: '浸润水位(m)',\n type: 'bar',\n barWidth: 15,\n emphasis: {\n focus: 'series'\n },\n itemStyle: {\n normal: {\n color: '#14b5ff',\n barBorderColor: 'none',\n label: {\n show: true,\n position: [20, -15],\n formatter: function formatter(e) {\n return '' != e.value ? e.data[1] : '';\n },\n textStyle: {\n color: '#ffff00'\n }\n }\n }\n },\n data: [[200, 20]]\n }, {\n z: 5,\n name: '管口高程(m)',\n type: 'bar',\n barWidth: 15,\n emphasis: {\n focus: 'series'\n },\n itemStyle: {\n normal: {\n color: '#bababa',\n barBorderColor: 'none'\n }\n },\n data: [[200, 31]]\n }]\n };\n option && this.chart.setOption(option);\n }\n }\n};",null]}