This commit is contained in:
wangshiming
2022-04-14 20:04:00 +08:00
parent 3a30575fd5
commit 93b3e54035
2 changed files with 39 additions and 5 deletions

View File

@ -53,9 +53,12 @@ export class TaxManagementIndividualDeclareComponent implements OnInit {
* 查询参数
*/
get reqParams() {
const params = Object.assign({}, this.sf?.value || {}, {
declareStatus: this.selectedIndex
});
console.log();
const params = Object.assign({}, this.sf?.value || {});
if(this.selectedIndex) {
params.declareStatus = this.selectedIndex
}
delete params._$expand;
return { ...params };
}