edit
This commit is contained in:
@ -14,9 +14,6 @@
|
||||
<h2 style="font-weight: 800;">{{selectedTab?.name}}</h2>
|
||||
<div nz-row nzGutter="8">
|
||||
<div nz-col nzSpan="24" se-container [labelWidth]="labelWidth">
|
||||
<!-- <se col="1">
|
||||
<app-freight-table></app-freight-table>
|
||||
</se> -->
|
||||
<se [label]="item.name" *ngFor="let item of configList" col="1">
|
||||
<ng-container [ngSwitch]="item.itemType">
|
||||
<ng-container *ngSwitchCase="1">
|
||||
@ -62,6 +59,9 @@
|
||||
style="margin-left: 0;" class=" mr-xl">
|
||||
</div>
|
||||
</ng-container>
|
||||
<ng-container *ngSwitchCase="7">
|
||||
<app-freight-table></app-freight-table>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
|
||||
</se>
|
||||
@ -71,7 +71,8 @@
|
||||
|
||||
|
||||
<div class="mb-md save-btn">
|
||||
<button class="ml-lg" nz-button nzSize="large" nzType="primary" (click)="saveAction()">保存</button>
|
||||
<button class="ml-lg" nz-button nzSize="large" nzType="primary" (click)="saveAction()"
|
||||
*ngIf="selectedTab?.configKey!=='freight'">保存</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -33,6 +33,8 @@ export class DynamicSettingH5Component implements OnInit {
|
||||
|
||||
changeType(type: any): void {
|
||||
this.selectedTab = type;
|
||||
console.log(type);
|
||||
|
||||
this.selectedEvent.emit(this.selectedTab);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user