This commit is contained in:
Taric Xin
2022-01-10 15:49:06 +08:00
parent e3931d50f8
commit 976e3a7b9b
17 changed files with 450 additions and 192 deletions

View File

@ -2,6 +2,7 @@ import { Component, OnInit, ViewChild } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
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 { UsermanageService } from '../../services/usercenter.service';
@Component({
@ -77,6 +78,19 @@ export class UserCenterComponentsDriverComponent implements OnInit {
});
}
settingAction(item?: any) {
this.modal.create({
nzTitle: '基础设置',
nzContent: DynamicSettingModalComponent,
nzWidth: 900,
nzComponentParams: {
extendType: '3',
businessId: item.id
},
nzFooter: null
});
}
expandToggle() {
this._$expand = !this._$expand;
this.sf?.setValue('/expand', this._$expand);
@ -264,6 +278,10 @@ export class UserCenterComponentsDriverComponent implements OnInit {
this.router.navigate(['./detail', item.appUserId], { relativeTo: this.ar });
// this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } });
}
},
{
text: '基础设置',
click: item => this.settingAction(item)
}
]
}