This commit is contained in:
Lingzi
2022-03-14 14:09:03 +08:00
parent 8805564acc
commit 98281b6b3a
124 changed files with 417 additions and 355 deletions

View File

@ -7,13 +7,13 @@
[button]="'none'"></sf>
</div>
<div nz-col [nzSpan]="8" nzOffset="1">
<button nz-button nzType="primary" [nzLoading]="service.http.loading"
<button nz-button nzType="primary" [nzLoading]="false"
(click)="loadMemu(selectedPlatform.appId)">查询</button>
<button nz-button (click)="resetSF()">重置</button>
<!-- <button nz-button (click)="delMenu(0)" [nzLoading]="service.http.loading">
<!-- <button nz-button (click)="delMenu(0)" [nzLoading]="false">
清空货主菜单
</button>
<button nz-button (click)="delMenu(1)" [nzLoading]="service.http.loading">
<button nz-button (click)="delMenu(1)" [nzLoading]="false">
清空运营后台菜单
</button> -->
</div>
@ -29,14 +29,14 @@
<!-- <st #st [data]="service.$api_get_all" [columns]="columns" [expand]="expand" expandRowByClick
[req]="{ method: 'POST', reName: { pi: 'pageIndex', ps: 'pageSize' },params:{appId:selectedPlatform?.appId} }"
[res]="{ reName: { list: 'data' } }" [page]="{ show: false }" [loading]="service.http.loading"
[res]="{ reName: { list: 'data' } }" [page]="{ show: false }" [loading]="false"
[scroll]="{ y: '370px' }" (change)="stChange($event)">
<ng-template #expand let-item let-index="index" let-column="column">
{{ item.description }}
</ng-template>
</st> -->
<nz-table #expandTable [nzData]="listOfMapData" nzTableLayout="fixed" nzBordered nzSize="small"
[nzLoading]="service.http.loading">
[nzLoading]="false">
<thead>
<tr>
<!-- <th nzWidth="70px" nzAlign="center">#</th> -->

View File

@ -4,8 +4,8 @@
[compact]="true" [button]="'none'"></sf>
</div>
<div nz-col [nzXl]="4" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
<button nz-button [disabled]="service.http.loading" (click)="resetSF()">重置</button>
<button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)">查询</button>
<button nz-button [disabled]="false" (click)="resetSF()">重置</button>
</div>
</div>
@ -15,7 +15,7 @@
<st #st [data]="service.$api_get_functions_by_id" [columns]="columns" bordered size="small"
[req]="{ method: 'POST', allInBody: true, process: beforeReq }" [res]="{ reName: { list: 'data' } }"
[page]="{ show: false}" [loading]="service.http.loading" class="mt-md">
[page]="{ show: false}" [loading]="false" class="mt-md">
<ng-template st-row="permissionsCode" let-item let-index="index">
<p nz-typography nzCopyable [nzCopyText]="code+'-'+item.permissionsCode" style="margin-bottom: 0;">
{{code}}-{{item.permissionsCode}} </p>

View File

@ -7,13 +7,13 @@
[button]="'none'"></sf>
</div>
<div nz-col [nzSpan]="8" nzOffset="1">
<button nz-button nzType="primary" [nzLoading]="service.http.loading"
<button nz-button nzType="primary" [nzLoading]="false"
(click)="loadMemu(selectedPlatform.appId)">查询</button>
<button nz-button (click)="resetSF()">重置</button>
<!-- <button nz-button (click)="delMenu(0)" [nzLoading]="service.http.loading">
<!-- <button nz-button (click)="delMenu(0)" [nzLoading]="false">
清空货主菜单
</button>
<button nz-button (click)="delMenu(1)" [nzLoading]="service.http.loading">
<button nz-button (click)="delMenu(1)" [nzLoading]="false">
清空运营后台菜单
</button> -->
</div>
@ -31,11 +31,11 @@
<div>
<button nz-button nzType="primary" (click)="menuAction('新增菜单')">新增</button>
<button nz-button nzType="primary" (click)="menuSort()">菜单排序</button>
<!-- <button nz-button nzType="primary" (click)="menuImport(0)" [disabled]="service.http.loading"
<!-- <button nz-button nzType="primary" (click)="menuImport(0)" [disabled]="false"
*ngIf="selectedPlatform.enName==='tms-smc-web'">
导入货主菜单
</button>
<button nz-button nzType="primary" (click)="menuImport(1)" [disabled]="service.http.loading"
<button nz-button nzType="primary" (click)="menuImport(1)" [disabled]="false"
*ngIf="selectedPlatform.enName==='tms-obc-web'">
导入运营后台菜单
</button> -->
@ -45,14 +45,14 @@
<!-- <st #st [data]="service.$api_get_all" [columns]="columns" [expand]="expand" expandRowByClick
[req]="{ method: 'POST', reName: { pi: 'pageIndex', ps: 'pageSize' },params:{appId:selectedPlatform?.appId} }"
[res]="{ reName: { list: 'data' } }" [page]="{ show: false }" [loading]="service.http.loading"
[res]="{ reName: { list: 'data' } }" [page]="{ show: false }" [loading]="false"
[scroll]="{ y: '370px' }" (change)="stChange($event)">
<ng-template #expand let-item let-index="index" let-column="column">
{{ item.description }}
</ng-template>
</st> -->
<nz-table #expandTable [nzData]="listOfMapData" nzTableLayout="fixed" nzBordered nzSize="small"
[nzLoading]="service.http.loading">
[nzLoading]="false">
<thead>
<tr>
<!-- <th nzWidth="70px" nzAlign="center">#</th> -->