|
@@ -315,7 +315,7 @@ export default {
|
|
|
initYearMonth (list, key) {
|
|
initYearMonth (list, key) {
|
|
|
if (list.length > 0) {
|
|
if (list.length > 0) {
|
|
|
list.forEach(sub => {
|
|
list.forEach(sub => {
|
|
|
- let tmp = this.kv(sub.year + 'yearly_' + key, sub.sum)
|
|
|
|
|
|
|
+ let tmp = this.kv(sub.year + '_yearly_' + key, sub.sum)
|
|
|
sub.monthlyData.forEach(res => {
|
|
sub.monthlyData.forEach(res => {
|
|
|
const month = this.kv(res.year + '_' + res.month + key, res.data)
|
|
const month = this.kv(res.year + '_' + res.month + key, res.data)
|
|
|
tmp = Object.assign(tmp, month)
|
|
tmp = Object.assign(tmp, month)
|