This commit is contained in:
Taric Xin
2022-04-13 13:56:19 +08:00
parent a8978500d5
commit b97e27a2f4

View File

@ -17,7 +17,7 @@ export class UserCenterComponentsDriverComponent implements OnInit {
_$expand = false; _$expand = false;
@ViewChild('st', { static: false }) st!: STComponent; @ViewChild('st', { static: false }) st!: STComponent;
@ViewChild('sf', { static: false }) sf!: SFComponent; @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(); schema: SFSchema = this.initSF();
columns: STColumn[] = this.initST(); columns: STColumn[] = this.initST();
@ -199,10 +199,10 @@ export class UserCenterComponentsDriverComponent implements OnInit {
title: '从业资格证状态', title: '从业资格证状态',
enum: [ enum: [
{ label: '全部', value: '' }, { label: '全部', value: '' },
{ label: '待审核', value: 10 }, { label: '未提交 ', value: -1 },
{ label: '审核通过', value: 20 }, { label: '已提交', value: 1 },
{ label: '驳回', value: 30 }, { label: '已通过', value: 2 },
{ label: '证件过期', value: 40 } { label: '过期', value: 3 }
], ],
default: '', default: '',
ui: { ui: {
@ -302,10 +302,12 @@ export class UserCenterComponentsDriverComponent implements OnInit {
type: 'badge', type: 'badge',
badge: { badge: {
'-1': { text: '未提交', color: 'default' }, '-1': { text: '未提交', color: 'default' },
10: { text: '待审核', color: 'default' }, 1: { text: '已提交', color: 'processing' },
20: { text: '审核通过', color: 'success' }, 2: { text: '通过', color: 'success' },
30: { text: '驳回', color: 'warning' }, // 10: { text: '待审核', color: 'default' },
40: { text: '证件过期', color: 'error' } // 20: { text: '审核通过', color: 'success' },
// 30: { text: '驳回', color: 'warning' },
// 40: { text: '证件过期', color: 'error' }
}, },
width: 180 width: 180
}, },