fix bug
This commit is contained in:
@ -247,11 +247,11 @@ export class TaxManagementIndividualCollectComponent extends BasicTableComponent
|
||||
uploadSetting() {
|
||||
let params: any;
|
||||
if (this.selectedRows.length === 0) {
|
||||
params ={}
|
||||
params =[]
|
||||
} else{
|
||||
params ={ ids: []}
|
||||
params =[]
|
||||
this.selectedRows.forEach(item => {
|
||||
params.ids.push(item.id);
|
||||
params.push(item.id);
|
||||
});
|
||||
}
|
||||
this.service.request(this.service.$api_get_updateData,params).subscribe((res: any) => {
|
||||
|
||||
@ -383,11 +383,11 @@ export class TaxManagementIndividualDeclareComponent extends BasicTableComponent
|
||||
resetData() {
|
||||
let params: any;
|
||||
if (this.selectedRows.length === 0) {
|
||||
params ={}
|
||||
params =[]
|
||||
} else{
|
||||
params ={ ids: []}
|
||||
params =[]
|
||||
this.selectedRows.forEach(item => {
|
||||
params.ids.push(item.id);
|
||||
params.push(item.id);
|
||||
});
|
||||
}
|
||||
this.service.request(this.service.$api_get_taxDeclaration_updateAll, params).subscribe((res: any) => {
|
||||
|
||||
@ -328,11 +328,11 @@ export class TaxManagementIndividualIncomeComponent extends BasicTableComponent
|
||||
uploadSetting() {
|
||||
let params: any;
|
||||
if (this.selectedRows.length === 0) {
|
||||
params ={}
|
||||
params =[]
|
||||
} else{
|
||||
params ={ ids: []}
|
||||
params =[]
|
||||
this.selectedRows.forEach(item => {
|
||||
params.ids.push(item.id);
|
||||
params.push(item.id);
|
||||
});
|
||||
}
|
||||
this.service.request(this.service.$api_update_individual_income_page, params).subscribe((res: any) => {
|
||||
|
||||
Reference in New Issue
Block a user