<link rel="stylesheet" href="/thmz/css/bootstrap/css/bootstrap-select.css"/>
<link rel="stylesheet" href="/thmz/css/bootstrap/css/daterangepicker.css"/>
<link rel="stylesheet" href="/thmz/css/custom.min.css">
<link rel="stylesheet" href="/thmz/css/toll_administration.css">
<script src="/thmz/js/dependent/bootstrap-select.js"></script>
<script src="/thmz/js/common/date-util.js"></script>
<script src="/thmz/js/menu_manage.js"></script>
<title>菜单管理页面</title>
<div class="row">
    <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel" >
            <div class="panel-body">
                <form id="formSearch" class="form-horizontal" autocomplete="off">
                    <div class="form-group col-md-12 col-sm-12 col-xs-12" style="margin-left: -40px;">
                        <label class="control-label col-md-1 col-sm-1 col-xs-12" for="nameParam">菜单名称
                        </label>
                        <div class="col-md-2 col-sm-2 col-xs-12">
                            <input type="text" class="form-control" id="nameParam">
                        </div>
                        <button type="button" id="btn_add" class="btn btn-primary"
                                title="新增排班"><i class="fa fa-plus"></i>
                        </button>
                    </div>
                </form>
            </div>
            <table id="tb_table"></table>
        </div>
    </div>
</div>

<!--新增或者编辑菜单信息弹窗开始-->
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true" id="editModal">
    <div class="modal-dialog modal-lg">
        <div class="modal-content" style="width: 420px;margin-left: 250px;margin-top: 120px;">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title">菜单管理【<span id="classTitle">新增</span>】</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-label-left" novalidate id="editUserForm" autocomplete="off">
                    <div class="item form-group thmz_alert">
                        <label class="control-label col-md-4 col-sm-4 col-xs-12" for="name">菜单名称 <span
                                class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input id="id" type="hidden"/>
                            <input id="name" class="form-control optional" type="text"
                                   data-validate-length-range="0,10"
                                   placeholder="请输入">
                        </div>
                    </div>
                    <div class="item form-group thmz_alert">
                        <label class="control-label col-md-4 col-sm-4 col-xs-12" for="parentId">父菜单
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <select class="form-control selectpicker show-tick" data-live-search="true"
                                    title="请选择"  id="parentId" >
                            </select>
                        </div>
                    </div>
                    <div class="item form-group thmz_alert">
                        <label class="control-label col-md-4 col-sm-4 col-xs-12" for="classCode">图标样式
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input id="classCode" class="form-control optional" type="text"
                                   placeholder="请输入">
                        </div>
                    </div>
                    <div class="item form-group thmz_alert">
                        <label class="control-label col-md-4 col-sm-4 col-xs-12" for="menuUrl">菜单地址
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input id="menuUrl" class="form-control optional" type="text"
                                   placeholder="请输入">
                        </div>
                    </div>
                    <div class="item form-group thmz_alert">
                        <label class="control-label col-md-4 col-sm-4 col-xs-12" for="sortValue">排序
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input id="sortValue" class="form-control optional" type="number"
                                   placeholder="请输入">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <input id="requestId" type="hidden"/>
                <button type="button" class="btn btn-primary" id="btn_save">保存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>
<!--新增或者编辑菜单信息弹窗结尾-->



