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

@ -2,12 +2,12 @@
<div nz-col nzSpan="13">
<div class="mb-sm">
<sf mode="search" [schema]="searchSchema" [button]="null" #sf>
<button nzType="primary" nz-button (click)="search()" [nzLoading]="service.http.loading">搜索</button>
<button nzType="primary" nz-button (click)="search()" [nzLoading]="false">搜索</button>
</sf>
</div>
</div>
</div>
<nz-spin *ngIf="service.http.loading">
<nz-spin *ngIf="false">
</nz-spin>
<div>
<st #st [data]="diverList" [columns]="columns" [req]="{params: reqParams}"></st>

View File

@ -23,7 +23,7 @@
[ui]="ui"
[mode]="'search'"
[disabled]="!sf?.valid"
[loading]="service.http.loading"
[loading]="false"
(formSubmit)="initData(true)"
(formReset)="resetSF()"
></sf>
@ -35,7 +35,7 @@
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
</div>
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="initData(true)">查询</button>
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="false" (click)="initData(true)">查询</button>
<button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }}
@ -56,7 +56,7 @@
[req]="{ method: 'POST', allInBody: true, reName: { pi: '', ps: '' }, params: reqParams }"
[res]="{ reName: { list: 'data', total: 'data.total' } }"
[page]="{ show: true, showSize: true, pageSizes: [20, 50, 100] }"
[loading]="service.http.loading"
[loading]="false"
[data]="tableData"
>
<ng-template st-row="certificationStatus" let-item let-index="index">

View File

@ -44,6 +44,6 @@
<div class="modal-footer">
<button nz-button type="button" (click)="close()">关闭</button>
<button nz-button type="submit" nzType="primary" (click)="verifyVechicleStatus(params)" [disabled]="!selectedRows"
[nzLoading]="service.http.loading">发布并指派给司机</button>
[nzLoading]="false">发布并指派给司机</button>
</div>
</div>

View File

@ -19,7 +19,7 @@
[ui]="ui"
[mode]="'search'"
[disabled]="!sf?.valid"
[loading]="service.http.loading"
[loading]="false"
(formSubmit)="st?.load(1)"
(formReset)="resetSF()"
></sf>

View File

@ -15,7 +15,7 @@
<sf #sf [ui]="ui" [schema]="schema" [button]="'none'"></sf>
</div>
<div nz-col [nzSpan]="6">
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st.load(1)">查询</button>
<button nz-button nzType="primary" [nzLoading]="false" (click)="st.load(1)">查询</button>
<button nz-button (click)="resetSF()">重置</button>
</div>
</div>
@ -26,7 +26,7 @@
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
[res]="{ reName: { list: 'data.records', total: 'data.total' }, process: reqProcess }"
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
[loadingDelay]="500" [loading]="service.http.loading" [widthMode]="{ type: 'strict' }" [scroll]="{ x: '600px' }"
[loadingDelay]="500" [loading]="false" [widthMode]="{ type: 'strict' }" [scroll]="{ x: '600px' }"
style="margin-top: 22px">
<ng-template st-row="userCarLicenseDesensitizationVOList" let-item let-index="index">
<nz-select [(ngModel)]="item.default" (ngModelChange)="carChange($event, item)" style="width: 100%">
@ -44,7 +44,7 @@
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
[loadingDelay]="500" [loading]="service.http.loading" [widthMode]="{ type: 'strict' }" [scroll]="{ x: '600px' }">
[loadingDelay]="500" [loading]="false" [widthMode]="{ type: 'strict' }" [scroll]="{ x: '600px' }">
<ng-template st-row="captain" let-item let-index="index">
<span>{{ item.captainName }}&nbsp;{{ item.captainPhone }}</span> &nbsp;
<a (click)="setCaptain(item, index)">设置</a>

View File

@ -17,7 +17,7 @@
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams, process: reqProcess }"
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
[loading]="service.http.loading"
[loading]="false"
[widthMode]="{ type: 'strict' }"
(change)="change($event)"
>

View File

@ -5,6 +5,6 @@
<div class="modal-footer">
<button nz-button type="button" (click)="close()">取消</button>
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [disabled]="!sf.valid"
[nzLoading]="service.http.loading">确定</button>
[nzLoading]="false">确定</button>
</div>
</sf>

View File

@ -17,7 +17,7 @@
</ng-template>
<div class="modal-footer text-center">
<button nz-button type="button" (click)="close()">取消</button>
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [disabled]="!sf.valid" [nzLoading]="service.http.loading"
<button nz-button type="submit" nzType="primary" (click)="save(sf.value)" [disabled]="!sf.valid" [nzLoading]="false"
>确定</button
>
</div>