This commit is contained in:
Lingzi
2022-04-02 16:37:39 +08:00
parent ab9b88046d
commit d67ba84af0
39 changed files with 61 additions and 31 deletions

View File

@ -41,7 +41,7 @@
nz-button nz-button
nzType="primary" nzType="primary"
[disabled]="!sf.valid" [disabled]="!sf.valid"
[nzLoading]="service.http.loading" [nzLoading]="isLoading && st.loading"
(click)="st?.load(1)" (click)="st?.load(1)"
acl acl
[acl-ability]="['CONTRACT-INDEX-listFrame']" [acl-ability]="['CONTRACT-INDEX-listFrame']"
@ -75,7 +75,7 @@
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }" [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
[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] }"
[loading]="false" [loading]="service.http.loading"
[scroll]="{ x: '1200px', y: '370px' }" [scroll]="{ x: '1200px', y: '370px' }"
(change)="stChange($event)" (change)="stChange($event)"
> >

View File

@ -26,6 +26,7 @@ export class ContractManagementFrameComponent implements OnInit {
ui: SFUISchema = {}; ui: SFUISchema = {};
_$expand = false; _$expand = false;
selectedRows: any[] = []; selectedRows: any[] = [];
isLoading: boolean = false;
constructor( constructor(
public service: ContractManagementService, public service: ContractManagementService,
private nzModalService: NzModalService, private nzModalService: NzModalService,
@ -293,6 +294,7 @@ export class ContractManagementFrameComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true;
} }
/** /**

View File

@ -29,7 +29,7 @@
</sf> </sf>
</div> </div>
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
(click)="st?.load(1)" acl [acl-ability]="['CONTRACT-INDEX-searchDetail']">查询</button> (click)="st?.load(1)" acl [acl-ability]="['CONTRACT-INDEX-searchDetail']">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">

View File

@ -25,6 +25,7 @@ export class ContractManagementContractListComponent implements OnInit {
columns: STColumn[] = []; columns: STColumn[] = [];
ui: SFUISchema = {}; ui: SFUISchema = {};
_$expand = false; _$expand = false;
isLoading: boolean = false;
/** /**
* 查询参数 * 查询参数
*/ */
@ -235,6 +236,7 @@ export class ContractManagementContractListComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**
* 伸缩查询条件 * 伸缩查询条件

View File

@ -32,7 +32,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="st?.load(1)" acl [acl-ability]="['CONTRACT-POLICY-search']">查询</button> <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="st?.load(1)" acl [acl-ability]="['CONTRACT-POLICY-search']">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }} {{ !_$expand ? '展开' : '收起' }}

View File

@ -26,6 +26,7 @@ export class ContractManagementPolicyComponent implements OnInit {
selectedRows: any[] = []; selectedRows: any[] = [];
paramValue = ''; paramValue = '';
isLoading: boolean = false;
constructor(public service: ContractManagementService, private modal: NzModalService, private router: Router) {} constructor(public service: ContractManagementService, private modal: NzModalService, private router: Router) {}
/** /**
@ -185,6 +186,7 @@ export class ContractManagementPolicyComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**

View File

@ -9,7 +9,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="search()">查询</button> <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<!-- <button nz-button (click)="export()">导出</button> --> <!-- <button nz-button (click)="export()">导出</button> -->
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">

View File

@ -44,6 +44,7 @@ export class DatatableDriverComponent implements OnInit {
{ title: '已收运费金额', index: 'wbGetAmount', className: 'text-right', width: '100px', type: 'widget', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.wbGetAmount }) } }, { title: '已收运费金额', index: 'wbGetAmount', className: 'text-right', width: '100px', type: 'widget', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.wbGetAmount }) } },
{ title: '待收运费金额', index: 'wbWaitAmount', className: 'text-right', width: '100px', type: 'widget', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.wbWaitAmount }) } }, { title: '待收运费金额', index: 'wbWaitAmount', className: 'text-right', width: '100px', type: 'widget', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.wbWaitAmount }) } },
]; ];
isLoading: boolean = false;
/** /**
* 查询参数 * 查询参数
*/ */
@ -158,5 +159,6 @@ export class DatatableDriverComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
} }

