refactor: 统一字典表 Define 字段显示名称为字典类型
This commit is contained in:
parent
a901aa4ee6
commit
81bb7132b1
|
@ -28,7 +28,7 @@
|
||||||
<input type="text" class="form-control" id="txt_dict_cate" data-provide="typeahead" />
|
<input type="text" class="form-control" id="txt_dict_cate" data-provide="typeahead" />
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-sm-6 col-md-auto">
|
<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" />
|
<input class="form-control" data-toggle="lgbSelect" />
|
||||||
<select data-toggle="lgbSelect" class="d-none" id="txt_dict_define">
|
<select data-toggle="lgbSelect" class="d-none" id="txt_dict_define">
|
||||||
<option value="">全部</option>
|
<option value="">全部</option>
|
||||||
|
|
|
@ -17,7 +17,7 @@ $(function () {
|
||||||
{ title: "字典标签", field: "Category", sortable: true },
|
{ title: "字典标签", field: "Category", sortable: true },
|
||||||
{ title: "字典名称", field: "Name", sortable: true },
|
{ title: "字典名称", field: "Name", sortable: true },
|
||||||
{ title: "字典代码", field: "Code", 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: {
|
exportOptions: {
|
||||||
fileName: "数据字典",
|
fileName: "数据字典",
|
||||||
|
|
Loading…
Reference in New Issue