feat: 完成用户管理、角色管理、菜单管理、部门管理

This commit is contained in:
橙子
2024-09-02 23:26:41 +08:00
parent bc83362b35
commit e886614641
17 changed files with 230 additions and 326 deletions

View File

@@ -2,23 +2,42 @@ import type { OptionsType } from "@/components/ReSegmented";
const menuTypeOptions: Array<OptionsType> = [
{
label: "菜单",
value: 0
label: "目录",
value: "Catalogue"
},
{
label: "iframe",
value: 1
label: "菜单",
value: "Menu"
},
{
label: "组件",
value: "Component"
}
];
const stateOptions: Array<OptionsType> = [
{
label: "启用",
tip: "启用菜单",
value: true
},
{
label: "禁用",
tip: "禁用菜单",
value: false
}
];
const isLinkOptions: Array<OptionsType> = [
{
label: "非外链",
tip: "使用本地路由",
value: false
},
{
label: "外链",
value: 2
},
{
label: "按钮",
value: 3
tip: "链接到其他地址",
value: true
}
];
const showLinkOptions: Array<OptionsType> = [
{
label: "显示",
@@ -104,5 +123,7 @@ export {
keepAliveOptions,
hiddenTagOptions,
showParentOptions,
frameLoadingOptions
frameLoadingOptions,
isLinkOptions,
stateOptions
};