parent
151331e36d
commit
1d1cf99df7
|
@ -120,10 +120,12 @@ export default class Ledger extends base {
|
|||
|
||||
ledgerInfo.color = []
|
||||
ledgerInfo.month_data.group_by.forEach((item) => {
|
||||
if (this.e.isSr)
|
||||
if (this.e.isSr){
|
||||
item.color = this.color[this.action[item.action]]
|
||||
else
|
||||
item.action_name = item.action_name.slice(0, 4)
|
||||
} else {
|
||||
item.color = this.color[item.action_id]
|
||||
}
|
||||
ledgerInfo.color.push(item.color)
|
||||
})
|
||||
|
||||
|
@ -412,7 +414,7 @@ export default class Ledger extends base {
|
|||
if (this.e.isSr)
|
||||
groupBy.forEach((item) => {
|
||||
item.action_id = this.action[item.action]
|
||||
item.action = item.action_name
|
||||
item.action = item.action_name.slice(0, 4)
|
||||
})
|
||||
|
||||
let pieData = {}
|
||||
|
|
|
@ -260,7 +260,7 @@ img {
|
|||
width: 440px;
|
||||
height: 440px;
|
||||
background: url(../../img/other/chart.png) no-repeat 50% / cover;
|
||||
margin-left: 60px;
|
||||
margin-left: 70px;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
|
@ -284,7 +284,7 @@ img {
|
|||
}
|
||||
|
||||
.tooltip li .action {
|
||||
width: 300px;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.tooltip li em {
|
||||
|
|
Loading…
Reference in New Issue