This commit is contained in:
wangshiming
2022-04-11 11:29:06 +08:00
parent aebb7c28bd
commit 4a2217b7ed
5 changed files with 59 additions and 33 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-01-12 10:52:50
* @LastEditors : Shiming
* @LastEditTime : 2022-03-30 13:44:53
* @LastEditTime : 2022-04-11 11:28:18
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\complaint\\complaint.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@ -12,7 +12,7 @@
<!-- 搜索表单 -->
<page-header-wrapper title="" [tab]="tpTab">
<ng-template #tpTab>
<nz-tabset [nzSelectedIndex]="selectedIndex" (nzSelectedIndexChange)="selectChange($event)">
<nz-tabset [nzSelectedIndex]="selectedIndex">
<nz-tab *ngFor="let tab of mainTabs" [nzTitle]="tab.name" (nzSelect)="selectMainTab(tab)">
</nz-tab>
</nz-tabset>

View File

@ -269,9 +269,8 @@ export class OrderManagementComplaintComponent implements OnInit {
* 切换投诉与被投诉tab
*/
selectMainTab(e: any) {
console.log(e);
console.log(this.selectedIndex);
this.selectedMainTabStatus = e?.status;
this.resourceStatus = '';
this.initST();
this.initSF();
setTimeout(() => {