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

@ -4,8 +4,8 @@
* @Author : Shiming
* @Date : 2022-02-24 20:09:49
* @LastEditors : Shiming
* @LastEditTime : 2022-02-24 20:14:21
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\list\\particulars.component.html
* @LastEditTime : 2022-04-27 09:41:27
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\particulars\\particulars.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
<page-header-wrapper [title]="''"> </page-header-wrapper>
@ -43,8 +43,17 @@
</div>
</nz-card>
<nz-card>
<nz-card class="table-box">
<div class="tab_header">
<nz-tabset (nzSelectedIndexChange)="selectChange($event)" >
<nz-tab [nzTitle]="'全部'"></nz-tab>
<nz-tab [nzTitle]="'付款单'"></nz-tab>
<nz-tab [nzTitle]="'退款单'"></nz-tab>
</nz-tabset>
</div>
<!-- 数据列表 -->
<div>
<st
#st
[bordered]="true"
@ -57,4 +66,6 @@
[loading]="service.http.loading"
>
</st>
</div>
</nz-card>

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 = [
{

View File

@ -29,6 +29,10 @@ export class RebateManagementService extends BaseService {
public $api_get_getIncomeByBillpage = '/api/bpc/partnerIncomeHead/getIncomeByBillpage';
// 获取返佣模板信息
public $api_get_getPartnerRebateConfigInfo = '/api/mdc/rebateConfig/getPartnerRebateConfigInfo';
// 合伙人管理/返佣管理/返佣明细
public $api_get_searchPageList= '/api/fcc/billPaymentApplicationOBC/list/searchPageList';
// 合伙人管理/返佣管理/退款返佣明细
public $api_get_searchRefundPageList= '/api/fcc/billPaymentApplicationOBC/list/searchRefundPageList';
  // 查询合伙人信息-分页
public $api_get_partner_page = '/api/mdc/partner/list/page';
constructor(public injector: Injector) {