批量审核

This commit is contained in:
wangshiming
2022-01-17 19:31:03 +08:00
parent 2246e31d68
commit 47a0cecb9a
2 changed files with 9 additions and 11 deletions

View File

@ -81,10 +81,16 @@ tabs = {
if(this.resourceStatus) { if(this.resourceStatus) {
a.billStatus = this.resourceStatus; a.billStatus = this.resourceStatus;
} }
const params: any = Object.assign({}, this.sf?.value || {});
delete params._$expand;
return { return {
...a, ...a,
...this.sf?.value, ...params,
}; createTime: {
start: this.sf?.value?.createTime?.[0] || '',
end: this.sf?.value?.createTime?.[1] || '',
},
};
} }
get selectedRows() { get selectedRows() {
return this.st?.list.filter((item) => item.checked) || []; return this.st?.list.filter((item) => item.checked) || [];

View File

@ -102,14 +102,6 @@ resourceStatus: any;
end: this.sf?.value?.createTime?.[1] || '', end: this.sf?.value?.createTime?.[1] || '',
}, },
}; };
// const a:any = {};
// if(this.resourceStatus) {
// a.billStatus = this.resourceStatus;
// }
// return {
// ...a,
// ...this.sf?.value,
// };
} }
get selectedRows() { get selectedRows() {
return this.st?.list.filter((item) => item.checked) || []; return this.st?.list.filter((item) => item.checked) || [];