<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <script th:replace="common/head"></script>
    </head>
    <body>
        <input id="is_reload" value="2" type="hidden" />
        <div class="layui-fluid">
            <input id="role_id" type="hidden"th:value="${roleId}" />
            <div class="layui-card">
                <!-- 表格 -->
                <div class="layui-card-body">
                    <table id="data_entity_table" lay-filter="data_table_event"></table>
                </div>
            </div>

        </div>

    </body>


    <!-- 用户名 -->
    <script type="text/html" id="user_name">
        {{ d.account.loginName }}
    </script>
    <!-- 登陆名 -->
    <script type="text/html" id="login_name">
        {{ d.account.loginName }}
    </script>
    <!-- 归属机构 -->
    <script type="text/html" id="org_name">
        {{ d.account.orgName }}
    </script>

    <!--头部按钮-->
    <script type="text/html" id="table_head">
        <div>
            <button class="layui-btn layuiadmin-btn-useradmin" lay-event="add">绑定用户</button>
            <button class="layui-btn layuiadmin-btn-useradmin" lay-event="untie">解除绑定</button>
        </div>
    </script>

    <!-- 工具栏 -->
    <script type="text/html" id="table-useradmin-webuser">
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="untie">
            <span>解除</span>
        </a>
    </script>

    <!-- javascript -->
    <script th:src="@{'/layui/layui.js'}"></script>
    <script>
        layui.config({
            base: '/' //静态资源所在路径
        });
    </script>
    <script th:src="@{'/js/permissions/rold-bind.js'}"></script>

</html>