edit
This commit is contained in:
@ -51,8 +51,6 @@ export class LayoutProMenuComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.menus = res;
|
this.menus = res;
|
||||||
console.log(res);
|
|
||||||
|
|
||||||
this.openStatus();
|
this.openStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -24,9 +24,11 @@ export class RefundRecordComponent implements OnInit {
|
|||||||
refundStatus: any = '';
|
refundStatus: any = '';
|
||||||
|
|
||||||
msg = '';
|
msg = '';
|
||||||
|
|
||||||
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {}
|
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {}
|
||||||
|
|
||||||
ngOnInit(): void {}
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
beforeReq = (requestOptions: STRequestOptions) => {
|
beforeReq = (requestOptions: STRequestOptions) => {
|
||||||
Object.assign(requestOptions.body, { refundStatus: this.refundStatus || null });
|
Object.assign(requestOptions.body, { refundStatus: this.refundStatus || null });
|
||||||
@ -58,7 +60,7 @@ export class RefundRecordComponent implements OnInit {
|
|||||||
type: 'default',
|
type: 'default',
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
if (!this.msg) {
|
if (!this.msg) {
|
||||||
this.service.msgSrv.warning('请填写原因')
|
this.service.msgSrv.warning('请填写原因');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.service
|
this.service
|
||||||
|
|||||||
@ -99,6 +99,13 @@
|
|||||||
<ng-container *ngSwitchCase="10">
|
<ng-container *ngSwitchCase="10">
|
||||||
<nz-switch [ngModel]="item.itemValue" style="margin-left: 26px;"></nz-switch>
|
<nz-switch [ngModel]="item.itemValue" style="margin-left: 26px;"></nz-switch>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
<!-- 下拉单选 -->
|
||||||
|
<ng-container *ngSwitchCase="11">
|
||||||
|
<nz-select [(ngModel)]="item.itemValue" style="width: 146px;margin-left: 31px;">
|
||||||
|
<nz-option [nzValue]="re.value" [nzLabel]="re.label"
|
||||||
|
*ngFor="let re of item.remark"></nz-option>
|
||||||
|
</nz-select>
|
||||||
|
</ng-container>
|
||||||
<!-- 开关选项 -->
|
<!-- 开关选项 -->
|
||||||
<ng-container *ngSwitchCase="999">
|
<ng-container *ngSwitchCase="999">
|
||||||
<ng-content select="custom-element"></ng-content>
|
<ng-content select="custom-element"></ng-content>
|
||||||
|
|||||||
Reference in New Issue
Block a user