edit
This commit is contained in:
@ -34,6 +34,19 @@
|
||||
<!-- 数据列表 -->
|
||||
<st #st multiSort [data]="service.$api_get_freight_list" [columns]="tabType===1?enterColumns:adminColumns"
|
||||
[req]="{ process: beforeReq }" [page]=" {}" [loading]="service.http.loading" [scroll]="{ x: '1200px' }">
|
||||
<ng-template st-row="approvalStatus" let-item let-index="index">
|
||||
<ng-container [ngSwitch]="item.approvalStatus">
|
||||
<nz-badge *ngSwitchCase="10" nzColor="#108ee9" nzText="待审核"></nz-badge>
|
||||
<nz-badge *ngSwitchCase="15" nzColor="gold" nzText="已撤销"></nz-badge>
|
||||
<nz-badge *ngSwitchCase="20" nzColor="#87d068" nzText="已成功"></nz-badge>
|
||||
<ng-container *ngSwitchCase="30">
|
||||
<nz-badge nzColor="volcano" nzText="已驳回"></nz-badge><br>
|
||||
<label style="color: #ff4d4f;">(驳回原因:{{item.approvalOpinion}})</label>
|
||||
</ng-container>
|
||||
|
||||
<p *ngSwitchDefault></p>
|
||||
</ng-container>
|
||||
</ng-template>
|
||||
</st>
|
||||
</nz-card>
|
||||
<ng-template #content>
|
||||
|
||||
Reference in New Issue
Block a user