hjg
2023-11-17 3780c5e65b05bf23020810798babc6d20311fa79
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="/template/nit/tmp_brief.xhtml">
    <ui:define name="acss">
        <style>
        .form-body span.text {
            line-height: 34px
        }
        </style>
    </ui:define>
    <ui:define name="acontent">
        <input type="hidden" value="#{param.relationno}" id="relationno"/>
        <input type="hidden" value="#{param.name}" id="name"/>
        <div class="col-md-5">
            <form class="form-horizontal" id="form">
                <div class="form-body">
                    <div class="form-group">
                        <label class="col-md-3 control-label">门禁编号</label>
                        <div class="col-md-9">
                            <span class="text" data-bind="text: o().relationno"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">门禁名称</label>
                        <div class="col-md-9">
                            <span class="text" data-bind="text: o().relationname"></span>
                        </div>
                    </div>
                    <!--
                    <div class="form-group">
                        <label class="col-md-3 control-label">客户端编号</label>
                        <div class="col-md-9">
                            <span class="text" data-bind="text: o().mclientNo"></span>
                        </div>
                    </div>
                    -->
                    <div class="form-group">
                        <label class="col-md-3 control-label">客户端类型</label>
                        <div class="col-md-9">
                            <select name="" id="" class="form-control" data-bind="value: o().type, options: tList"></select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">IP地址</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().ipadd" name="ip" />
                            <span class="text-error"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">KEY</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().keys" />
                            <span class="text-error"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">URI</label>
                        <div class="col-md-9">
                            <input type="text" class="form-control" data-bind="value: o().uri" />
                            <span class="text-error"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-3 control-label">备注</label>
                        <div class="col-md-9">
                            <textarea name="" id="" cols="30" rows="3" class="form-control" data-bind="value: o().note"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-9 col-md-offset-3">
                            <button class="btn btn-sm btn-info" type="button" id="save">
                                <i class="ace-icon fa fa-save bigger-110"></i>
                                保存
                            </button>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </ui:define>
    <ui:define name="myscript">
        <script src="js/gates_mclient.js"></script>
    </ui:define>
</ui:composition>
</html>