From 4a3e389390353a7744c9ea9d90d27603205c2877 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Fri, 19 Jul 2019 22:20:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(#IZGFM):=20=E5=AD=97=E5=85=B8=E8=A1=A8?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E4=BD=BF=E7=94=A8=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Comment comment #IZGFM #Issue close https://gitee.com/LongbowEnterprise/dashboard/issues?id=IZGFM --- Bootstrap.Admin/Views/Admin/Dicts.cshtml | 31 +++++++++++++++--------- Bootstrap.Admin/wwwroot/js/dicts.js | 2 +- 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/Bootstrap.Admin/Views/Admin/Dicts.cshtml b/Bootstrap.Admin/Views/Admin/Dicts.cshtml index 04c7377c..df23f03a 100644 --- a/Bootstrap.Admin/Views/Admin/Dicts.cshtml +++ b/Bootstrap.Admin/Views/Admin/Dicts.cshtml @@ -3,6 +3,9 @@ ViewBag.Title = "字典表维护"; Layout = "_Default"; } +@section css { + +} @section javascript { @@ -10,6 +13,7 @@ + } @section query { @@ -25,13 +29,15 @@
- @@ -67,13 +73,16 @@
-
+
- diff --git a/Bootstrap.Admin/wwwroot/js/dicts.js b/Bootstrap.Admin/wwwroot/js/dicts.js index 38b3ebb5..1644ae05 100644 --- a/Bootstrap.Admin/wwwroot/js/dicts.js +++ b/Bootstrap.Admin/wwwroot/js/dicts.js @@ -17,7 +17,7 @@ $(function () { { title: "字典标签", field: "Category", sortable: true }, { title: "字典名称", field: "Name", sortable: true }, { title: "字典代码", field: "Code", sortable: true }, - { title: "字典分类", field: "Define", sortable: true, formatter: function (value) { return value === "0" ? "系统使用" : "自定义"; } } + { title: "字典分类", field: "Define", sortable: true, formatter: function (value) { return value === 0 ? "系统使用" : "自定义"; } } ], exportOptions: { fileName: "数据字典",