Files
django-vue3-admin/backend/dvadmin/system/fixtures/init_menu.json
2023-10-29 20:09:56 +08:00

575 lines
14 KiB
JSON

[
{
"name": "系统管理",
"icon": "iconfont icon-xitongshezhi",
"sort": 1,
"is_link": false,
"menu_type": 0,
"web_path": "/system",
"component": "",
"component_name": "",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "菜单管理",
"icon": "iconfont icon-caidan",
"sort": 1,
"is_link": false,
"menu_type": 1,
"web_path": "/menu",
"component": "system/menu/index",
"component_name": "menu",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "menu:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "menu:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "新增",
"component": "menu:create",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "menu:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "menu:delete",
"menu_type": 2,
"web_path": "/"
}
]
},
{
"name": "部门管理",
"icon": "ele-OfficeBuilding",
"sort": 3,
"is_link": false,
"menu_type": 1,
"web_path": "/dept",
"component": "system/dept/index",
"component_name": "dept",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "dept:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "dept:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "新增",
"component": "dept:create",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "dept:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "dept:delete",
"menu_type": 2,
"web_path": "/"
}
]
},
{
"name": "角色管理",
"icon": "ele-ColdDrink",
"sort": 4,
"is_link": false,
"menu_type": 1,
"web_path": "/role",
"component": "system/role/index",
"component_name": "role",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "role:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "role:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "新增",
"component": "role:create",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "role:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "保存",
"component": "role:Save",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "role:delete",
"menu_type": 2,
"web_path": "/"
}
]
},
{
"name": "用户管理",
"icon": "iconfont icon-icon-",
"sort": 6,
"is_link": false,
"menu_type": 1,
"web_path": "/user",
"component": "system/user/index",
"component_name": "user",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "user:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "user:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "新增",
"component": "user:create",
"menu_type": 2,
"web_path": "/"
},
{
"name": "导出",
"component": "user:Export",
"menu_type": 2,
"web_path": "/"
},
{
"name": "导入",
"component": "user:Import",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "user:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "重设密码",
"component": "user:ResetPassword",
"menu_type": 2,
"web_path": "/"
},
{
"name": "重置密码",
"component": "user:DefaultPassword",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "user:delete",
"menu_type": 2,
"web_path": "/"
}
]
},
{
"name": "消息中心",
"icon": "iconfont icon-xiaoxizhongxin",
"sort": 7,
"is_link": false,
"menu_type": 1,
"web_path": "/messageCenter",
"component": "system/messageCenter/index",
"component_name": "messageCenter",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "messageCenter:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "messageCenter:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "新增",
"component": "messageCenter:create",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "messageCenter:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "messageCenter:delete",
"menu_type": 2,
"web_path": "/"
}
]
},
{
"name": "接口白名单",
"icon": "ele-SetUp",
"sort": 8,
"is_link": false,
"menu_type": 1,
"web_path": "/apiWhiteList",
"component": "system/whiteList/index",
"component_name": "whiteList",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "api_white_list:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "api_white_list:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "新增",
"component": "api_white_list:create",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "api_white_list:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "api_white_list:delete",
"menu_type": 2,
"web_path": "/"
}
]
}
]
},
{
"name": "常规配置",
"icon": "iconfont icon-configure",
"sort": 2,
"is_link": false,
"menu_type": 0,
"web_path": "/generalConfig",
"component": "",
"component_name": "",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "系统配置",
"icon": "iconfont icon-system",
"sort": 0,
"is_link": false,
"menu_type": 1,
"web_path": "/config",
"component": "system/config/index",
"component_name": "config",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "system_config:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "system_config:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "新增",
"component": "system_config:create",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "system_config:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "system_config:delete",
"menu_type": 2,
"web_path": "/"
}
]
},
{
"name": "字典管理",
"icon": "iconfont icon-dict",
"sort": 1,
"is_link": false,
"menu_type": 1,
"web_path": "/dictionary",
"component": "system/dictionary/index",
"component_name": "dictionary",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "dictionary:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "dictionary:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "新增",
"component": "dictionary:create",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "dictionary:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "dictionary:delete",
"menu_type": 2,
"web_path": "/"
}
]
},
{
"name": "地区管理",
"icon": "iconfont icon-Area",
"sort": 2,
"is_link": false,
"menu_type": 1,
"web_path": "/areas",
"component": "system/areas/index",
"component_name": "areas",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "area:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "area:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "新增",
"component": "area:create",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "area:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "area:delete",
"menu_type": 2,
"web_path": "/"
}
]
},
{
"name": "附件管理",
"icon": "iconfont icon-file",
"sort": 3,
"is_link": false,
"menu_type": 1,
"web_path": "/file",
"component": "system/fileList/index",
"component_name": "file",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "详情",
"component": "file:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "查询",
"component": "file:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "编辑",
"component": "file:update",
"menu_type": 2,
"web_path": "/"
},
{
"name": "删除",
"component": "file:delete",
"menu_type": 2,
"web_path": "/"
}
]
}
]
},
{
"name": "日志管理",
"icon": "iconfont icon-rizhi",
"sort": 3,
"is_link": false,
"menu_type": 0,
"web_path": "/log",
"component": "no",
"component_name": "",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "登录日志",
"icon": "iconfont icon-guanlidenglurizhi",
"sort": 1,
"is_link": false,
"menu_type": 1,
"web_path": "/loginLog",
"component": "system/log/loginLog/index",
"component_name": "loginLog",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "查询",
"component": "login_log:search",
"menu_type": 2,
"web_path": "/"
},
{
"name": "详情",
"component": "login_log:retrieve",
"menu_type": 2,
"web_path": "/"
}
]
},
{
"name": "操作日志",
"icon": "iconfont icon-caozuorizhi",
"sort": 2,
"is_link": false,
"menu_type": 1,
"web_path": "/operationLog",
"component": "system/log/operationLog/index",
"component_name": "operationLog",
"status": true,
"cache": false,
"visible": true,
"children": [
{
"name": "详情",
"component": "operation_log:retrieve",
"menu_type": 2,
"web_path": "/"
},
{
"name": "查询",
"component": "operation_log:search",
"menu_type": 2,
"web_path": "/"
}
]
}
]
}
]