Browse Source

feat: add missing menu definition.

pull/642/head
cKey 3 years ago
parent
commit
cf2e160a97
  1. 1
      aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/en.json
  2. 1
      aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/zh-Hans.json
  3. 33
      aspnet-core/modules/platform/LINGYUN.Abp.UI.Navigation.VueVbenAdmin/LINGYUN/Abp/UI/Navigation/VueVbenAdmin/AbpUINavigationVueVbenAdminNavigationDefinitionProvider.cs
  4. 849
      gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json

1
aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/en.json

@ -6,6 +6,7 @@
"Permission:Refresh": "Refresh",
"Permission:Delete": "Delete",
"Caches": "Caches",
"CacheInfo": "Cache Info",
"DisplayName:Marker": "Marker",
"DisplayName:NextMarker": "Next Marker",
"DisplayName:Type": "Type",

1
aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/zh-Hans.json

@ -6,6 +6,7 @@
"Permission:Refresh": "刷新",
"Permission:Delete": "删除",
"Caches": "缓存列表",
"CacheInfo": "缓存详情",
"DisplayName:Marker": "标记",
"DisplayName:NextMarker": "下一个标记",
"DisplayName:Type": "类型",

33
aspnet-core/modules/platform/LINGYUN.Abp.UI.Navigation.VueVbenAdmin/LINGYUN/Abp/UI/Navigation/VueVbenAdmin/AbpUINavigationVueVbenAdminNavigationDefinitionProvider.cs

@ -18,6 +18,7 @@ namespace LINGYUN.Abp.UI.Navigation.VueVbenAdmin
context.Add(GetTaskManagement());
context.Add(GetWebhooksManagement());
context.Add(GetMessages());
context.Add(GetTextTemplating());
}
private static NavigationDefinition GetDashboard()
@ -193,6 +194,14 @@ namespace LINGYUN.Abp.UI.Navigation.VueVbenAdmin
// TODO: 注意在部署完毕之后手动修改此菜单iframe地址
.SetProperty("frameSrc", "http://127.0.0.1:30000/swagger/index.html"));
manage.AddItem(
new ApplicationMenu(
name: "Caches",
displayName: "缓存管理",
url: "/manage/cache",
component: "/caching-management/cache/index",
description: "缓存管理"));
return new NavigationDefinition(manage);
}
@ -447,10 +456,32 @@ namespace LINGYUN.Abp.UI.Navigation.VueVbenAdmin
name: "Notifications",
displayName: "通知管理",
url: "/messages/notifications",
component: "/messages/notifications/index.vue",
component: "/messages/notifications/index",
description: "通知管理"));
return new NavigationDefinition(messages);
}
private static NavigationDefinition GetTextTemplating()
{
var textTemplating = new ApplicationMenu(
name: "Templates",
displayName: "模板管理",
url: "/text-templating",
component: "",
description: "模板管理",
icon: "eos-icons:templates-outlined",
multiTenancySides: MultiTenancySides.Host);
textTemplating.AddItem(
new ApplicationMenu(
name: "TextTemplates",
displayName: "文本模板",
url: "/text-templating/text-templates",
component: "/text-templating/templates/index",
description: "文本模板",
multiTenancySides: MultiTenancySides.Host));
return new NavigationDefinition(textTemplating);
}
}
}

849
gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json

File diff suppressed because it is too large
Loading…
Cancel
Save