wang-hao-jie
2022-08-25 57dcc73636bb7d8dce89c808eb8cc988a7512264
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('导入指纹读头中的用户')" />
    <th:block th:include="include :: select2-css" />
    <th:block th:include="include :: bootstrap-select-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-control-add">
            <div class="form-group">
                <label class="col-sm-3 control-label">读头ip:</label>
                <div class="col-sm-8">
                    <select id="id" name="id" class="form-control noselect2 selectpicker" multiple data-none-selected-text="请选择" th:with="area=${@mjFingerprintReadHeadServiceImpl.selectMjFingerprintReadHeadList(null)}">
                        <option th:each="a:${area}" th:text="${a.ipOrOther}" th:value="${a.id}"></option>
                    </select>
                <div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "station/workUser"
        $("#form-control-add").validate({
            focusCleanup: true
        });
 
        function submitHandler() {
            if ($.validate.form()) {
                var data = $('#form-control-add').serializeArray();
                $.operate.save(prefix + "/getUsers", data);
            }
        }
 
    </script>
    <th:block th:include="include :: select2-js" />
    <th:block th:include="include :: bootstrap-select-js" />
</body>
</html>