<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('【请填写功能名称】列表')" />
</head>
<body class="gray-bg">
    <input id="userId" type="hidden"  th:value="${userId}" />
     <div class="container-div">
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('system:temperature:edit')}]];
        var removeFlag = [[${@permission.hasPermi('system:temperature:remove')}]];
        var prefix = ctx + "people/temperature";
        var userId =$("#userId").val();
        $(function() {
            var options = {
                url: prefix + "/list/"+userId,
                modalName: "用户体温",
                columns: [{
                    checkbox: true
                },
                {
                    field : 'userId',
                    visible: false
                },
                {
                    field : 'temperature', 
                    title : '温度'
                },
                {
                    field : 'createTime',
                    title : '日期'
                }
                ]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>