edit
This commit is contained in:
@ -17,7 +17,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
|
||||
_$expand = false;
|
||||
@ViewChild('st', { static: false }) st!: STComponent;
|
||||
@ViewChild('sf', { static: false }) sf!: SFComponent;
|
||||
ui: SFUISchema = { '*': { spanLabelFixed: 120, grid: { lg: 8, md: 12, sm: 12, xs: 24 }, enter: () => this.st.load() } };
|
||||
ui: SFUISchema = { '*': { spanLabelFixed: 130, grid: { lg: 8, md: 12, sm: 12, xs: 24 }, enter: () => this.st.load() } };
|
||||
schema: SFSchema = this.initSF();
|
||||
columns: STColumn[] = this.initST();
|
||||
|
||||
@ -199,10 +199,10 @@ export class UserCenterComponentsDriverComponent implements OnInit {
|
||||
title: '从业资格证状态',
|
||||
enum: [
|
||||
{ label: '全部', value: '' },
|
||||
{ label: '待审核', value: 10 },
|
||||
{ label: '审核通过', value: 20 },
|
||||
{ label: '驳回', value: 30 },
|
||||
{ label: '证件过期', value: 40 }
|
||||
{ label: '未提交 ', value: -1 },
|
||||
{ label: '已提交', value: 1 },
|
||||
{ label: '已通过', value: 2 },
|
||||
{ label: '已过期', value: 3 }
|
||||
],
|
||||
default: '',
|
||||
ui: {
|
||||
@ -302,10 +302,12 @@ export class UserCenterComponentsDriverComponent implements OnInit {
|
||||
type: 'badge',
|
||||
badge: {
|
||||
'-1': { text: '未提交', color: 'default' },
|
||||
10: { text: '待审核', color: 'default' },
|
||||
20: { text: '审核通过', color: 'success' },
|
||||
30: { text: '驳回', color: 'warning' },
|
||||
40: { text: '证件过期', color: 'error' }
|
||||
1: { text: '已提交', color: 'processing' },
|
||||
2: { text: '已通过', color: 'success' },
|
||||
// 10: { text: '待审核', color: 'default' },
|
||||
// 20: { text: '审核通过', color: 'success' },
|
||||
// 30: { text: '驳回', color: 'warning' },
|
||||
// 40: { text: '证件过期', color: 'error' }
|
||||
},
|
||||
width: 180
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user