hjg
2023-10-14 f6c2f15c37aef4675dda01fb5ec17cde4e141c3f
提交 | 用户 | 时间
58d006 1 <?xml version="1.0" encoding="UTF-8"?>
A 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:c="http://java.sun.com/jsp/jstl/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:f="http://java.sun.com/jsf/core"
7 xmlns:ui="http://java.sun.com/jsf/facelets">
8 <ui:composition template="/template/nit/tmp_brief.xhtml">
9     <ui:define name="acss">
10         <style>
11         .form-body span.text {
12             line-height: 34px
13         }
14         </style>
15     </ui:define>
16     <ui:define name="acontent">
17         <input type="hidden" value="#{param.mclientNo}" id="mclientNo"/>
18         <input type="hidden" value="#{param.id}" id="id"/>
19         <div class="col-md-5">
20             <form class="form-horizontal" id="form">
21                 <div class="form-body">
22                     <div class="form-group">
23                         <label class="col-md-3 control-label">客户端编号</label>
24                         <div class="col-md-9">
25                             <span class="text" data-bind="text: o().mclientNo"></span>
26                         </div>
27                     </div>
28                     <div class="form-group">
29                         <label class="col-md-3 control-label">设备编号</label>
30                         <div class="col-md-9">
31                             <input type="text" class="form-control" data-bind="value: o().equipmentno" name="equipmentno" />
32                             <span class="text-error"></span>
33                         </div>
34                     </div>
35                     <div class="form-group">
36                         <label class="col-md-3 control-label">设备类型</label>
37                         <div class="col-md-9">
38                             <select name="" id="type" class="form-control" data-bind="value: o().type, options: tList, event: {change: typeChange(o().type())}"></select>
39                         </div>
40                     </div>
41                     <div class="form-group">
42                         <label class="col-md-3 control-label">设备型号</label>
43                         <div class="col-md-9">
44                             <select name="" id="" class="form-control" data-bind="value: o().stype, options: stList,optionsText: 'value', optionsValue: 'index'"></select>
45                         </div>
46                     </div>
47                     <div class="form-group">
48                         <label class="col-md-3 control-label">设备名称</label>
49                         <div class="col-md-9">
50                             <input type="text" class="form-control" data-bind="value: o().eqname" name="eqname" />
51                             <span class="text-error"></span>
52                         </div>
53                     </div>
54                     <div class="form-group">
55                         <label class="col-md-3 control-label">设备IP地址</label>
56                         <div class="col-md-9">
57                             <input type="text" class="form-control" data-bind="value: o().ip" />
58                             <span class="text-error"></span>
59                         </div>
60                     </div>
61                     <div class="form-group">
62                         <label class="col-md-3 control-label">服务IP地址</label>
63                         <div class="col-md-9">
64                             <input type="text" class="form-control" data-bind="value: o().serviceIP" />
65                             <span class="text-error"></span>
66                         </div>
67                     </div>
68                     <div class="form-group">
69                         <label class="col-md-3 control-label">设备端口</label>
70                         <div class="col-md-9">
71                             <input type="text" class="form-control" data-bind="value: o().port" />
72                             <span class="text-error"></span>
73                         </div>
74                     </div>
75                     <div class="form-group">
76                         <label class="col-md-3 control-label">服务端口</label>
77                         <div class="col-md-9">
78                             <input type="text" class="form-control" data-bind="value: o().servicePort" />
79                             <span class="text-error"></span>
80                         </div>
81                     </div>
82                     <div class="form-group">
83                         <label class="col-md-3 control-label">用户名</label>
84                         <div class="col-md-9">
85                             <input type="text" class="form-control" data-bind="value: o().aname" />
86                             <span class="text-error"></span>
87                         </div>
88                     </div>
89                     <div class="form-group">
90                         <label class="col-md-3 control-label">密码</label>
91                         <div class="col-md-9">
92                             <input type="text" class="form-control" data-bind="value: o().password" />
93                             <span class="text-error"></span>
94                         </div>
95                     </div>
96                     <div class="form-group">
97                         <label class="col-md-3 control-label">启用</label>
98                         <div class="col-md-6" style="padding-top: 7px">
99                             <input id="objUsed" type="checkbox" data-bind="checked: o().state" class="ace ace-switch ace-switch-4" />
100                             <span class="lbl middle"></span>
101                         </div>
102                     </div>
103                     <div class="form-group">
104                         <label class="col-md-3 control-label">方向</label>
105                         <div class="col-md-6" style="padding-top: 7px">
106                             <select name="" id="" class="form-control" data-bind="value: o().aspect, options: asList, optionsText: 'value', optionsValue: 'index'"></select>
107                         </div>
108                     </div>
109                     <div class="form-group">
110                         <label class="col-md-3 control-label">控制闸机</label>
111                         <div class="col-md-6" style="padding-top: 7px">
112                             <select name="" id="" class="form-control" data-bind="value: o().controlBarrier, options: cbList, optionsText: 'value', optionsValue: 'index'"></select>
113                         </div>
114                     </div>
115                     <div class="form-group">
116                         <div class="col-md-9 col-md-offset-3">
117                             <button class="btn btn-sm btn-warning" type="button" id="back">
118                                 <i class="ace-icon fa fa-arrow-left bigger-110"></i>
119                                 取消
120                             </button>
121                             <button class="btn btn-sm btn-info" type="button" id="save">
122                                 <i class="ace-icon fa fa-save bigger-110"></i>
123                                 保存
124                             </button>
125                         </div>
126                     </div>
127                 </div>
128             </form>
129         </div>
130     </ui:define>
131     <ui:define name="myscript">
132         <script src="js/gates_cequipmentEdit.js"></script>
133     </ui:define>
134 </ui:composition>
135 </html>