refactor: 统一字典表 Define 字段显示名称为字典类型

This commit is contained in:
Argo Window10 2019-11-29 12:59:28 +08:00
parent 7417c4909f
commit 31618e3782
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
<input type="text" class="form-control" id="txt_dict_cate" data-provide="typeahead" />
</div>
<div class="form-group col-sm-6 col-md-auto">
<label class="control-label" for="txt_dict_define">字典类</label>
<label class="control-label" for="txt_dict_define">字典类</label>
<input class="form-control" data-toggle="lgbSelect" />
<select data-toggle="lgbSelect" class="d-none" id="txt_dict_define">
<option value="">全部</option>

View File

@ -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: "数据字典",