factory_web/public/json/user.json

197 lines
3.6 KiB
JSON

{
"code": 200,
"data": {
"userInfo": {
"userId": "1",
"userName": "Administrator"
},
"menuList": [{
"name": "vab",
"path": "/vab",
"meta": {
"title": "组件",
"icon": "el-icon-takeaway-box"
},
"children": [
{
"path": "/vab/drag",
"name": "drag",
"meta": {
"title": "拖拽排序"
},
"component": "vab/drag"
},
{
"path": "/vab/chart",
"name": "chart",
"meta": {
"title": "图表 Echarts"
},
"component": "vab/chart"
},
{
"path": "/vab/filterbar",
"name": "filterBar",
"meta": {
"title": "过滤器"
},
"component": "vab/filterBar"
},
{
"path": "/vab/print",
"name": "print",
"meta": {
"title": "打印"
},
"component": "vab/print"
}
]
},
{
"name": "template",
"path": "/template",
"meta": {
"title": "模板",
"icon": "el-icon-files"
},
"children": [
{
"path": "/template/blank",
"name": "blank",
"meta": {
"title": "空白模板"
},
"component": "template/blank"
},
{
"path": "/template/list",
"name": "list",
"meta": {
"title": "普通列表"
},
"component": "template/list"
},
{
"path": "/template/sideList",
"name": "sideList",
"meta": {
"title": "分栏列表"
},
"component": "template/sideList"
},
{
"path": "/template/show/:id",
"name": "show",
"meta": {
"title": "详情",
"hidden": true
},
"component": "template/show"
},
{
"path": "/template/itemList",
"name": "itemList",
"meta": {
"title": "个性列表"
},
"component": "template/itemList"
},
{
"path": "/template/mapvgl",
"name": "mapvgl",
"meta": {
"title": "mapVGL"
},
"component": "template/mapvgl"
}
]
},
{
"name": "other",
"path": "/other",
"meta": {
"title": "其他",
"icon": "el-icon-more"
},
"children": [
{
"path": "/link",
"name": "外部链接",
"meta": {
"title": "外部链接",
"icon": "el-icon-link"
},
"children": [
{
"path": "https://baidu.com",
"name": "百度",
"meta": {
"title": "百度",
"target": "_blank"
}
},
{
"path": "https://www.google.cn",
"name": "谷歌",
"meta": {
"title": "谷歌",
"target": "_blank"
}
}
]
},
{
"path": "/iframe",
"name": "Iframe",
"meta": {
"title": "Iframe",
"icon": "el-icon-position"
},
"children": [
{
"path": "https://vue3js.cn/docs/zh/",
"name": "VUE 3",
"meta": {
"title": "VUE 3"
}
},
{
"path": "https://element-plus.org?id=1",
"name": "Element Plus",
"meta": {
"title": "Element Plus"
}
}
]
}
]
},
{
"name": "配置",
"path": "/setting",
"meta": {
"title": "配置",
"icon": "el-icon-setting"
},
"children": [{
"path": "/setting/system",
"name": "system",
"meta": {
"title": "系统设置"
},
"component": "setting/system"
}]
}
],
"permissions": [
"list.add",
"list.edit",
"list.delete",
"user.add",
"user.edit",
"user.delete"
]
},
"message": ""
}