View File

@ -9,7 +9,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="search()">查询</button> <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<!-- <button nz-button (click)="export()">导出</button> --> <!-- <button nz-button (click)="export()">导出</button> -->
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">

View File

@ -24,6 +24,7 @@ export class DatatableOwnerComponent implements OnInit {
today = new Date(); today = new Date();
ui: SFUISchema = {}; ui: SFUISchema = {};
schema: SFSchema = {}; schema: SFSchema = {};
isLoading: boolean = false;
columns: STColumn[] = [ columns: STColumn[] = [
{ title: '货主名称', index: 'enterpriseName', className: 'text-center', width: '200px' }, { title: '货主名称', index: 'enterpriseName', className: 'text-center', width: '200px' },
@ -181,5 +182,6 @@ export class DatatableOwnerComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
} }

View File

@ -5,7 +5,7 @@
<!-- 查询字段小于或等于3个时不显示伸缩按钮 --> <!-- 查询字段小于或等于3个时不显示伸缩按钮 -->
<div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4"> <div nz-col nzSpan="24" *ngIf="queryFieldCount <= 4">
<sf #sf mode="search" [schema]="schema" [button]="'none'"> <sf #sf mode="search" [schema]="schema" [button]="'none'">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
(click)="st?.load(1)" acl [acl-ability]="['companyStaff-search']">查询</button> (click)="st?.load(1)" acl [acl-ability]="['companyStaff-search']">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
</sf> </sf>
@ -17,7 +17,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
(click)="st?.load(1)" acl [acl-ability]="['companyStaff-search']">查询</button> (click)="st?.load(1)" acl [acl-ability]="['companyStaff-search']">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">

View File

@ -18,6 +18,7 @@ export class DatatablePartnertableComponent implements OnInit {
schema!: SFSchema; schema!: SFSchema;
phone = ''; phone = '';
columns!: STColumn[]; columns!: STColumn[];
isLoading: boolean = false;
constructor( constructor(
public service: DataService, public service: DataService,
@ -62,6 +63,7 @@ export class DatatablePartnertableComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**
* 程序初始化入口 * 程序初始化入口

View File

@ -7,7 +7,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="search()" acl <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()" acl
[acl-ability]="['RiskOrder-Search']">查询</button> [acl-ability]="['RiskOrder-Search']">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button (click)="resetSF()">导出</button> <button nz-button (click)="resetSF()">导出</button>

View File

@ -32,6 +32,7 @@ export class DatatableFundReportingComponent implements OnInit {
selectedIndex = '1'; //选择的项目 selectedIndex = '1'; //选择的项目
serviceTel = ''; serviceTel = '';
selectedRows: any[] = []; selectedRows: any[] = [];
isLoading: boolean = false;
constructor( constructor(
public service: ReportingService, public service: ReportingService,
private router: Router, private router: Router,
@ -80,6 +81,7 @@ export class DatatableFundReportingComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**
* 程序初始化入口 * 程序初始化入口

View File

@ -7,7 +7,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="search()" acl <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()" acl
[acl-ability]="['RiskOrder-Search']">查询</button> [acl-ability]="['RiskOrder-Search']">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button (click)="resetSF()">导出</button> <button nz-button (click)="resetSF()">导出</button>

View File

@ -30,6 +30,7 @@ export class DatatableOrderReportingComponent implements OnInit {
]; ];
selectedIndex = ''; //选择的项目 selectedIndex = ''; //选择的项目
serviceTel = ''; serviceTel = '';
isLoading: boolean = false;
constructor( constructor(
public service: ReportingService, public service: ReportingService,
private router: Router, private router: Router,
@ -78,6 +79,7 @@ export class DatatableOrderReportingComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**
* 程序初始化入口 * 程序初始化入口

View File

@ -25,7 +25,7 @@
<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 [nzSpan]="24" style="display: flex; justify-content: flex-end;"> <div nz-col [nzSpan]="24" style="display: flex; justify-content: flex-end;">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
(click)="st?.load(1)" acl [acl-ability]="['ORDER-COMPLAINT-search']">查询</button> (click)="st?.load(1)" acl [acl-ability]="['ORDER-COMPLAINT-search']">查询</button>
<button nz-button nzType="primary" acl [acl-ability]="['ORDER-COMPLAINT-export']" <button nz-button nzType="primary" acl [acl-ability]="['ORDER-COMPLAINT-export']"
>导出</button> >导出</button>

View File

@ -29,6 +29,7 @@ export class OrderManagementComplaintComponent implements OnInit {
@ViewChild('sfView', { static: false }) sfView!: SFComponent; @ViewChild('sfView', { static: false }) sfView!: SFComponent;
columns: STColumn[] = []; columns: STColumn[] = [];
selectedIndex: number = 0; selectedIndex: number = 0;
isLoading: boolean = false;
mainTabs = [ mainTabs = [
{ name: '司机投诉', status: '2' }, { name: '司机投诉', status: '2' },
{ name: '货主投诉', status: '1' }, { name: '货主投诉', status: '1' },
@ -253,6 +254,7 @@ export class OrderManagementComplaintComponent implements OnInit {
*/ */
resetSF(): void { resetSF(): void {
this.sf.reset(); this.sf.reset();
this.isLoading = true
} }
selectChange(e: number) { selectChange(e: number) {
this.resourceStatus = e; this.resourceStatus = e;

View File

@ -14,7 +14,7 @@
<sf #sf [schema]="schema" [ui]="ui" [button]="'none'"></sf> <sf #sf [schema]="schema" [ui]="ui" [button]="'none'"></sf>
</div> </div>
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="st.load()">查询</button> <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="st.load()">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }} {{ !_$expand ? '展开' : '收起' }}

View File

@ -29,7 +29,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
(click)="st?.load(1)">查询</button> (click)="st?.load(1)">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button (click)="export()" nzType="primary" nzGhost>导出</button> <button nz-button (click)="export()" nzType="primary" nzGhost>导出</button>

View File

@ -24,6 +24,7 @@ export class PartnerPartnerOrderDetailComponent implements OnInit {
@ViewChild('sf') private readonly sf!: SFComponent; @ViewChild('sf') private readonly sf!: SFComponent;
columns: STColumn[] = []; columns: STColumn[] = [];
_$expand = false; _$expand = false;
isLoading: boolean = false;
constructor(public service: BussinessStatisticsService) { constructor(public service: BussinessStatisticsService) {
@ -41,9 +42,7 @@ export class PartnerPartnerOrderDetailComponent implements OnInit {
resetSF() { resetSF() {
this._$expand = false; this._$expand = false;
this.sf.reset(); this.sf.reset();
setTimeout(() => { this.isLoading = true
this.st.reset();
})
} }
/** /**
* 伸缩查询条件 * 伸缩查询条件

View File

@ -1,6 +1,6 @@
<nz-card> <nz-card>
<sf mode="search" [schema]="schema" [ui]="ui" [button]="'none'" (formSubmit)="st.load(1)" (formReset)="resetSF()" #sf> <sf mode="search" [schema]="schema" [ui]="ui" [button]="'none'" (formSubmit)="st.load(1)" (formReset)="resetSF()" #sf>
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
(click)="st?.load(1)">查询</button> (click)="st?.load(1)">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button (click)="export()" nzType="primary" nzGhost>导出</button> <button nz-button (click)="export()" nzType="primary" nzGhost>导出</button>

View File

@ -15,6 +15,7 @@ export class PartnerPartnerStatisticsComponent implements OnInit {
@ViewChild('st') private readonly st!: STComponent; @ViewChild('st') private readonly st!: STComponent;
@ViewChild('sf') private readonly sf!: SFComponent; @ViewChild('sf') private readonly sf!: SFComponent;
columns: STColumn[] = []; columns: STColumn[] = [];
isLoading: boolean = false;
constructor(public service: BussinessStatisticsService) { } constructor(public service: BussinessStatisticsService) { }
/** /**
@ -85,9 +86,7 @@ export class PartnerPartnerStatisticsComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
setTimeout(() => { this.isLoading = true
this.st.reset();
})
} }
export() { export() {

View File

@ -1,6 +1,6 @@
<nz-card> <nz-card>
<sf mode="search" [schema]="schema" [button]="'none'" #sf> <sf mode="search" [schema]="schema" [button]="'none'" #sf>
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading"
(click)="st?.load(1)">查询</button> (click)="st?.load(1)">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button (click)="export()" nzType="primary" nzGhost>导出</button> <button nz-button (click)="export()" nzType="primary" nzGhost>导出</button>

View File

@ -15,6 +15,7 @@ export class PartnerSaleStatisticsComponent implements OnInit {
@ViewChild('sf') private readonly sf!: SFComponent; @ViewChild('sf') private readonly sf!: SFComponent;
columns: STColumn[] = []; columns: STColumn[] = [];
ui!: SFUISchema; ui!: SFUISchema;
isLoading: boolean = false;
constructor(public service: BussinessStatisticsService) { } constructor(public service: BussinessStatisticsService) { }
@ -72,8 +73,6 @@ export class PartnerSaleStatisticsComponent implements OnInit {
} }
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
setTimeout(() => { this.isLoading = true
this.st.reset();
})
} }
} }

View File

@ -14,7 +14,7 @@
<sf #sf [schema]="schema" [ui]="ui" [button]="'none'"></sf> <sf #sf [schema]="schema" [ui]="ui" [button]="'none'"></sf>
</div> </div>
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="st.load()">查询</button> <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="st.load()">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }} {{ !_$expand ? '展开' : '收起' }}

View File

@ -23,6 +23,7 @@ export class BannerComponentsListComponent implements OnInit {
appName: '', appName: '',
appId: '' appId: ''
}; };
isLoading: boolean = false;
@ViewChild('st', { static: false }) st!: STComponent; @ViewChild('st', { static: false }) st!: STComponent;
@ViewChild('sf', { static: false }) sf!: SFComponent; @ViewChild('sf', { static: false }) sf!: SFComponent;
@ -212,6 +213,7 @@ export class BannerComponentsListComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**

View File

@ -14,7 +14,7 @@
<sf #sf [schema]="schema" [ui]="ui" [button]="'none'"></sf> <sf #sf [schema]="schema" [ui]="ui" [button]="'none'"></sf>
</div> </div>
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="st.load()">查询</button> <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="st.load()">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }} {{ !_$expand ? '展开' : '收起' }}

View File

@ -23,6 +23,7 @@ export class ScrollImgComponentsListComponent implements OnInit {
appName: '', appName: '',
appId: '' appId: ''
}; };
isLoading: boolean = false;
@ViewChild('st', { static: false }) st!: STComponent; @ViewChild('st', { static: false }) st!: STComponent;
@ViewChild('sf', { static: false }) sf!: SFComponent; @ViewChild('sf', { static: false }) sf!: SFComponent;
@ -256,6 +257,7 @@ export class ScrollImgComponentsListComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**

View File

@ -35,7 +35,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <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]="isLoading && st.loading" (click)="initData(true)">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }} {{ !_$expand ? '展开' : '收起' }}

View File

@ -24,6 +24,7 @@ export class CarAddmodalComponent implements OnInit {
tableData: any = []; tableData: any = [];
companyData: any = {}; companyData: any = {};
flag = false flag = false
isLoading: boolean = false;
constructor( constructor(
private modal: NzModalRef, private modal: NzModalRef,
private eaCacheSrv: EACacheService, private eaCacheSrv: EACacheService,
@ -68,6 +69,7 @@ export class CarAddmodalComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**
* 程序初始化入口 * 程序初始化入口

View File

@ -33,7 +33,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button> <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="st?.load(1)">查询</button>
<button nz-button nzType="primary">导出</button> <button nz-button nzType="primary">导出</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">

View File

@ -55,6 +55,7 @@ export class NetworkFreightComponent implements OnInit {
isVisibleTicket = false; isVisibleTicket = false;
edit = false; edit = false;
editId = false; editId = false;
isLoading: boolean = false;
tabs: any[] = [{ name: '开票设置' }, { name: '税务设置' }, { name: 'NC设置' }]; tabs: any[] = [{ name: '开票设置' }, { name: '税务设置' }, { name: 'NC设置' }];
columns: STColumn[] = [ columns: STColumn[] = [
@ -591,6 +592,7 @@ export class NetworkFreightComponent implements OnInit {
*/ */
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this.isLoading = false
} }
handleCancel() { handleCancel() {
this.isVisible = false; this.isVisible = false;

View File

@ -17,7 +17,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="search()" acl <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()" acl
[acl-ability]="['RiskOrder-Search']">查询</button> [acl-ability]="['RiskOrder-Search']">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button (click)="resetSF()">导出</button> <button nz-button (click)="resetSF()">导出</button>

View File

@ -23,6 +23,7 @@ export class TaxManagementIndividualIncomeComponent implements OnInit {
@ViewChild('st', { static: false }) st!: STComponent; @ViewChild('st', { static: false }) st!: STComponent;
@ViewChild('sf', { static: false }) sf!: SFComponent; @ViewChild('sf', { static: false }) sf!: SFComponent;
tabType!: string; tabType!: string;
isLoading: boolean = false;
tabs: any[] = [ tabs: any[] = [
{ name: '待申报', value: '1' }, { name: '待申报', value: '1' },
{ name: '待审核', value: '2' }, { name: '待审核', value: '2' },
@ -81,6 +82,7 @@ export class TaxManagementIndividualIncomeComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**
* 程序初始化入口 * 程序初始化入口

View File

@ -17,7 +17,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="search()" acl <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()" acl
[acl-ability]="['RiskOrder-Search']">查询</button> [acl-ability]="['RiskOrder-Search']">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button (click)="resetSF()">导出</button> <button nz-button (click)="resetSF()">导出</button>

View File

@ -25,6 +25,7 @@ export class TaxManagementOrderReportingComponent implements OnInit {
@ViewChild('st', { static: false }) st!: STComponent; @ViewChild('st', { static: false }) st!: STComponent;
@ViewChild('sf', { static: false }) sf!: SFComponent; @ViewChild('sf', { static: false }) sf!: SFComponent;
tabType!: string; tabType!: string;
isLoading: boolean = false;
tabs: any[] = [ tabs: any[] = [
{ name: '待上传', value: '1' }, { name: '待上传', value: '1' },
{ name: '上传中', value: '2' }, { name: '上传中', value: '2' },
@ -83,6 +84,7 @@ export class TaxManagementOrderReportingComponent implements OnInit {
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this._$expand = false; this._$expand = false;
this.isLoading = true
} }
/** /**
* 程序初始化入口 * 程序初始化入口

View File

@ -30,7 +30,7 @@
<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 [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand"> <div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="search()" acl [acl-ability]="['WAYBILL-ABNORMAL-search']">查询</button> <button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()" acl [acl-ability]="['WAYBILL-ABNORMAL-search']">查询</button>
<button nz-button (click)="resetSF()">重置</button> <button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()"> <button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }} {{ !_$expand ? '展开' : '收起' }}

View File

@ -37,6 +37,7 @@ export class WaybillManagementAbnormalAppearComponent implements OnInit {
edit = false; edit = false;
editId = false; editId = false;
selectedIndex = 0; selectedIndex = 0;
isLoading: boolean = false;
tabs = { tabs = {
stayQuantity: 0, stayQuantity: 0,
receivedQuantity: 0 receivedQuantity: 0
@ -70,6 +71,7 @@ export class WaybillManagementAbnormalAppearComponent implements OnInit {
{ title: '回复时间', index: 'replyTime', width: '180px', className: 'text-left' } { title: '回复时间', index: 'replyTime', width: '180px', className: 'text-left' }
]; ];
get reqParams() { get reqParams() {
return { return {
...this.sf?.value, ...this.sf?.value,
@ -244,6 +246,7 @@ export class WaybillManagementAbnormalAppearComponent implements OnInit {
*/ */
resetSF() { resetSF() {
this.sf.reset(); this.sf.reset();
this.isLoading = true
} }
// 获取城市列表 // 获取城市列表
getRegionCode(regionCode: any) { getRegionCode(regionCode: any) {