|
|
@@ -265,7 +265,8 @@
|
|
|
},
|
|
|
// 险种类别
|
|
|
barChartData:{
|
|
|
- yAxisName:'单位:万',
|
|
|
+ yAxisNameL:'单位:万',
|
|
|
+ yAxisNameR:'单位:元',
|
|
|
color:['#028FF3','#F29700'],
|
|
|
xAxisData:[],
|
|
|
seriesData:[]
|
|
|
@@ -484,9 +485,11 @@
|
|
|
riskcode().then(response => {
|
|
|
console.log(response);
|
|
|
response.data.seriesData.forEach((item,index) => {
|
|
|
- item.data.forEach((num,i) => {
|
|
|
- item.data[i] = ((num-0)/10000).toFixed(2);
|
|
|
- })
|
|
|
+ if(item.name == '客户数量'){
|
|
|
+ item.data.forEach((num,i) => {
|
|
|
+ item.data[i] = ((num-0)/10000).toFixed(2);
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
that.barChartData.xAxisData = response.data.xaxisData;
|
|
|
that.barChartData.seriesData = response.data.seriesData;
|