2018-06-07 00:45:47 +08:00
|
|
|
|
@model Bootstrap.Admin.Models.NavigatorBarModel
|
2016-10-24 20:53:05 +08:00
|
|
|
|
@{
|
|
|
|
|
ViewBag.Title = "部门管理";
|
|
|
|
|
Layout = "~/Views/Shared/_Default.cshtml";
|
|
|
|
|
}
|
|
|
|
|
@section Javascript {
|
2018-06-07 00:45:47 +08:00
|
|
|
|
<script src="~/js/Groups.js"></script>
|
2016-10-24 20:53:05 +08:00
|
|
|
|
}
|
|
|
|
|
@section query {
|
|
|
|
|
<form class="form-inline" role="form">
|
2016-11-09 14:48:21 +08:00
|
|
|
|
<div class="row">
|
2017-05-28 12:33:20 +08:00
|
|
|
|
<div class="form-group col-md-5">
|
2016-11-09 14:48:21 +08:00
|
|
|
|
<label class="control-label" for="txt_search_name">部门名称</label>
|
|
|
|
|
<input type="text" class="form-control" id="txt_search_name" />
|
|
|
|
|
</div>
|
2017-05-28 12:33:20 +08:00
|
|
|
|
<div class="form-group col-md-5">
|
2016-11-09 14:48:21 +08:00
|
|
|
|
<label class="control-label" for="txt_group_desc">部门描述</label>
|
|
|
|
|
<input type="text" class="form-control" id="txt_group_desc" />
|
|
|
|
|
</div>
|
2017-05-28 12:33:20 +08:00
|
|
|
|
<div class="form-group col-md-2">
|
2017-01-01 19:49:31 +08:00
|
|
|
|
<button type="button" id="btn_query" class="btn btn-primary form-control"><i class="fa fa-search" aria-hidden="true"></i><span>查询</span></button>
|
2016-11-09 14:48:21 +08:00
|
|
|
|
</div>
|
2016-10-24 20:53:05 +08:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
}
|
2016-10-27 17:56:00 +08:00
|
|
|
|
@section toolbar {
|
|
|
|
|
<button id="btn_assignRole" type="button" class="btn btn-info">
|
2016-11-17 16:02:11 +08:00
|
|
|
|
<span class="fa fa-sitemap" aria-hidden="true"></span><span class="hidden-tb">指派角色</span>
|
2016-10-27 17:56:00 +08:00
|
|
|
|
</button>
|
|
|
|
|
<button id="btn_assignUser" type="button" class="btn btn-info">
|
2016-11-17 16:02:11 +08:00
|
|
|
|
<span class="fa fa-user" aria-hidden="true"></span><span class="hidden-tb">指派用户</span>
|
2016-10-27 17:56:00 +08:00
|
|
|
|
</button>
|
2017-01-02 12:45:55 +08:00
|
|
|
|
<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")
|
|
|
|
|
<a id="tb_assignRole" href="#" title="指派角色"><i class="fa fa-sitemap"></i></a>
|
|
|
|
|
<a id="tb_assignUser" href="#" title="指派用户"><i class="fa fa-user"></i></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-10-27 17:56:00 +08:00
|
|
|
|
}
|
2016-10-24 20:53:05 +08:00
|
|
|
|
@section modal {
|
2016-10-24 22:16:30 +08:00
|
|
|
|
<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 14:48:21 +08:00
|
|
|
|
<div class="row">
|
2017-04-14 13:09:18 +08:00
|
|
|
|
<div class="form-group col-sm-6">
|
2016-11-09 14:48:21 +08:00
|
|
|
|
<label class="control-label" for="groupName">部门名称</label>
|
2017-03-30 16:15:45 +08:00
|
|
|
|
<input type="text" class="form-control" id="groupName" name="groupName" placeholder="不可为空,50字以内" maxlength="50" />
|
2016-11-09 14:48:21 +08:00
|
|
|
|
</div>
|
2017-04-14 13:09:18 +08:00
|
|
|
|
<div class="form-group col-sm-6">
|
2016-11-09 14:48:21 +08:00
|
|
|
|
<input type="text" class="form-control hidden" id="groupID" name="groupID" />
|
|
|
|
|
<label class="control-label" for="groupDesc">部门描述</label>
|
2017-03-30 16:15:45 +08:00
|
|
|
|
<input type="text" class="form-control" id="groupDesc" name="groupDesc" placeholder="描述信息(可为空),50字以内" maxlength="50" />
|
2016-11-09 14:48:21 +08:00
|
|
|
|
</div>
|
2016-10-24 22:16:30 +08:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
2016-10-24 20:53:05 +08:00
|
|
|
|
</div>
|
2016-10-27 17:56:00 +08:00
|
|
|
|
}
|
|
|
|
|
@section customModal {
|
|
|
|
|
@Html.Partial("RoleConfig")
|
2016-10-29 17:38:23 +08:00
|
|
|
|
@Html.Partial("UserConfig")
|
2016-10-24 20:53:05 +08:00
|
|
|
|
}
|