edit
This commit is contained in:
@ -1,14 +1,47 @@
|
||||
<page-header-wrapper [title]="''"></page-header-wrapper>
|
||||
<page-header-wrapper [title]="'菜单管理'"></page-header-wrapper>
|
||||
|
||||
<button nz-button (click)="menuImport(0)" [nzLoading]="service.http.loading">
|
||||
导入货主菜单
|
||||
</button>
|
||||
<button nz-button (click)="menuImport(1)" [nzLoading]="service.http.loading">
|
||||
导入运营后台菜单
|
||||
</button>
|
||||
<button nz-button (click)="delMenu(0)" [nzLoading]="service.http.loading">
|
||||
清空货主菜单
|
||||
</button>
|
||||
<button nz-button (click)="delMenu(1)" [nzLoading]="service.http.loading">
|
||||
清空运营后台菜单
|
||||
</button>
|
||||
<nz-card class="search-box">
|
||||
<div nz-row nzGutter="8">
|
||||
<div nz-col [nzSpan]="6">
|
||||
<sf #sf [schema]="searchSchema" [ui]="{ '*': { spanLabelFixed: 90,grid: { span: 24 } }}" [compact]="true"
|
||||
[button]="'none'"></sf>
|
||||
</div>
|
||||
<div nz-col [nzSpan]="8" nzOffset="1">
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||
<button nz-button (click)="resetSF()">重置</button>
|
||||
<button nz-button (click)="menuImport(0)" [nzLoading]="service.http.loading">
|
||||
导入货主菜单
|
||||
</button>
|
||||
<button nz-button (click)="menuImport(1)" [nzLoading]="service.http.loading">
|
||||
导入运营后台菜单
|
||||
</button>
|
||||
<!-- <button nz-button (click)="delMenu(0)" [nzLoading]="service.http.loading">
|
||||
清空货主菜单
|
||||
</button>
|
||||
<button nz-button (click)="delMenu(1)" [nzLoading]="service.http.loading">
|
||||
清空运营后台菜单
|
||||
</button> -->
|
||||
</div>
|
||||
</div>
|
||||
</nz-card>
|
||||
|
||||
<nz-card class="content-box">
|
||||
|
||||
<nz-tabset [nzTabBarExtraContent]="extraTemplate">
|
||||
<nz-tab nzTitle="货主菜单" (nzClick)="changeMemu('1')"></nz-tab>
|
||||
<nz-tab nzTitle="运营后台菜单" (nzClick)="changeMemu('2')"></nz-tab>
|
||||
</nz-tabset>
|
||||
<ng-template #extraTemplate>
|
||||
<div class="d-flex align-items-center">
|
||||
<div>
|
||||
<button nz-button nzType="primary" (click)="roleAction()">新增</button>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
||||
<st #st [data]="service.$api_get_all" [columns]="columns"
|
||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' },process: beforeReq }"
|
||||
[res]="{ reName: { list: 'data' } }"
|
||||
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
|
||||
[loading]="service.http.loading" [scroll]="{ y: '370px' }" (change)="stChange($event)"></st>
|
||||
</nz-card>
|
||||
Reference in New Issue
Block a user