修改BUG:字典表维护字典分类始终显示自定义 closed #IUOLV

#Issue
https://gitee.com/LongbowEnterprise/dashboard/issues?id=IUOLV
This commit is contained in:
Argo Zhang 2019-03-26 15:39:28 +08:00
parent 84bfe1cafa
commit aeda4825df
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
$(function () {
$(function () {
$('table').lgbTable({
url: Dicts.url,
dataBinder: {
@ -17,7 +17,7 @@
{ 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: "数据字典",