From 430574fd725d33666e21a6a4728fcb9673277501 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Fri, 18 Feb 2022 10:36:20 +0800 Subject: [PATCH] edit --- .../components/agreement-config/agreement-config.component.ts | 2 +- .../freight/freight-config/freight-config.component.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/routes/sys-setting/components/agreement-config/agreement-config.component.ts b/src/app/routes/sys-setting/components/agreement-config/agreement-config.component.ts index 823fe820..8f0ff5b8 100644 --- a/src/app/routes/sys-setting/components/agreement-config/agreement-config.component.ts +++ b/src/app/routes/sys-setting/components/agreement-config/agreement-config.component.ts @@ -46,7 +46,7 @@ export class AgreementConfigComponentsBaseComponent implements OnInit { } loadAgreement(type?: number) { - this.service.request(`${this.service.$api_get_agreement_page}`).subscribe(res => { + this.service.request(`${this.service.$api_get_agreement_page}`, { pageIndex: 1, pageSize: 99 }).subscribe(res => { if (res) { res.records = res.records.map((item: any) => ({ ...item, agreementContent: decodeURIComponent(item.agreementContent) })); this.tabs = res.records; diff --git a/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.ts b/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.ts index 30185701..b4e9bbe4 100644 --- a/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.ts +++ b/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.ts @@ -92,7 +92,6 @@ export class FreightConfigComponent implements OnInit { initST(): STColumn[] { return [ - // { title: '', type: 'checkbox', className: 'text-center' }, { title: '企业名称', className: 'text-center', index: 'enterpriseName', width: 160 }, { title: '网络货运人', className: 'text-center', index: 'netTranName', width: 160 }, {