This commit is contained in:
parent
09b2d83c88
commit
514c153745
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<!-- 菜单区域 -->
|
||||
<el-menu class="menu" :unique-opened="true" :default-active="activeMenu" router>
|
||||
<template v-for="menu in staticAgentMenuList" :key="menu.id">
|
||||
<template v-for="menu in staticMenuList" :key="menu.id">
|
||||
<!-- 无子菜单 -->
|
||||
<el-menu-item v-if="!menu.children || menu.children.length === 0" :index="menu.path">
|
||||
<el-icon>
|
||||
|
|
@ -244,21 +244,81 @@ const staticMenuList = ref<ElMenuItem[]>(
|
|||
label: '风控管理',
|
||||
path: '/risk', // index="8"
|
||||
icon: 'WarningFilled' // 对应 <WarningFilled /> 图标
|
||||
}
|
||||
]
|
||||
)
|
||||
},
|
||||
|
||||
const staticAgentMenuList = <ElMenuItem[]>(
|
||||
[
|
||||
// 首页
|
||||
|
||||
// 资金管理(子菜单)
|
||||
{
|
||||
id: 1,
|
||||
label: '首页',
|
||||
path: 'dashboard', // 对应 el-menu-item 的 index="dashboard"
|
||||
icon: 'HomeFilled' // 对应 <HomeFilled /> 图标
|
||||
id: 9,
|
||||
label: '资金管理',
|
||||
path: 'funding', // index="funding"
|
||||
icon: 'GoodsFilled', // 对应 <GoodsFilled /> 图标
|
||||
children: [
|
||||
//存款/取款暂时没有
|
||||
//资金明细
|
||||
// 审核记录
|
||||
// 提现记录
|
||||
// 充值记录
|
||||
]
|
||||
},
|
||||
// 交易统计(子菜单)
|
||||
{
|
||||
id: 10,
|
||||
label: '交易统计',
|
||||
path: 'trade', // index="trade"
|
||||
icon: 'ChartBarFilled', // 对应 <ChartBarFilled /> 图标
|
||||
children: [
|
||||
// 持仓统计
|
||||
//历史交易
|
||||
//交易软件
|
||||
]
|
||||
},
|
||||
// 账户管理(子菜单)
|
||||
{
|
||||
id: 11,
|
||||
label: '账户管理',
|
||||
path: 'account', // index="account"
|
||||
icon: 'UserFilled', // 对应 <UserFilled /> 图标
|
||||
children: [
|
||||
// 档案管理
|
||||
// 账户管理
|
||||
]
|
||||
},
|
||||
// 个性化交易(子菜单)
|
||||
{
|
||||
id: 12,
|
||||
label: '个性化交易',
|
||||
path: 'customTrade', // index="customTrade"
|
||||
icon: 'SettingFilled', // 对应 <SettingFilled /> 图标
|
||||
children: [
|
||||
// 排行榜
|
||||
// 跟单记录
|
||||
// 带单记录
|
||||
]
|
||||
},
|
||||
// 代理管理(子菜单)
|
||||
{
|
||||
id: 13,
|
||||
label: '代理管理',
|
||||
path: 'agent', // index="agent"
|
||||
icon: 'UserFilled', // 对应 <UserFilled /> 图标
|
||||
children: [
|
||||
//客户统计
|
||||
//客户列表
|
||||
//客户交易订单
|
||||
//返佣流水
|
||||
//客户资金流水
|
||||
]
|
||||
},
|
||||
// 通知管理(子菜单)
|
||||
{
|
||||
id: 14,
|
||||
label: '通知管理',
|
||||
path: 'notification', // index="notification"
|
||||
icon: 'NotificationFilled', // 对应 <NotificationFilled /> 图标
|
||||
},
|
||||
]
|
||||
);
|
||||
)
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
|
|
|||
Loading…
Reference in New Issue