<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<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>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var prefix = ctx + "/tools";

    function submitHandler() {
        // $.operate.save(prefix + "/export/mobile", $('#form-fun1-edit').serialize());

        var param = {
            "mobileType": document.getElementsByName("mobileType")[0].checked ? 1 : 2
        };
        // $.operate.save(prefix + "/export/mobile", param);
        $.operate.post(prefix + "/export/mobile", param, function (res) {
        });
    }
</script>
</body>
</html>
