fix bug
This commit is contained in:
@ -1,3 +1,13 @@
|
|||||||
|
<!--
|
||||||
|
* @Description :
|
||||||
|
* @Version : 1.0
|
||||||
|
* @Author : Shiming
|
||||||
|
* @Date : 2022-01-12 10:52:50
|
||||||
|
* @LastEditors : Shiming
|
||||||
|
* @LastEditTime : 2022-02-15 13:35:46
|
||||||
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\usercenter\\components\\freight\\enterprise-audit\\enterprise-audit.component.html
|
||||||
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
|
-->
|
||||||
<page-header-wrapper [title]="'企业审核列表'" [content]="content">
|
<page-header-wrapper [title]="'企业审核列表'" [content]="content">
|
||||||
<nz-card class="mb-md">
|
<nz-card class="mb-md">
|
||||||
<!-- 搜索表单 -->
|
<!-- 搜索表单 -->
|
||||||
@ -8,8 +18,7 @@
|
|||||||
<div nz-col [nzXl]="_$expand ? 24 : 8" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"
|
<div nz-col [nzXl]="_$expand ? 24 : 8" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"
|
||||||
[class.expend-options]="_$expand">
|
[class.expend-options]="_$expand">
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)" acl [acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-list']">查询</button>
|
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)" acl [acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-list']">查询</button>
|
||||||
<button *ngIf="tabType === 1" nz-button nzType="primary" [disabled]="service.http.loading"
|
<button *ngIf="tabType == 1" nz-button nzType="primary" [disabled]="service.http.loading" (click)="exportList()" acl [acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-export']">导出</button>
|
||||||
(click)="exportList()" acl [acl-ability]="['USERCENTER-FREIGHT-ENTERPRISE-export']">导出</button>
|
|
||||||
<button nz-button (click)="resetSF()" [disabled]="service.http.loading">重置</button>
|
<button nz-button (click)="resetSF()" [disabled]="service.http.loading">重置</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle(!_$expand)">
|
<button nz-button nzType="link" (click)="expandToggle(!_$expand)">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
|
|||||||
@ -213,7 +213,7 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
|||||||
text: '审核',
|
text: '审核',
|
||||||
click: _record => this.ViewAdimin(_record),
|
click: _record => this.ViewAdimin(_record),
|
||||||
iif: (item: any) => item.approvalStatus === 10,
|
iif: (item: any) => item.approvalStatus === 10,
|
||||||
// acl: { ability: ['USERCENTER-FREIGHT-ENTERPRISE-view'] },
|
acl: { ability: ['USERCENTER-FREIGHT-LIST-audit'] },
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@ -173,6 +173,8 @@ export class FreightComponentsListComponent implements OnInit {
|
|||||||
// { title: '', type: 'checkbox', className: 'text-center' },
|
// { title: '', type: 'checkbox', className: 'text-center' },
|
||||||
{ title: '企业名称', className: 'text-center', index: 'enterpriseName' },
|
{ title: '企业名称', className: 'text-center', index: 'enterpriseName' },
|
||||||
{ title: '管理员', className: 'text-center', render: 'contacter' },
|
{ title: '管理员', className: 'text-center', render: 'contacter' },
|
||||||
|
{ title: '审核人', className: 'text-center', index: 'approvalUserName' },
|
||||||
|
|
||||||
{ title: '网络货运人', className: 'text-center', index: 'netTranName' },
|
{ title: '网络货运人', className: 'text-center', index: 'netTranName' },
|
||||||
{ title: '常用服务', className: 'text-center', index: 'oftenUsedServices', type: 'enum', enum: { 10: '整车发货', 20: '大宗发货' } },
|
{ title: '常用服务', className: 'text-center', index: 'oftenUsedServices', type: 'enum', enum: { 10: '整车发货', 20: '大宗发货' } },
|
||||||
{ title: '推广业务员', className: 'text-center', render: 'promotersTelephone' },
|
{ title: '推广业务员', className: 'text-center', render: 'promotersTelephone' },
|
||||||
|
|||||||
Reference in New Issue
Block a user