This commit is contained in:
Taric Xin
2021-12-09 16:46:40 +08:00
parent 0c77591af8
commit d4a4b45194
18 changed files with 235 additions and 272 deletions

View File

@ -11,7 +11,7 @@ import { UsermanageService } from '../../../services/usercenter.service';
})
export class FreightComponentsUserComponent implements OnInit {
_$expand = false;
ui: SFUISchema = { '*': { spanLabelFixed: 120, grid: { span: 8, gutter: 4 }, enter: () => this.st.load() } };
ui: SFUISchema = { '*': { spanLabelFixed: 120, grid: {lg: 8, md: 12, sm: 12, xs: 24 }, enter: () => this.st.load() } };
schema: SFSchema = this.initSF();
columns: STColumn[] = this.initST();
@ViewChild('st', { static: false }) st!: STComponent;
@ -108,7 +108,7 @@ export class FreightComponentsUserComponent implements OnInit {
this._$expand = false;
}
initSF(): SFSchema {
private initSF(): SFSchema {
return {
properties: {
expand: {
@ -186,7 +186,7 @@ export class FreightComponentsUserComponent implements OnInit {
};
}
initST(): STColumn[] {
private initST(): STColumn[] {
return [
{ title: '用户姓名', className: 'text-center', index: 'name' },
{ title: '手机号', className: 'text-center', index: 'telephone' },