diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html
index 5e0a12df..2b50a605 100644
--- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html
+++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html
@@ -198,8 +198,11 @@
-
-
+
+
@@ -226,7 +229,8 @@
var checkDouble=/*[[${checkDouble}]]*/{};
var searchType;
var rowData=[];
- var echart1=echarts.init(document.getElementById('container1'));
+ /*var echart1=echarts.init(document.getElementById('container1'));*/
+ var echart1=echarts.init(document.getElementById('echartRegistration'));
var echart2=echarts.init(document.getElementById('container2'));
var echart3=echarts.init(document.getElementById('container3'));
var echart4=echarts.init(document.getElementById('container4'));
@@ -366,7 +370,7 @@
success: function (response) {
console.log(response);
var option1 = {
- color:['#1874CD','#3A5FCD','#436EEE','#4876FF','#1E90FF','#63B8FF'],
+ /*color:['#1874CD','#3A5FCD','#436EEE','#4876FF','#1E90FF','#63B8FF'],
tooltip: {},
legend: {
top:'1%',
@@ -387,7 +391,42 @@
}
},
}
- ]
+ ]*/
+ tooltip: {
+ trigger: 'item',
+ formatter: '{b}: {c} ({d}%)'
+ },
+ /*legend: {
+ x : 'left',
+ y : 'center',
+ itemGap: 20,
+ orient: 'vercital'
+ },*/
+ color: ['#1f74f1', '#79e24a', '#41d5d3', '#f59036', '#fed100', '#ababac'],
+ series: [{
+ top: '10%',
+ left: '20%',
+ type: 'pie',
+ name: '名称',
+ radius: ['20%', '28%'],
+ center: ['50%', '25%'],
+ label: {
+ formatter: '{b}: {c} ({d}%)',
+ borderWidth: 1,
+ borderRadius: 4,
+ color: '#4F4F4F',
+ fontFamily: 'PingFangSC-Regular',
+ fontSize: '14',
+ rich: {
+ a: {
+ color: '#4F4F4F',
+ lineHeight: 18,
+ align: 'center'
+ }
+ }
+ },
+ data: response,
+ }]
};
echart1.setOption(option1);
}