edit
This commit is contained in:
@ -26,6 +26,7 @@ export class AuditAdminComponent implements OnInit {
|
||||
|
||||
ngOnInit(): void {
|
||||
this.loadUserInfo();
|
||||
this.msgSrv.warning('111')
|
||||
}
|
||||
|
||||
loadUserInfo() {
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
<nz-card>
|
||||
<!-- 数据列表 -->
|
||||
<st #st multiSort [data]="service.$api_get_freight_list" [columns]="tabType===1?enterColumns:adminColumns"
|
||||
[req]="{ process: beforeReq }" [loading]="service.http.loading" [scroll]="{ x: '1200px' }">
|
||||
[req]="{ process: beforeReq }" [page]=" {}" [loading]="service.http.loading" [scroll]="{ x: '1200px' }">
|
||||
</st>
|
||||
</nz-card>
|
||||
<ng-template #content>
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
<!-- [data]="service.$api_get_supplier_page" -->
|
||||
|
||||
<st #st [columns]="columns" [data]='service.$api_get_freight_list' [req]="{ process: beforeReq }"
|
||||
[res]="{ process: dataProcess }" [scroll]="{ x: '1200px' }" [loading]="loadingList">
|
||||
[res]="{ process: dataProcess }" [scroll]="{ x: '1200px' }" [page]=" {}" [loading]="loadingList">
|
||||
<ng-template st-row="contacter" let-item let-index="index">
|
||||
{{ item.contacter }}<br>/{{item.mobile}}
|
||||
</ng-template>
|
||||
|
||||
@ -16,7 +16,8 @@
|
||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||
</div>
|
||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)" acl [acl-ability]="['USERCENTER-FREIGHT-USER-list']">查询</button>
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)" acl
|
||||
[acl-ability]="['USERCENTER-FREIGHT-USER-list']">查询</button>
|
||||
<button nz-button nzType="primary" [disabled]="service.http.loading" (click)="st?.load(1)">导出</button>
|
||||
<button nz-button (click)="resetSF()" [disabled]="service.http.loading">重置</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
@ -37,11 +38,8 @@
|
||||
<!-- 数据列表 -->
|
||||
<!-- [data]="service.$api_get_supplier_page" -->
|
||||
|
||||
<st #st [columns]="columns" [data]='service.$api_get_user_list'
|
||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
|
||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }" [scroll]="{ x:'1200px',y: '400px' }"
|
||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||
[loading]="service.http.loading">
|
||||
<st #st [columns]="columns" [data]='service.$api_get_user_list' [req]="{ process: beforeReq }"
|
||||
[scroll]="{ x:'1200px',y: '400px' }" [page]="{ }" [loading]="service.http.loading">
|
||||
<ng-template st-row="enterpriseName" let-item let-index="index">
|
||||
<div nz-tooltip [nzTooltipTitle]="item.enterpriseName">
|
||||
<div
|
||||
@ -51,7 +49,7 @@
|
||||
</div>
|
||||
</ng-template>
|
||||
<ng-template st-row="promotersTelephone" let-item let-index="index">
|
||||
<a (click)="addPromoter(item)" acl [acl-ability]="['USERCENTER-FREIGHT-USER-promoter']">
|
||||
<a (click)="addPromoter(item)" acl [acl-ability]="['USERCENTER-FREIGHT-USER-promoter']">
|
||||
{{ item.promotersTelephone || '添加' }}
|
||||
</a>
|
||||
</ng-template>
|
||||
|
||||
Reference in New Issue
Block a user