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 }, {