<?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.mclientNo}" id="mclientNo"/>
|
<input type="hidden" value="#{param.id}" id="id"/>
|
<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().mclientNo"></span>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">设备编号</label>
|
<div class="col-md-9">
|
<input type="text" class="form-control" data-bind="value: o().equipmentno" name="equipmentno" />
|
<span class="text-error"></span>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">设备类型</label>
|
<div class="col-md-9">
|
<select name="" id="type" class="form-control" data-bind="value: o().type, options: tList, event: {change: typeChange(o().type())}"></select>
|
</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().stype, options: stList,optionsText: 'value', optionsValue: 'index'"></select>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">设备名称</label>
|
<div class="col-md-9">
|
<input type="text" class="form-control" data-bind="value: o().eqname" name="eqname" />
|
<span class="text-error"></span>
|
</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().ip" />
|
<span class="text-error"></span>
|
</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().serviceIP" />
|
<span class="text-error"></span>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">设备端口</label>
|
<div class="col-md-9">
|
<input type="text" class="form-control" data-bind="value: o().port" />
|
<span class="text-error"></span>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">服务端口</label>
|
<div class="col-md-9">
|
<input type="text" class="form-control" data-bind="value: o().servicePort" />
|
<span class="text-error"></span>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">用户名</label>
|
<div class="col-md-9">
|
<input type="text" class="form-control" data-bind="value: o().aname" />
|
<span class="text-error"></span>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">密码</label>
|
<div class="col-md-9">
|
<input type="text" class="form-control" data-bind="value: o().password" />
|
<span class="text-error"></span>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">启用</label>
|
<div class="col-md-6" style="padding-top: 7px">
|
<input id="objUsed" type="checkbox" data-bind="checked: o().state" class="ace ace-switch ace-switch-4" />
|
<span class="lbl middle"></span>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">方向</label>
|
<div class="col-md-6" style="padding-top: 7px">
|
<select name="" id="" class="form-control" data-bind="value: o().aspect, options: asList, optionsText: 'value', optionsValue: 'index'"></select>
|
</div>
|
</div>
|
<div class="form-group">
|
<label class="col-md-3 control-label">控制闸机</label>
|
<div class="col-md-6" style="padding-top: 7px">
|
<select name="" id="" class="form-control" data-bind="value: o().controlBarrier, options: cbList, optionsText: 'value', optionsValue: 'index'"></select>
|
</div>
|
</div>
|
<div class="form-group">
|
<div class="col-md-9 col-md-offset-3">
|
<button class="btn btn-sm btn-warning" type="button" id="back">
|
<i class="ace-icon fa fa-arrow-left bigger-110"></i>
|
取消
|
</button>
|
<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_cequipmentEdit.js"></script>
|
</ui:define>
|
</ui:composition>
|
</html>
|