fix bug
This commit is contained in:
@ -59,6 +59,7 @@ export class DatatableFinancetableComponent implements OnInit {
|
|||||||
} else {
|
} else {
|
||||||
this.type = 4
|
this.type = 4
|
||||||
}
|
}
|
||||||
|
|
||||||
let params: any = {
|
let params: any = {
|
||||||
time: this.time,
|
time: this.time,
|
||||||
type: this.type
|
type: this.type
|
||||||
@ -76,11 +77,11 @@ export class DatatableFinancetableComponent implements OnInit {
|
|||||||
|
|
||||||
initPillarData(){
|
initPillarData(){
|
||||||
let type = 1
|
let type = 1
|
||||||
if(this.mode === 'year') {
|
if (this.modeNext === 'year') {
|
||||||
type = 1
|
this.type = 1
|
||||||
} else if(this.mode === 'month') {
|
} else if (this.modeNext === 'month') {
|
||||||
type = 2
|
this.type = 2
|
||||||
}
|
}
|
||||||
const params: any = {
|
const params: any = {
|
||||||
time: this.timeNext,
|
time: this.timeNext,
|
||||||
type,
|
type,
|
||||||
|
|||||||
Reference in New Issue
Block a user