edit
This commit is contained in:
		| @ -14,7 +14,7 @@ const alainConfig: AlainConfig = { | |||||||
|   st: { |   st: { | ||||||
|     req: { method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' } }, |     req: { method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' } }, | ||||||
|     res: { reName: { list: 'data.records', total: 'data.total' } }, |     res: { reName: { list: 'data.records', total: 'data.total' } }, | ||||||
|     page: { show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }, |     page: { show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000], toTop: false }, | ||||||
|     modal: { size: 'lg' } |     modal: { size: 'lg' } | ||||||
|   }, |   }, | ||||||
|   sf: { button: { search: '查询' } }, |   sf: { button: { search: '查询' } }, | ||||||
|  | |||||||
| @ -4,8 +4,6 @@ import { Router } from '@angular/router'; | |||||||
| import { STComponent, STColumn, STRequestOptions, STChange } from '@delon/abc/st'; | import { STComponent, STColumn, STRequestOptions, STChange } from '@delon/abc/st'; | ||||||
| import { SFComponent, SFSchema, SFDateWidgetSchema } from '@delon/form'; | import { SFComponent, SFSchema, SFDateWidgetSchema } from '@delon/form'; | ||||||
| import { NzModalService } from 'ng-zorro-antd/modal'; | import { NzModalService } from 'ng-zorro-antd/modal'; | ||||||
| import { AddCollectionInvoiceModalComponent } from 'src/app/routes/ticket-management/components/input-invoice/add-collection-invoice-modal/add-collection-invoice-modal.component'; |  | ||||||
| import { TicketService } from 'src/app/routes/ticket-management/services/ticket.service'; |  | ||||||
| import { FreightAccountService } from '../../services/freight-account.service'; | import { FreightAccountService } from '../../services/freight-account.service'; | ||||||
|  |  | ||||||
| @Component({ | @Component({ | ||||||
|  | |||||||
| @ -8,7 +8,7 @@ | |||||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\index\\index.component.html |  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\index\\index.component.html | ||||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. |  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||||
| --> | --> | ||||||
| <page-header-wrapper title="货源管理" [tab]="tpTab"> | <page-header-wrapper  [tab]="tpTab"> | ||||||
| </page-header-wrapper> | </page-header-wrapper> | ||||||
| <ng-template #tpTab> | <ng-template #tpTab> | ||||||
|   <nz-tabset [(nzSelectedIndex)]="selectedIndex"> |   <nz-tabset [(nzSelectedIndex)]="selectedIndex"> | ||||||
|  | |||||||
| @ -26,6 +26,7 @@ export class AuditAdminComponent implements OnInit { | |||||||
|  |  | ||||||
|   ngOnInit(): void { |   ngOnInit(): void { | ||||||
|     this.loadUserInfo(); |     this.loadUserInfo(); | ||||||
|  |     this.msgSrv.warning('111') | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   loadUserInfo() { |   loadUserInfo() { | ||||||
|  | |||||||
| @ -33,7 +33,7 @@ | |||||||
|   <nz-card> |   <nz-card> | ||||||
|     <!-- 数据列表 --> |     <!-- 数据列表 --> | ||||||
|     <st #st multiSort [data]="service.$api_get_freight_list" [columns]="tabType===1?enterColumns:adminColumns" |     <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> |     </st> | ||||||
|   </nz-card> |   </nz-card> | ||||||
|   <ng-template #content> |   <ng-template #content> | ||||||
|  | |||||||
| @ -37,7 +37,7 @@ | |||||||
|   <!-- [data]="service.$api_get_supplier_page" --> |   <!-- [data]="service.$api_get_supplier_page" --> | ||||||
|  |  | ||||||
|   <st #st [columns]="columns" [data]='service.$api_get_freight_list' [req]="{  process: beforeReq }" |   <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"> |     <ng-template st-row="contacter" let-item let-index="index"> | ||||||
|       {{ item.contacter }}<br>/{{item.mobile}} |       {{ item.contacter }}<br>/{{item.mobile}} | ||||||
|     </ng-template> |     </ng-template> | ||||||
|  | |||||||
| @ -16,7 +16,8 @@ | |||||||
|       <sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf> |       <sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf> | ||||||
|     </div> |     </div> | ||||||
|     <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"> |     <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 nzType="primary" [disabled]="service.http.loading" (click)="st?.load(1)">导出</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()"> |       <button nz-button nzType="link" (click)="expandToggle()"> | ||||||
| @ -37,11 +38,8 @@ | |||||||
|   <!-- 数据列表 --> |   <!-- 数据列表 --> | ||||||
|   <!-- [data]="service.$api_get_supplier_page" --> |   <!-- [data]="service.$api_get_supplier_page" --> | ||||||
|  |  | ||||||
|   <st #st [columns]="columns" [data]='service.$api_get_user_list' |   <st #st [columns]="columns" [data]='service.$api_get_user_list' [req]="{ process: beforeReq }" | ||||||
|     [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }" |     [scroll]="{ x:'1200px',y: '400px' }" [page]="{  }" [loading]="service.http.loading"> | ||||||
|     [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"> |  | ||||||
|     <ng-template st-row="enterpriseName" let-item let-index="index"> |     <ng-template st-row="enterpriseName" let-item let-index="index"> | ||||||
|       <div nz-tooltip [nzTooltipTitle]="item.enterpriseName"> |       <div nz-tooltip [nzTooltipTitle]="item.enterpriseName"> | ||||||
|         <div |         <div | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user