238 lines
6.4 KiB
TypeScript
238 lines
6.4 KiB
TypeScript
export const userData =[
|
|
{
|
|
username:'zzb',
|
|
nickname:'林峰',
|
|
sex:'男',
|
|
role:'超级管理员',
|
|
status:true,
|
|
},
|
|
{
|
|
username:'zhangsan',
|
|
nickname:'张三',
|
|
sex:'女',
|
|
role:'管理员',
|
|
status:true,
|
|
},
|
|
{
|
|
username:'lisi',
|
|
nickname:'李四',
|
|
sex:'男',
|
|
role:'管理员',
|
|
status:true,
|
|
},
|
|
{
|
|
username:'wangwu',
|
|
nickname:'王五',
|
|
sex:'男',
|
|
role:'超级管理员',
|
|
status:false,
|
|
},
|
|
{
|
|
username:'zhaoliu',
|
|
nickname:'赵柳',
|
|
sex:'男',
|
|
role:'普通用户',
|
|
status:false,
|
|
},
|
|
|
|
]
|
|
|
|
|
|
export const roleData =[
|
|
{
|
|
roleName:'超级管理员',
|
|
roleId:'admin',
|
|
createTime:'2022-09-02',
|
|
},
|
|
{
|
|
roleName:'管理员',
|
|
roleId:'role',
|
|
createTime:'2022-09-02',
|
|
},
|
|
{
|
|
roleName:'普通用户',
|
|
roleId:'other',
|
|
createTime:'2022-09-02',
|
|
},
|
|
|
|
]
|
|
|
|
|
|
export const menuData =[
|
|
{
|
|
menuName:'首页',
|
|
menuType:'菜单',
|
|
menuRouter:'/home',
|
|
identification:'menu:home',
|
|
parentId:0,
|
|
level:1,
|
|
id:0,
|
|
createTime:'2022-09-02',
|
|
},
|
|
{
|
|
menuName:'表格',
|
|
menuType:'目录',
|
|
menuRouter:'/table',
|
|
identification:'menu:table',
|
|
parentId:0,
|
|
level:1,
|
|
id:1,
|
|
createTime:'2022-09-02',
|
|
children:[
|
|
{
|
|
menuName:'菜单1',
|
|
menuType:'菜单',
|
|
menuRouter:'/table',
|
|
identification:'menu1:view',
|
|
parentId:1,
|
|
level:2,
|
|
id:10,
|
|
createTime:'2022-09-02',
|
|
children:[
|
|
{
|
|
menuName:'按钮1',
|
|
menuType:'按钮',
|
|
menuRouter:'/table',
|
|
identification:'menu1:view:btn1',
|
|
parentId:10,
|
|
id:20,
|
|
level:3,
|
|
createTime:'2022-09-02',
|
|
},
|
|
{
|
|
menuName:'按钮2',
|
|
menuType:'按钮',
|
|
menuRouter:'/table',
|
|
identification:'menu1:view:btn2',
|
|
parentId:10,
|
|
id:21,
|
|
level:3,
|
|
createTime:'2022-09-02',
|
|
},
|
|
{
|
|
menuName:'按钮3',
|
|
menuType:'按钮',
|
|
menuRouter:'/table',
|
|
identification:'menu1:view:btn2',
|
|
parentId:10,
|
|
id:22,
|
|
level:3,
|
|
createTime:'2022-09-02',
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
menuName:'可视化图表',
|
|
menuType:'目录',
|
|
menuRouter:'/charts',
|
|
identification:'menu:charts',
|
|
parentId:0,
|
|
level:1,
|
|
id:1,
|
|
createTime:'2022-09-02',
|
|
children:[
|
|
{
|
|
menuName:'菜单1',
|
|
menuType:'菜单',
|
|
menuRouter:'/charts',
|
|
identification:'menu1:view',
|
|
parentId:1,
|
|
level:2,
|
|
id:10,
|
|
createTime:'2022-09-02',
|
|
children:[
|
|
{
|
|
menuName:'按钮1',
|
|
menuType:'按钮',
|
|
menuRouter:'/charts',
|
|
identification:'menu1:view:btn1',
|
|
parentId:10,
|
|
id:20,
|
|
level:3,
|
|
createTime:'2022-09-02',
|
|
},
|
|
{
|
|
menuName:'按钮2',
|
|
menuType:'按钮',
|
|
menuRouter:'/charts',
|
|
identification:'menu1:view:btn2',
|
|
parentId:10,
|
|
id:21,
|
|
level:3,
|
|
createTime:'2022-09-02',
|
|
},
|
|
{
|
|
menuName:'按钮3',
|
|
menuType:'按钮',
|
|
menuRouter:'/charts',
|
|
identification:'menu1:view:btn2',
|
|
parentId:10,
|
|
id:22,
|
|
level:3,
|
|
createTime:'2022-09-02',
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
menuName:'基础组件',
|
|
menuType:'目录',
|
|
menuRouter:'/components',
|
|
identification:'menu:components',
|
|
parentId:0,
|
|
level:1,
|
|
id:1,
|
|
createTime:'2022-09-02',
|
|
children:[
|
|
{
|
|
menuName:'菜单1',
|
|
menuType:'菜单',
|
|
menuRouter:'/components',
|
|
identification:'menu1:view',
|
|
parentId:1,
|
|
level:2,
|
|
id:10,
|
|
createTime:'2022-09-02',
|
|
children:[
|
|
{
|
|
menuName:'按钮1',
|
|
menuType:'按钮',
|
|
menuRouter:'/components',
|
|
identification:'menu1:view:btn1',
|
|
parentId:10,
|
|
id:20,
|
|
level:3,
|
|
createTime:'2022-09-02',
|
|
},
|
|
{
|
|
menuName:'按钮2',
|
|
menuType:'按钮',
|
|
menuRouter:'/components',
|
|
identification:'menu1:view:btn2',
|
|
parentId:10,
|
|
id:21,
|
|
level:3,
|
|
createTime:'2022-09-02',
|
|
},
|
|
{
|
|
menuName:'按钮3',
|
|
menuType:'按钮',
|
|
menuRouter:'/components',
|
|
identification:'menu1:view:btn2',
|
|
parentId:10,
|
|
id:22,
|
|
level:3,
|
|
createTime:'2022-09-02',
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
]
|
|
|
|
|