This commit is contained in:
Taric Xin
2022-01-13 17:13:24 +08:00
parent 46379ffe4f
commit fe3d6b6f92
14 changed files with 288 additions and 27 deletions

View File

@ -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)
}
]
}