9 changed files with 293 additions and 10 deletions
-
BINsrc/assets/images/icon-rank-1.png
-
BINsrc/assets/images/icon-rank-2.png
-
BINsrc/assets/images/icon-rank-3.png
-
76src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/Overview/echarts.config.js
-
143src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/Overview/index.jsx
-
63src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/Overview/index.scss
-
6src/pages/DataAnalysisPrediction/ParkingIncomeAly/ArrearageAly/loadable.jsx
-
11src/services/DataAnalysisPrediction/ParkingIncomeAly/index.js
-
4src/services/DataAnalysisPrediction/index.js
After Width: 200 | Height: 200 | Size: 9.5 KiB |
After Width: 200 | Height: 200 | Size: 10 KiB |
After Width: 200 | Height: 200 | Size: 10 KiB |
@ -0,0 +1,76 @@ |
|||||
|
const colorList = ['#3AA9FF', '#F997DF'] |
||||
|
import utils from "@/config/utils" |
||||
|
|
||||
|
export default { |
||||
|
pieChartOption: { |
||||
|
title: { |
||||
|
show: true, |
||||
|
text: '', |
||||
|
bottom: 0, |
||||
|
x: 'center', |
||||
|
textStyle: { |
||||
|
color: '#fff' |
||||
|
}, |
||||
|
textAlign: 'left' |
||||
|
}, |
||||
|
color: colorList, |
||||
|
tooltip: { |
||||
|
trigger: 'item', |
||||
|
formatter: (params) => { |
||||
|
return `
|
||||
|
<div> |
||||
|
${params.marker} |
||||
|
${params.name}: |
||||
|
|
||||
|
${utils.parseFormatNum(params?.value || 0)} |
||||
|
</div> |
||||
|
`
|
||||
|
} |
||||
|
}, |
||||
|
legend: { |
||||
|
top: '5%', |
||||
|
left: 'center', |
||||
|
itemHeight: 6, |
||||
|
itemGap: 20, |
||||
|
textStyle: { |
||||
|
color: '#fff' |
||||
|
} |
||||
|
}, |
||||
|
series: [ |
||||
|
{ |
||||
|
name: '', |
||||
|
type: 'pie', |
||||
|
center: ["50%", "52%"], |
||||
|
radius: ['60%', '70%'], |
||||
|
avoidLabelOverlap: true, |
||||
|
label: { |
||||
|
normal: { |
||||
|
show: false, |
||||
|
position: 'center', |
||||
|
formatter: '{title|{b}}\n\r\n\r{percent|{d}}%', |
||||
|
textStyle: { |
||||
|
color: '#fff' |
||||
|
}, |
||||
|
rich: { |
||||
|
title: { |
||||
|
fontSize: 18 |
||||
|
}, |
||||
|
percent: { |
||||
|
fontSize: 20, |
||||
|
fontWeight: 700 |
||||
|
} |
||||
|
} |
||||
|
}, |
||||
|
emphasis: { |
||||
|
show: true |
||||
|
} |
||||
|
}, |
||||
|
labelLine: { |
||||
|
show: false |
||||
|
}, |
||||
|
data: [ |
||||
|
] |
||||
|
} |
||||
|
] |
||||
|
}, |
||||
|
} |
@ -0,0 +1,11 @@ |
|||||
|
import ajax from "@/config/ajax" |
||||
|
|
||||
|
export default { |
||||
|
getIncomeOverviewData: function(data) { |
||||
|
return ajax({ |
||||
|
url: '/api/dataAnalysis/overview', |
||||
|
type: 'post', |
||||
|
data |
||||
|
}) |
||||
|
} |
||||
|
} |
@ -1,4 +1,6 @@ |
|||||
import ParkingBusinessAly from "./ParkingBusinessAly"; |
import ParkingBusinessAly from "./ParkingBusinessAly"; |
||||
|
import ParkingIncomeAly from "./ParkingIncomeAly"; |
||||
export default { |
export default { |
||||
...ParkingBusinessAly |
|
||||
|
...ParkingBusinessAly, |
||||
|
...ParkingIncomeAly |
||||
}; |
}; |
Write
Preview
Loading…
Cancel
Save
Reference in new issue