2018-09-15 15:50:17 +08:00
|
|
|
|
@model NavigatorBarModel
|
2016-11-03 21:53:10 +08:00
|
|
|
|
@{
|
2016-11-12 20:51:54 +08:00
|
|
|
|
ViewBag.Title = "字典表维护";
|
2018-09-18 01:53:20 +08:00
|
|
|
|
Layout = "_Default";
|
2016-11-03 21:53:10 +08:00
|
|
|
|
}
|
2018-09-18 01:53:20 +08:00
|
|
|
|
@section javascript {
|
2018-11-21 16:11:02 +08:00
|
|
|
|
<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>
|
2018-09-18 01:53:20 +08:00
|
|
|
|
<script src="~/js/dicts.js" asp-append-version="true"></script>
|
2016-11-03 21:53:10 +08:00
|
|
|
|
}
|
|
|
|
|
@section query {
|
2018-08-02 17:59:49 +08:00
|
|
|
|
<form class="form-inline">
|
2018-09-29 17:08:36 +08:00
|
|
|
|
<div class="row">
|
2018-10-04 13:20:47 +08:00
|
|
|
|
<div class="form-group col-sm-6 col-md-auto">
|
2017-03-24 12:58:24 +08:00
|
|
|
|
<label class="control-label" for="txt_dict_cate">字典标签</label>
|
2016-11-17 20:01:28 +08:00
|
|
|
|
<input type="text" class="form-control" id="txt_dict_cate" data-provide="typeahead" />
|
2016-11-09 16:00:15 +08:00
|
|
|
|
</div>
|
2018-10-04 13:20:47 +08:00
|
|
|
|
<div class="form-group col-sm-6 col-md-auto">
|
2016-11-09 16:00:15 +08:00
|
|
|
|
<label class="control-label" for="txt_dict_name">字典名称</label>
|
|
|
|
|
<input type="text" class="form-control" id="txt_dict_name" />
|
|
|
|
|
</div>
|
2018-10-04 13:20:47 +08:00
|
|
|
|
<div class="form-group form-group-dropdown col-sm-6 col-md-auto">
|
2016-11-09 16:00:15 +08:00
|
|
|
|
<label class="control-label" for="txt_dict_define">字典类别</label>
|
2018-08-05 15:31:21 +08:00
|
|
|
|
<div class="dropdown">
|
|
|
|
|
<button id="txt_dict_define" class="btn btn-success dropdown-select dropdown-toggle" data-toggle="dropdown">全部</button>
|
2018-08-10 21:51:21 +08:00
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
|
<a href="#" data-val="">全部</a>
|
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
|
<a href="#" data-val="0">系统使用</a>
|
|
|
|
|
<a href="#" data-val="1">自定义</a>
|
|
|
|
|
</div>
|
2016-11-28 19:46:09 +08:00
|
|
|
|
</div>
|
2016-11-09 16:00:15 +08:00
|
|
|
|
</div>
|
2018-10-04 13:20:47 +08:00
|
|
|
|
<div class="form-group col-sm-6 col-md-auto flex-md-fill justify-content-md-end">
|
2018-08-10 11:51:52 +08:00
|
|
|
|
<button type="button" id="btn_query" class="btn btn-primary btn-fill"><i class="fa fa-search" aria-hidden="true"></i><span>查询</span></button>
|
2016-11-09 16:00:15 +08:00
|
|
|
|
</div>
|
2016-11-09 18:36:49 +08:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
2016-11-03 21:53:10 +08:00
|
|
|
|
}
|
2017-01-02 12:45:55 +08:00
|
|
|
|
@section toolbar {
|
|
|
|
|
<div class="toolbar btn-group dropdown">
|
2018-08-24 16:29:00 +08:00
|
|
|
|
<button class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" type="button"><i class="fa fa-gear"></i></button>
|
2017-01-02 12:45:55 +08:00
|
|
|
|
<div class="dropdown-menu">
|
2018-06-15 16:14:49 +08:00
|
|
|
|
@await Html.PartialAsync("_ButtonBarGroup")
|
2017-01-02 12:45:55 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
}
|
2016-11-03 21:53:10 +08:00
|
|
|
|
@section modal {
|
|
|
|
|
<div class="modal-header">
|
2018-08-03 17:17:16 +08:00
|
|
|
|
<h5 class="modal-title" id="myModalLabel">字典编辑窗口</h5>
|
2016-11-03 21:53:10 +08:00
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2018-08-04 01:51:33 +08:00
|
|
|
|
<form class="form-inline">
|
2018-09-29 17:08:36 +08:00
|
|
|
|
<div class="row">
|
2018-11-22 10:25:53 +08:00
|
|
|
|
<input type="hidden" id="dictID" />
|
2018-08-15 14:13:05 +08:00
|
|
|
|
<div class="form-group col-12">
|
|
|
|
|
<label class="control-label" for="dictCate">字典标签</label>
|
2018-11-21 20:21:58 +08:00
|
|
|
|
<input type="text" class="form-control flex-sm-fill" id="dictCate" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
2018-08-15 14:13:05 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-12">
|
|
|
|
|
<label class="control-label" for="dictName">字典名称</label>
|
2018-11-21 20:21:58 +08:00
|
|
|
|
<input type="text" class="form-control flex-sm-fill" id="dictName" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
2018-08-15 14:13:05 +08:00
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group col-12">
|
|
|
|
|
<label class="control-label" for="dictCode">字典代码</label>
|
2018-11-21 20:21:58 +08:00
|
|
|
|
<input type="text" class="form-control flex-sm-fill" id="dictCode" placeholder="不可为空,50字以内" maxlength="50" data-valid="true" />
|
2018-08-15 14:13:05 +08:00
|
|
|
|
</div>
|
2018-10-04 13:20:47 +08:00
|
|
|
|
<div class="form-group form-group-dropdown col-12">
|
2018-08-15 14:13:05 +08:00
|
|
|
|
<label class="control-label" for="dictDefine">字典类型</label>
|
|
|
|
|
<div class="dropdown">
|
|
|
|
|
<button id="dictDefine" class="btn btn-success dropdown-select dropdown-toggle" data-toggle="dropdown" data-default-val="1">全部</button>
|
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
|
<a href="#" data-val="0">系统使用</a>
|
|
|
|
|
<a href="#" data-val="1">自定义</a>
|
|
|
|
|
</div>
|
2018-08-10 21:51:21 +08:00
|
|
|
|
</div>
|
2016-11-09 21:56:33 +08:00
|
|
|
|
</div>
|
2016-11-03 21:53:10 +08:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2016-10-29 16:46:02 +08:00
|
|
|
|
}
|