2019-03-22 15:46:32 +08:00
|
|
|
|
@model NavigatorBarModel
|
|
|
|
|
@{
|
|
|
|
|
ViewBag.Title = "字典表维护";
|
|
|
|
|
Layout = "_Default";
|
|
|
|
|
}
|
2019-07-19 22:20:55 +08:00
|
|
|
|
@section css {
|
|
|
|
|
<link href="~/lib/longbow-select/longbow-select.css" rel="stylesheet" />
|
|
|
|
|
}
|
2019-03-22 15:46:32 +08:00
|
|
|
|
@section javascript {
|
|
|
|
|
<environment include="Development">
|
|
|
|
|
<script src="~/lib/bootstrap-3-typeahead/bootstrap3-typeahead.js"></script>
|
|
|
|
|
</environment>
|
|
|
|
|
<environment exclude="Development">
|
|
|
|
|
<script src="~/lib/bootstrap-3-typeahead/bootstrap3-typeahead.min.js"></script>
|
|
|
|
|
</environment>
|
2019-07-19 22:20:55 +08:00
|
|
|
|
<script src="~/lib/longbow-select/longbow-select.js"></script>
|
2019-03-22 15:46:32 +08:00
|
|
|
|
<script src="~/js/dicts.js" asp-append-version="true"></script>
|
|
|
|
|
}
|
|
|
|
|
@section query {
|
|
|
|
|
<form class="form-inline">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="form-group col-sm-6 col-md-auto">
|
|
|
|
|
<label class="control-label" for="txt_dict_cate">字典标签</label>
|
|
|
|
|
<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_name">字典名称</label>
|
|
|
|
|
<input type="text" class="form-control" id="txt_dict_name" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group form-group-dropdown col-sm-6 col-md-auto">
|
|
|
|
|
<label class="control-label" for="txt_dict_define">字典类别</label>
|
2019-07-19 22:20:55 +08:00
|
|
|
|
<div class="form-select" data-toggle="lgbSelect">
|
|
|
|
|
<input type="hidden" data-toggle="lgbSelect" id="txt_dict_define" />
|
|
|
|
|
<input type="text" readonly="readonly" class="form-control form-select-input" placeholder="请选择 ...">
|
|
|
|
|
<span class="form-select-append"><i class="fa fa-angle-up"></i></span>
|
|
|
|
|
<div class="dropdown-menu-arrow"></div>
|
2019-03-22 15:46:32 +08:00
|
|
|
|
<div class="dropdown-menu">
|
2019-07-19 22:20:55 +08:00
|
|
|
|
<a class="dropdown-item" href="#" data-val="">全部</a>
|
|
|
|
|
<a class="dropdown-item" href="#" data-val="0">系统使用</a>
|
|
|
|
|
<a class="dropdown-item" href="#" data-val="1">自定义</a>
|
2019-03-22 15:46:32 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-sm-6 col-md-auto flex-md-fill justify-content-md-end">
|
|
|
|
|
<button type="button" id="btn_query" class="btn btn-primary btn-fill"><i class="fa fa-search" aria-hidden="true"></i><span>查询</span></button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
}
|
2019-06-26 12:01:34 +08:00
|
|
|
|
@section cardbody {
|
2019-03-27 14:09:42 +08:00
|
|
|
|
<div class="alert alert-danger" role="alert" asp-condition="@Model.IsDemo">
|
|
|
|
|
<span>演示系统禁止修改系统使用字典配置项</span>
|
|
|
|
|
</div>
|
|
|
|
|
}
|
2019-03-22 15:46:32 +08:00
|
|
|
|
@section modal {
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h5 class="modal-title" id="myModalLabel">字典编辑窗口</h5>
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<form class="form-inline">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<input type="hidden" id="dictID" />
|
|
|
|
|
<div class="form-group col-12">
|
|
|
|
|
<label class="control-label" for="dictCate">字典标签</label>
|
|
|
|
|
<input type="text" class="form-control flex-sm-fill" id="dictCate" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-12">
|
|
|
|
|
<label class="control-label" for="dictName">字典名称</label>
|
|
|
|
|
<input type="text" class="form-control flex-sm-fill" id="dictName" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-12">
|
|
|
|
|
<label class="control-label" for="dictCode">字典代码</label>
|
2019-04-27 11:08:45 +08:00
|
|
|
|
<input type="text" class="form-control flex-sm-fill" id="dictCode" placeholder="不可为空,2000字以内" maxlength="2000" data-valid="true" />
|
2019-03-22 15:46:32 +08:00
|
|
|
|
</div>
|
2019-07-19 22:20:55 +08:00
|
|
|
|
<div class="form-group col-12">
|
2019-03-22 15:46:32 +08:00
|
|
|
|
<label class="control-label" for="dictDefine">字典类型</label>
|
2019-07-19 22:20:55 +08:00
|
|
|
|
<div class="form-select" data-toggle="lgbSelect">
|
|
|
|
|
<input type="hidden" data-toggle="lgbSelect" id="dictDefine" data-default-val="1" />
|
|
|
|
|
<input type="text" readonly="readonly" class="form-control form-select-input" placeholder="请选择 ...">
|
|
|
|
|
<span class="form-select-append"><i class="fa fa-angle-up"></i></span>
|
|
|
|
|
<div class="dropdown-menu-arrow"></div>
|
2019-03-22 15:46:32 +08:00
|
|
|
|
<div class="dropdown-menu">
|
2019-07-19 22:20:55 +08:00
|
|
|
|
<a class="dropdown-item" href="#" data-val="0">系统使用</a>
|
|
|
|
|
<a class="dropdown-item" href="#" data-val="1">自定义</a>
|
2019-03-22 15:46:32 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2016-10-29 16:46:02 +08:00
|
|
|
|
}
|