2016-11-03 21:53:10 +08:00
|
|
|
@model NavigatorBarModel
|
|
|
|
@{
|
2016-11-12 20:51:54 +08:00
|
|
|
ViewBag.Title = "字典表维护";
|
2016-11-03 21:53:10 +08:00
|
|
|
Layout = "~/Views/Shared/_Default.cshtml";
|
|
|
|
}
|
|
|
|
@section Javascript {
|
2016-11-17 20:01:28 +08:00
|
|
|
<script src="~/Content/js/bootstrap3-typeahead.js"></script>
|
2016-11-03 21:53:10 +08:00
|
|
|
<script src="~/scripts/Dicts.js"></script>
|
|
|
|
}
|
|
|
|
@section query {
|
|
|
|
<form class="form-inline" role="form">
|
2016-11-09 16:00:15 +08:00
|
|
|
<div class="row">
|
2017-01-15 12:27:12 +08:00
|
|
|
<div class="form-group col-sm-6 col-lg-3">
|
2016-11-09 16:00:15 +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>
|
2017-01-15 12:27:12 +08:00
|
|
|
<div class="form-group col-sm-6 col-lg-3">
|
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>
|
2017-01-15 12:27:12 +08:00
|
|
|
<div class="form-group col-sm-6 col-lg-3">
|
2016-11-09 16:00:15 +08:00
|
|
|
<label class="control-label" for="txt_dict_define">字典类别</label>
|
2016-11-28 19:46:09 +08:00
|
|
|
<div class="btn-group btn-select">
|
|
|
|
<button id="txt_dict_define" type="button" class="btn btn-success" data-val="">全部</button>
|
|
|
|
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<span class="caret"></span>
|
|
|
|
<span class="sr-only">下拉菜单</span>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu" role="menu">
|
|
|
|
<li><a href="#" data-val="">全部</a></li>
|
|
|
|
<li class="divider"></li>
|
|
|
|
<li><a href="#" data-val="0">系统使用</a></li>
|
|
|
|
<li><a href="#" data-val="1">自定义</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2016-11-09 16:00:15 +08:00
|
|
|
</div>
|
2017-01-15 12:27:12 +08:00
|
|
|
<div class="form-group col-sm-6 col-lg-3">
|
2017-01-01 19:49:31 +08:00
|
|
|
<button type="button" id="btn_query" class="btn btn-primary form-control"><span class="fa fa-search" aria-hidden="true"></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">
|
|
|
|
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button"><i class="fa fa-gear"></i></button>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
@Html.Partial("_ButtonBarGroup")
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
}
|
2016-11-03 21:53:10 +08:00
|
|
|
@section modal {
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
|
|
<h4 class="modal-title" id="myModalLabel">字典编辑窗口</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<form class="form-inline" id="dataForm" name="dataForm" role="form">
|
2016-11-09 21:56:33 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-lg-6">
|
|
|
|
<input type="text" class="form-control hidden" id="dictID" name="dictID" />
|
|
|
|
<label class="control-label" for="dictName">字典名称</label>
|
|
|
|
<input type="text" class="form-control" id="dictName" name="dictName" placeholder="不可为空" maxlength="50" />
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-lg-6">
|
|
|
|
<label class="control-label" for="dictCode">字典代码</label>
|
|
|
|
<input type="text" class="form-control" id="dictCode" name="dictCode" placeholder="不可为空" maxlength="50" />
|
2016-12-09 13:08:53 +08:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-lg-6">
|
|
|
|
<label class="control-label" for="dictCate">字典分项</label>
|
|
|
|
<input type="text" class="form-control" id="dictCate" name="dictCate" placeholder="不可为空" maxlength="50" />
|
2016-11-09 21:56:33 +08:00
|
|
|
</div>
|
|
|
|
<div class="form-group col-lg-6">
|
|
|
|
<label class="control-label" for="dictDefine">字典类别</label>
|
2016-11-28 19:46:09 +08:00
|
|
|
<div class="btn-group dropup btn-select">
|
|
|
|
<button id="dictDefine" type="button" class="btn btn-success" data-default-val="1" data-val="">全部</button>
|
|
|
|
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<span class="caret"></span>
|
|
|
|
<span class="sr-only">下拉菜单</span>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu" role="menu">
|
|
|
|
<li><a href="#" data-val="0">系统使用</a></li>
|
|
|
|
<li><a href="#" data-val="1">自定义</a></li>
|
|
|
|
</ul>
|
|
|
|
</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
|
|
|
}
|