This commit is contained in:
wangshiming
2022-04-27 10:15:13 +08:00
parent 5e593b9ec7
commit 08953fa4aa
7 changed files with 56 additions and 25 deletions

View File

@ -20,6 +20,11 @@ export class ParterRebateManageMentParticularsComponent implements OnInit {
sf!: SFComponent;
spuStatus = '1';
_$expand = false;
tabs = {
payQuantity: 0,
cancelQuantity: 0,
};
resourceStatus: any;
data = [{ name1: 1111 }];
constructor(
public router: Router,
@ -46,8 +51,13 @@ export class ParterRebateManageMentParticularsComponent implements OnInit {
*/
get reqParams() {
const params: any = Object.assign({}, this.sf?.value || {});
const a: any = {};
if (this.resourceStatus) {
a.representationsStatus = this.resourceStatus;
}
delete params._$expand;
return {
...a,
...params,
deadlineTime: {
start: this.sf?.value?.deadlineTime?.[0] || '',
@ -120,7 +130,13 @@ export class ParterRebateManageMentParticularsComponent implements OnInit {
}
};
}
selectChange(e: number) {
this.resourceStatus = e;
this.initST();
setTimeout(() => {
this.st.load();
}, 500);
}
initST() {
this.columns = [
{