🎨 新增vip用户管理以及讲师包月服务管理功能

This commit is contained in:
2025-09-09 07:21:39 +08:00
parent 773f13104b
commit 3378e709cf
7 changed files with 717 additions and 8 deletions

View File

@@ -292,6 +292,90 @@ export const ORDER_TABLE_CONFIG = {
]
}
// VIP用户搜索配置
export const VIP_USER_SEARCH_CONFIG = [
{
type: 'input',
prop: 'user_id',
label: '用户ID',
placeholder: '请输入用户ID',
},
{
type: 'input',
prop: 'name',
label: '用户名称',
placeholder: '请输入用户名称',
}
]
// VIP用户表格配置
export const VIP_USER_TABLE_CONFIG = {
index: true,
schemes: [
{
attrs: {
label: '头像',
prop: 'avatar',
align: 'center'
},
slot: 'avatar'
},
{
attrs: {
label: '用户ID',
prop: 'id',
align: 'center'
}
},
{
attrs: {
label: '用户名称',
prop: 'nick_name',
align: 'center'
}
},
{
attrs: {
label: '手机号',
prop: 'phone',
align: 'center'
}
},
{
attrs: {
label: 'VIP等级',
prop: 'user_label',
align: 'center'
},
slot: 'user_label'
},
{
attrs: {
label: 'VIP到期时间',
prop: 'vip_expire_time',
align: 'center'
},
slot: 'vip_expire_time'
},
{
attrs: {
label: '账户余额',
prop: 'balance',
align: 'center'
},
slot: 'balance'
},
{
attrs: {
label: '操作',
prop: 'operate',
align: 'center'
},
slot: 'operate'
}
]
}
// 用户登录日志搜索配置
export const LOGIN_LOG_SEARCH_CONFIG = [
{
@@ -371,17 +455,11 @@ export const LOGIN_LOG_TABLE_CONFIG = {
}
]
}
// 用户列表
export const USER_TABLE_CONFIG = {
index: true,
schemes: [
{
attrs: {
label: 'ID',
prop: 'ID',
align: 'center'
}
},
{
attrs: {
label: '头像',
@@ -505,4 +583,4 @@ export const ARTICLE_TABLE_CONFIG = {
slot: 'operate'
}
]
}
}