🎨 完善用户管理模块
This commit is contained in:
@@ -39,7 +39,55 @@ export const USER_SEARCH_CONFIG = [
|
||||
...userStatus
|
||||
]
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'select',
|
||||
prop:'type',
|
||||
label: '用户类型',
|
||||
placeholder: '请选择',
|
||||
children:{
|
||||
list: [
|
||||
{
|
||||
label: '全部',
|
||||
value: ''
|
||||
},
|
||||
{
|
||||
label: '普通用户',
|
||||
value: 1
|
||||
},
|
||||
{
|
||||
label: '讲师',
|
||||
value: 2
|
||||
}
|
||||
]
|
||||
},
|
||||
},
|
||||
{
|
||||
type: 'select',
|
||||
prop:'user_label',
|
||||
label: 'VIP等级',
|
||||
placeholder: '请选择',
|
||||
children:{
|
||||
list: [
|
||||
{
|
||||
label: '全部',
|
||||
value: ''
|
||||
},
|
||||
{
|
||||
label: '注册会员',
|
||||
value: 1
|
||||
},
|
||||
{
|
||||
label: 'VIP',
|
||||
value: 2
|
||||
},
|
||||
{
|
||||
label: 'SVIP',
|
||||
value: 3
|
||||
}
|
||||
]
|
||||
},
|
||||
},
|
||||
]
|
||||
export const ARTICLE_SEARCH_CONFIG = [
|
||||
{
|
||||
@@ -170,11 +218,27 @@ export const USER_TABLE_CONFIG = {
|
||||
slot: 'CreatedAt'
|
||||
},{
|
||||
attrs: {
|
||||
label: '更新时间',
|
||||
prop: 'UpdatedAt',
|
||||
label: '用户类别',
|
||||
prop: 'user_type',
|
||||
align: 'center'
|
||||
},
|
||||
slot: 'UpdatedAt'
|
||||
slot: 'user_type'
|
||||
},
|
||||
{
|
||||
attrs: {
|
||||
label: 'VIP',
|
||||
prop: 'user_label',
|
||||
align: 'center'
|
||||
},
|
||||
slot: 'user_label'
|
||||
},
|
||||
{
|
||||
attrs: {
|
||||
label: '账户余额',
|
||||
prop: 'balance',
|
||||
align: 'center'
|
||||
},
|
||||
slot: 'balance'
|
||||
},
|
||||
{
|
||||
attrs: {
|
||||
|
Reference in New Issue
Block a user