From affbfe1d8808b0996fb6dc766727c409cf647466 Mon Sep 17 00:00:00 2001 From: Argo-Tianyi Date: Mon, 13 Dec 2021 15:17:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=90=9C=E7=B4=A2=E6=A8=A1=E5=9E=8B=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=20Display=20=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/DictSearch.razor | 8 ++++---- .../BootstrapAdmin.Web/Models/DictsSearchModel.cs | 15 ++++++++++----- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/blazor/admin/BootstrapAdmin.Web/Components/DictSearch.razor b/src/blazor/admin/BootstrapAdmin.Web/Components/DictSearch.razor index 9e5cf0d2..e09a4e40 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Components/DictSearch.razor +++ b/src/blazor/admin/BootstrapAdmin.Web/Components/DictSearch.razor @@ -1,15 +1,15 @@ 
- +
- +
- +
-
diff --git a/src/blazor/admin/BootstrapAdmin.Web/Models/DictsSearchModel.cs b/src/blazor/admin/BootstrapAdmin.Web/Models/DictsSearchModel.cs index 542e4dab..a8550b88 100644 --- a/src/blazor/admin/BootstrapAdmin.Web/Models/DictsSearchModel.cs +++ b/src/blazor/admin/BootstrapAdmin.Web/Models/DictsSearchModel.cs @@ -1,4 +1,5 @@ using BootstrapAdmin.DataAccess.Models; +using System.ComponentModel.DataAnnotations; namespace BootstrapAdmin.Web.Models { @@ -10,23 +11,27 @@ namespace BootstrapAdmin.Web.Models /// /// 获得/设置 字典标签 /// + [Display(Name = "字典标签")] public string? Category { get; set; } - /// - /// 获得/设置 字典类型 - /// - public EnumDictDefine? Define { get; set; } - /// /// 获得/设置 字典名称 /// + [Display(Name = "字典名称")] public string? Name { get; set; } /// /// 获得/设置 字典代码 /// + [Display(Name = "字典代码")] public string? Code { get; set; } + /// + /// 获得/设置 字典类型 + /// + [Display(Name = "字典类型")] + public EnumDictDefine? Define { get; set; } + /// /// ///