edit
This commit is contained in:
@ -4,6 +4,7 @@ import { STColumn, STColumnBadge, STComponent, STData } from '@delon/abc/st';
|
||||
import { SFComponent, SFDateWidgetSchema, SFSchema, SFUISchema } from '@delon/form';
|
||||
import { DynamicSettingModalComponent } from '@shared';
|
||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||
import { AccountDetailComponent } from 'src/app/shared/components/account-detail/account-detail.component';
|
||||
import { UsermanageService } from '../../services/usercenter.service';
|
||||
@Component({
|
||||
selector: 'app-usercenter-components-driver',
|
||||
@ -100,6 +101,17 @@ export class UserCenterComponentsDriverComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
showAccountDetail(item: any) {
|
||||
this.modal.create({
|
||||
nzTitle: '资金账户',
|
||||
nzContent: AccountDetailComponent,
|
||||
nzNoAnimation: true,
|
||||
nzWidth: 600,
|
||||
nzComponentParams: { isCanCreate: true },
|
||||
nzFooter: null
|
||||
});
|
||||
}
|
||||
|
||||
expandToggle() {
|
||||
this._$expand = !this._$expand;
|
||||
this.sf?.setValue('/expand', this._$expand);
|
||||
@ -291,6 +303,10 @@ export class UserCenterComponentsDriverComponent implements OnInit {
|
||||
{
|
||||
text: '基础设置',
|
||||
click: item => this.settingAction(item)
|
||||
},
|
||||
{
|
||||
text: '资金账户',
|
||||
click: item => this.showAccountDetail(item)
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user