<!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="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <div class="form-group">
        <div class="radio check-box">
            <input type="radio" value="1" name="mobileType" checked> 支付用户</label>
        </div>
        <div class="radio check-box">
            <input type="radio" value="2" name="mobileType"> 全部用户</label>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label">演出id：</label>
        <div class="input-group date">
            <input id="performanceId" class="form-control" type="text">
        </div>
    </div>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">

    var options = {
        modalName: "订单手机号",
        exportUrl:[[${url}]],
    }
    $.table.init(options);

    function submitHandler() {
        var param = {
            "mobileType": document.getElementsByName("mobileType")[0].checked ? 1 : 2,
            "performanceId": $('#performanceId').val()
        };
        $.table.exportExcel("", param)
        // $.operate.post([[${url}]], param, function (res) {
        // });
    }
</script>
</body>
</html>
