Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
<ng-container *ngSwitchCase="2">
|
<ng-container *ngSwitchCase="2">
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngSwitchDefault>
|
<ng-container *ngSwitchDefault>
|
||||||
费率变更记录
|
<app-rate-change [businessId]="businessId" [configFullKey]="configFullKey"></app-rate-change>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
|
|||||||
@ -18,10 +18,12 @@ import { DynamicSettingModalComponent } from './dynamic-setting-modal/dynamic-se
|
|||||||
import { FreightTableComponent } from './freight-table/freight-table.component';
|
import { FreightTableComponent } from './freight-table/freight-table.component';
|
||||||
import { SEModule } from '@delon/abc/se';
|
import { SEModule } from '@delon/abc/se';
|
||||||
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||||
const COMPONENTS = [DynamicSettingH5Component, DynamicSettingModalComponent, FreightTableComponent];
|
import { RateChangeComponent } from './rate-change/rate-change.component';
|
||||||
|
import { STModule } from '@delon/abc/st';
|
||||||
|
const COMPONENTS = [DynamicSettingH5Component, DynamicSettingModalComponent, FreightTableComponent, RateChangeComponent];
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [...COMPONENTS],
|
declarations: [...COMPONENTS],
|
||||||
imports: [CommonModule, FormsModule, SHARED_ZORRO_MODULES, SEModule],
|
imports: [CommonModule, FormsModule, SHARED_ZORRO_MODULES, SEModule, STModule],
|
||||||
exports: [...COMPONENTS],
|
exports: [...COMPONENTS],
|
||||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||||
})
|
})
|
||||||
|
|||||||
@ -0,0 +1 @@
|
|||||||
|
<st #st [data]="url" [columns]="columns" [req]="{process: beforeReq }" [scroll]="{ y: '370px' }" size="small" bordered></st>
|
||||||
@ -0,0 +1,31 @@
|
|||||||
|
import { Component, Input, OnInit } from '@angular/core';
|
||||||
|
import { STColumn, STRequestOptions } from '@delon/abc/st';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-rate-change',
|
||||||
|
templateUrl: './rate-change.component.html'
|
||||||
|
})
|
||||||
|
export class RateChangeComponent implements OnInit {
|
||||||
|
url = '/api/mdc/pbc/sysConfigItemExtendLog/list/page';
|
||||||
|
columns: STColumn[] = [
|
||||||
|
{ title: '修改内容', index: 'content' },
|
||||||
|
{ title: '修改时间', index: 'modifyTime', className: 'text-center' },
|
||||||
|
{ title: '修改人', index: 'modifyUserName' }
|
||||||
|
];
|
||||||
|
@Input()
|
||||||
|
businessId!: string;
|
||||||
|
@Input()
|
||||||
|
configFullKey!: string;
|
||||||
|
constructor() {}
|
||||||
|
|
||||||
|
ngOnInit(): void {}
|
||||||
|
|
||||||
|
beforeReq = (requestOptions: STRequestOptions) => {
|
||||||
|
Object.assign(requestOptions.body, {
|
||||||
|
businessId: this.businessId,
|
||||||
|
configFullKey: this.configFullKey,
|
||||||
|
extendType: 2
|
||||||
|
});
|
||||||
|
return requestOptions;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user