|
@@ -70,6 +70,14 @@
|
|
|
</div> -->
|
|
|
<div class="qkq_bjzs_txt clearfix fl">
|
|
|
<div class="qkq_bjzs_txt_fl">
|
|
|
+ <div class="qkq_bjs qkq_bjss">
|
|
|
+ <img src="../../assets/images/qkq_icon20.png"/>
|
|
|
+ <p><b>1036<i>件</i></b><i>办件数</i></p>
|
|
|
+ </div>
|
|
|
+ <div class="qkq_bjs qkq_bjss">
|
|
|
+ <img src="../../assets/images/qkq_icon23.png"/>
|
|
|
+ <p><b>1036<i>件</i></b><i>办结数</i></p>
|
|
|
+ </div>
|
|
|
<div class="qkq_bjs">
|
|
|
<div id="qkq_bjs_01"></div>
|
|
|
</div>
|
|
@@ -1208,190 +1216,133 @@ export default {
|
|
|
},
|
|
|
qkq_bjs_01() {
|
|
|
var myChart = echarts.init(document.getElementById('qkq_bjs_01'));
|
|
|
- var dataStyle = {
|
|
|
- normal: {
|
|
|
- label: {
|
|
|
- show: false
|
|
|
- },
|
|
|
- labelLine: {
|
|
|
- show: false
|
|
|
- },
|
|
|
- shadowBlur: 0,
|
|
|
- shadowColor: '#203665'
|
|
|
- }
|
|
|
- };
|
|
|
var option = {
|
|
|
- series: [{
|
|
|
- name: '第一个圆环',
|
|
|
- type: 'pie',
|
|
|
- clockWise: false,
|
|
|
- radius: [70, 80],
|
|
|
- itemStyle: dataStyle,
|
|
|
- hoverAnimation: false,
|
|
|
- center: ['15%', '50%'],
|
|
|
- data: [{
|
|
|
- value: 25,
|
|
|
- label: {
|
|
|
- normal: {
|
|
|
- rich: {
|
|
|
- a: {
|
|
|
- color: '#3a7ad5',
|
|
|
- align: 'center',
|
|
|
- fontSize: 20,
|
|
|
- fontWeight: "bold"
|
|
|
+ title: [
|
|
|
+ {
|
|
|
+ text: '办结率',
|
|
|
+ x: 'center',
|
|
|
+ top: '32%',
|
|
|
+ textStyle: {
|
|
|
+ color: '#fff',
|
|
|
+ fontSize: 20,
|
|
|
+ fontWeight: '100',
|
|
|
},
|
|
|
- b: {
|
|
|
- color: '#fff',
|
|
|
- align: 'center',
|
|
|
- fontSize: 16
|
|
|
- }
|
|
|
- },
|
|
|
- formatter: function (params) {
|
|
|
- return "{b|办件数}\n\n" + "{a|" + params.value + "个}";
|
|
|
- },
|
|
|
- position: 'center',
|
|
|
- show: true,
|
|
|
- textStyle: {
|
|
|
- fontSize: '14',
|
|
|
- fontWeight: 'normal',
|
|
|
- color: '#fff'
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: '#2c6cc4',
|
|
|
- shadowColor: '#2c6cc4',
|
|
|
- shadowBlur: 0
|
|
|
- }
|
|
|
- }
|
|
|
- }, {
|
|
|
- value: 75,
|
|
|
- name: 'invisible',
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: '#24375c'
|
|
|
},
|
|
|
- emphasis: {
|
|
|
- color: '#24375c'
|
|
|
- }
|
|
|
- }
|
|
|
- }]
|
|
|
- }, {
|
|
|
- name: '第二个圆环',
|
|
|
- type: 'pie',
|
|
|
- clockWise: false,
|
|
|
- radius: [70, 80],
|
|
|
- itemStyle: dataStyle,
|
|
|
- hoverAnimation: false,
|
|
|
- center: ['50%', '50%'],
|
|
|
- data: [{
|
|
|
- value: 50,
|
|
|
- label: {
|
|
|
- normal: {
|
|
|
- rich: {
|
|
|
- a: {
|
|
|
- color: '#d03e93',
|
|
|
- align: 'center',
|
|
|
- fontSize: 20,
|
|
|
- fontWeight: "bold"
|
|
|
+ {
|
|
|
+ text: '60%',
|
|
|
+ x: 'center',
|
|
|
+ top: '50%',
|
|
|
+ textStyle: {
|
|
|
+ fontSize: 30,
|
|
|
+ color: '#00f0ff',
|
|
|
+ foontWeight: '500',
|
|
|
},
|
|
|
- b: {
|
|
|
- color: '#fff',
|
|
|
- align: 'center',
|
|
|
- fontSize: 16
|
|
|
- }
|
|
|
- },
|
|
|
- formatter: function (params) {
|
|
|
- return "{b|办结数}\n\n" + "{a|" + params.value + "个}";
|
|
|
- },
|
|
|
- position: 'center',
|
|
|
- show: true,
|
|
|
- textStyle: {
|
|
|
- fontSize: '14',
|
|
|
- fontWeight: 'normal',
|
|
|
- color: '#fff'
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: '#ef45ac',
|
|
|
- shadowColor: '#ef45ac',
|
|
|
- shadowBlur: 0
|
|
|
- }
|
|
|
- }
|
|
|
- }, {
|
|
|
- value: 50,
|
|
|
- name: 'invisible',
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: '#412a4e'
|
|
|
},
|
|
|
- emphasis: {
|
|
|
- color: '#412a4e'
|
|
|
- }
|
|
|
- }
|
|
|
- }]
|
|
|
- }, {
|
|
|
- name: '第三个圆环',
|
|
|
- type: 'pie',
|
|
|
- clockWise: false,
|
|
|
- radius: [70, 80],
|
|
|
- itemStyle: dataStyle,
|
|
|
- hoverAnimation: false,
|
|
|
- center: ['85%', '50%'],
|
|
|
- data: [{
|
|
|
- value: 75,
|
|
|
- label: {
|
|
|
- normal: {
|
|
|
- rich: {
|
|
|
- a: {
|
|
|
- color: '#603dd0',
|
|
|
- align: 'center',
|
|
|
- fontSize: 20,
|
|
|
- fontWeight: "bold"
|
|
|
+ ],
|
|
|
+ polar: {
|
|
|
+ radius: ['44%', '50%'],
|
|
|
+ center: ['50%', '50%'],
|
|
|
+ },
|
|
|
+ angleAxis: {
|
|
|
+ max: 100,
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ radiusAxis: {
|
|
|
+ type: 'category',
|
|
|
+ show: true,
|
|
|
+ axisLabel: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ axisLine: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ axisTick: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ series: [
|
|
|
+ {
|
|
|
+ type: 'pie',
|
|
|
+ startAngle: 0,
|
|
|
+ radius: ['83%', '90%'],
|
|
|
+ center: ['50%', '50%'],
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ hoverOffset: 1,
|
|
|
+ value: 75,
|
|
|
+ name: '',
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: '#00f0ff',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ label: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ labelLine: {
|
|
|
+ normal: {
|
|
|
+ smooth: true,
|
|
|
+ lineStyle: {
|
|
|
+ width: 0,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ hoverAnimation: false,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ labelLine: {
|
|
|
+ normal: {
|
|
|
+ smooth: true,
|
|
|
+ lineStyle: {
|
|
|
+ width: 0,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ value: 100 - 75,
|
|
|
+ hoverAnimation: false,
|
|
|
+ itemStyle: {
|
|
|
+ color: 'rgba(251, 200, 79, 0)',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '',
|
|
|
+ type: 'pie',
|
|
|
+ startAngle: 90,
|
|
|
+ radius: '80%',
|
|
|
+ hoverAnimation: false,
|
|
|
+ center: ['50%', '50%'],
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ labelLine: {
|
|
|
+ show: false,
|
|
|
+ },
|
|
|
+ color: new echarts.graphic.RadialGradient(0.5, 0.5, 1, [
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: 'rgba(55,70,130, 1)',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 0,
|
|
|
+ color: 'rgba(55,70,130, 0)',
|
|
|
+ },
|
|
|
+ ]),
|
|
|
+ shadowBlur: 10,
|
|
|
+ // shadowColor: 'rgba(55,70,130, 1)'
|
|
|
+ },
|
|
|
},
|
|
|
- b: {
|
|
|
- color: '#fff',
|
|
|
- align: 'center',
|
|
|
- fontSize: 16
|
|
|
- }
|
|
|
- },
|
|
|
- formatter: function (params) {
|
|
|
- return "{b|办结率}\n\n" + "{a|" + params.value + "%}";
|
|
|
- },
|
|
|
- position: 'center',
|
|
|
- show: true,
|
|
|
- textStyle: {
|
|
|
- fontSize: '14',
|
|
|
- fontWeight: 'normal',
|
|
|
- color: '#fff'
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: '#613fd1',
|
|
|
- shadowColor: '#613fd1',
|
|
|
- shadowBlur: 0
|
|
|
- }
|
|
|
- }
|
|
|
- }, {
|
|
|
- value: 25,
|
|
|
- name: 'invisible',
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: '#453284'
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ value: 100,
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
- emphasis: {
|
|
|
- color: '#453284'
|
|
|
- }
|
|
|
- }
|
|
|
- }]
|
|
|
- }]
|
|
|
- }
|
|
|
-
|
|
|
+ ],
|
|
|
+ };
|
|
|
if (option) {
|
|
|
myChart.setOption(option);
|
|
|
}
|