<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="form-inline m-t" role="form" >
                    <div class="form-group">

                        <select data-placeholder="--选择行业--" name="industryTypeOne" id="industryTypeOne"
                                class="form-control chosen-select-industryType" tabindex="2" required
                                style="font-size: 14px;color: #9b9ea3;">
                            <option value="">--选择行业--</option>
                        </select>
                        <select data-placeholder="--数据级别--" name="dataLevel" id="dataLevel"
                                style="width: 130px;"   class="form-control chosen-select-level" tabindex="2" required >
                            <option value="">--数据级别--</option>
                        </select>


                        <select shiro:hasPermission="datas:data:city" data-placeholder="--选择城市--" name="unitCity" id="unitCity"
                                style="width: 130px;" class="form-control chosen-select-city" tabindex="2" required>
                            <option value="">--选择城市--</option>
                        </select>
                        <input id="reporterUnit" type="text" class="form-control"
                               placeholder="数据处理者名称">
                        <input id="dataName" type="text" class="form-control"
                               placeholder="数据名称">

                        <button class="btn btn-success" onclick="reLoad()">查询</button>
                        <button class="btn btn-success" onclick="reset()">重置</button>
                    </div>
                </div>
                <div class="fixed-table-toolbar">
                    <div class="columns pull-left">
<!--                        <button shiro:hasPermission="datas:dataSendProvince:add" type="button" class="btn  btn-warning"-->
<!--                                onclick="add()">-->
<!--                            <i class="fa fa-plus" aria-hidden="true"></i> 密文导入-->
<!--                        </button>-->

<!--                        <button shiro:hasPermission="datas:dataSendProvince:plainTextImport" type="button" class="btn  btn-primary"-->
<!--                                onclick="dataImport()">-->
<!--                            <i class="fa fa-plus" aria-hidden="true"></i> 明文导入-->
<!--                        </button>-->

                        <button shiro:hasPermission="datas:dataSendProvince:encryptExports" type="button" class="btn  btn-warning"
                                onclick="encryptExports()">
                            <i class="fa fa-sign-out" aria-hidden="true"></i> 加密导出
                        </button>

                        <button shiro:hasPermission="datas:dataSendProvince:export" type="button" class="btn  btn-primary"
                                onclick="batchExports()">
                            <i class="fa fa-sign-out" aria-hidden="true"></i> 明文导出
                        </button>

                        <button shiro:hasPermission="datas:dataSendProvince:sendProvince" type="button" class="btn  btn-primary"
                                onclick="sendProvince()">
                            <i class="fa fa-share" aria-hidden="true"></i> 上报到省级
                        </button>

                    </div>

                </div>
                <table id="exampleTable" data-mobile-responsive="true"
                       style="word-break:break-all; word-wrap:break-all;table-layout:fixed">
                </table>
            </div>
        </div>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_sendVerify_h = 'hidden';
        var s_remove_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="datas:dataSendProvince:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>

<!--上报到省级-->
<div shiro:hasPermission="datas:dataSendProvince:sendProvince">
    <script type="text/javascript">
        s_sendVerify_h = '';
    </script>
</div>
<div shiro:hasPermission="datas:dataSendProvince:remove">
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/plugins/distpicker/distpicker.data.min.js"></script>
<script type="text/javascript" src="/js/plugins/distpicker/distpicker.min.js"></script>
<script type="text/javascript" src="/js/appjs/dict.js"></script>
<script type="text/javascript" src="/js/appjs/datas/dataSendProvince/data.js"></script>

</body>
</html>