<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<!DOCTYPE html>
<html>
<head lang="en">
	<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
 	<%@include file="../../frame/assets/header-all.jsp"%>
	<style>
	.form-line .text-content{
		width:120px;
	}
	</style>
</head>
<body class="easyui-layout">
<form id="childform" class="easyui-form" data-options="novalidate:true">
	<input id="bjxxid" type="hidden" />
	<div class="form-line clearfix" >
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警编号：</span> 
			<input id="bjbh" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="报警编号必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>分析报警编号：</span> 
			<input id="fxbjbh" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="分析报警编号必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>内部ID：</span> 
			<input id="nbid" class="easyui-textbox" data-options="required:false,validType:'length[0,80]'" missingMessage="内部ID必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>分析设备编号：</span> 
			<input id="fxsbbh" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="分析设备编号必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>分析通道编号：</span> 
			<input id="fxtdbh" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="分析通道编号必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>分析设备IP：</span> 
			<input id="fxsbip" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="分析设备IP必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>视频源系统编号-未使用：</span> 
			<input id="spyxtbh" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="视频源系统编号-未使用必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>视频源通道编号-未使用：</span> 
			<input id="spytdbh" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="视频源通道编号-未使用必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警类型：</span> 
			<input id="bjlx" class="easyui-textbox" data-options="required:false,validType:'length[0,10]'" missingMessage="报警类型必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>服务端收到开始报警时间：</span> 
			<input id="fwdsdksbjsj" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="服务端收到开始报警时间必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>服务端收到报警开始时间：</span> 
			<input id="fwdsdbjkssj" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="服务端收到报警开始时间必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>服务端收到结束报警时间：</span> 
			<input id="fwdsdjsbjsj" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="服务端收到结束报警时间必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>视频源报警开始时间-未使用：</span> 
			<input id="spybjkssj" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="视频源报警开始时间-未使用必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>视频源报警时间-未使用：</span> 
			<input id="spybjsj" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="视频源报警时间-未使用必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>视频源报警结束时间-未使用：</span> 
			<input id="spybjjssj" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="视频源报警结束时间-未使用必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警录像路径：</span> 
			<input id="bjlxlj" class="easyui-textbox" data-options="required:false,validType:'length[0,150]'" missingMessage="报警录像路径必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警图片-未使用：</span> 
			<input id="bjtp" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="报警图片-未使用必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警图片行-未使用：</span> 
			<input id="bjtph" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="报警图片行-未使用必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警图片列-未使用：</span> 
			<input id="bjtpl" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="报警图片列-未使用必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警图片大小-未使用：</span> 
			<input id="bjtpdx" class="easyui-textbox" data-options="required:false,validType:'length[0,10]'" missingMessage="报警图片大小-未使用必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警图片路径：</span> 
			<input id="bjtplj" class="easyui-textbox" data-options="required:false,validType:'length[0,150]'" missingMessage="报警图片路径必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>分析设备名称：</span> 
			<input id="fxsbmc" class="easyui-textbox" data-options="required:false,validType:'length[0,80]'" missingMessage="分析设备名称必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>状态1-未使用：</span> 
			<input id="zt1" class="easyui-textbox" data-options="required:false,validType:'length[0,10]'" missingMessage="状态1-未使用必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>状态2-未使用：</span> 
			<input id="zt2" class="easyui-textbox" data-options="required:false,validType:'length[0,10]'" missingMessage="状态2-未使用必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>状态3：</span> 
			<input id="zt3" class="easyui-textbox" data-options="required:false,validType:'length[0,10]'" missingMessage="状态3必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>转换后的报警名称：</span> 
			<input id="zhhbjmc" class="easyui-textbox" data-options="required:false,validType:'length[0,80]'" missingMessage="转换后的报警名称必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警等级-未使用：</span> 
			<input id="bjdj" class="easyui-textbox" data-options="required:false,validType:'length[0,10]'" missingMessage="报警等级-未使用必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>用户ID-未使用：</span> 
			<input id="yhid" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="用户ID-未使用必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>ack时间-未使用：</span> 
			<input id="sctsj" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="ack时间-未使用必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>报警中文名称：</span> 
			<input id="bjzwmc" class="easyui-textbox" data-options="required:false,validType:'length[0,80]'" missingMessage="报警中文名称必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>预置位编号：</span> 
			<input id="yzwbh" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="预置位编号必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>状态编号-未使用：</span> 
			<input id="ztbh" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="状态编号-未使用必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>DVU编号-未使用：</span> 
			<input id="dvuid" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="DVU编号-未使用必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>创建人员：</span> 
			<input id="cjry" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="创建人员必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>创建日期：</span> 
			<input id="cjrq" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="创建日期必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>修改人员：</span> 
			<input id="xgry" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'" missingMessage="修改人员必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>修改日期：</span> 
			<input id="xgrq" class="easyui-textbox" data-options="required:false,validType:'length[0,19]'" missingMessage="修改日期必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>备注：</span> 
			<input id="bz" class="easyui-textbox" data-options="required:false,validType:'length[0,80]'" missingMessage="备注必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>扩展1：</span> 
			<input id="kz1" class="easyui-textbox" data-options="required:false,validType:'length[0,64]'" missingMessage="扩展1必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>扩展2：</span> 
			<input id="kz2" class="easyui-textbox" data-options="required:false,validType:'length[0,64]'" missingMessage="扩展2必填项" > 
		</div> 
	</div>
	<div class="form-line clearfix">
		<div class="fl">
			<span class="text-content"><em class="must"></em>扩展3：</span> 
			<input id="kz3" class="easyui-textbox" data-options="required:false,validType:'length[0,64]'" missingMessage="扩展3必填项" > 
		</div> 
		<div class="fl">
			<span class="text-content"><em class="must"></em>扩展4：</span> 
			<input id="kz4" class="easyui-textbox" data-options="required:false,validType:'length[0,64]'" missingMessage="扩展4必填项" > 
		</div> 
	</div>

	<div class="form-line hidden">
		 
	</div>
</form>
</body>
</html>
<script type="text/javascript">
var winId	= $.getUrlParam("winId");
var records = top.$("#"+winId).panel("options").data;
$(function(){
	//加载下拉选项
	setTimeout(loadValue,500);
});
function loadValue(){
	if(records){
		$("#bjxxid").val(records.bjxxid);
		$("#bjbh").textbox("setValue",records.bjbh);
		$("#fxbjbh").textbox("setValue",records.fxbjbh);
		$("#nbid").textbox("setValue",records.nbid);
		$("#fxsbbh").textbox("setValue",records.fxsbbh);
		$("#fxtdbh").textbox("setValue",records.fxtdbh);
		$("#fxsbip").textbox("setValue",records.fxsbip);
		$("#spyxtbh").textbox("setValue",records.spyxtbh);
		$("#spytdbh").textbox("setValue",records.spytdbh);
		$("#bjlx").textbox("setValue",records.bjlx);
		$("#fwdsdksbjsj").textbox("setValue",records.fwdsdksbjsj);
		$("#fwdsdbjkssj").textbox("setValue",records.fwdsdbjkssj);
		$("#fwdsdjsbjsj").textbox("setValue",records.fwdsdjsbjsj);
		$("#spybjkssj").textbox("setValue",records.spybjkssj);
		$("#spybjsj").textbox("setValue",records.spybjsj);
		$("#spybjjssj").textbox("setValue",records.spybjjssj);
		$("#bjlxlj").textbox("setValue",records.bjlxlj);
		$("#bjtp").textbox("setValue",records.bjtp);
		$("#bjtph").textbox("setValue",records.bjtph);
		$("#bjtpl").textbox("setValue",records.bjtpl);
		$("#bjtpdx").textbox("setValue",records.bjtpdx);
		$("#bjtplj").textbox("setValue",records.bjtplj);
		$("#fxsbmc").textbox("setValue",records.fxsbmc);
		$("#zt1").textbox("setValue",records.zt1);
		$("#zt2").textbox("setValue",records.zt2);
		$("#zt3").textbox("setValue",records.zt3);
		$("#zhhbjmc").textbox("setValue",records.zhhbjmc);
		$("#bjdj").textbox("setValue",records.bjdj);
		$("#yhid").textbox("setValue",records.yhid);
		$("#sctsj").textbox("setValue",records.sctsj);
		$("#bjzwmc").textbox("setValue",records.bjzwmc);
		$("#yzwbh").textbox("setValue",records.yzwbh);
		$("#ztbh").textbox("setValue",records.ztbh);
		$("#dvuid").textbox("setValue",records.dvuid);
		$("#cjry").textbox("setValue",records.cjry);
		$("#cjrq").textbox("setValue",records.cjrq);
		$("#xgry").textbox("setValue",records.xgry);
		$("#xgrq").textbox("setValue",records.xgrq);
		$("#bz").textbox("setValue",records.bz);
		$("#kz1").textbox("setValue",records.kz1);
		$("#kz2").textbox("setValue",records.kz2);
		$("#kz3").textbox("setValue",records.kz3);
		$("#kz4").textbox("setValue",records.kz4);

	}else{
		
	}
}
/*
var xx1 = $("#xx1").textbox("getValue");//文本
var xx2 = $("#xx2").combobox("getValue");//下拉
var xx3 = $("#xx3").datetimebox("getValue");//日期
var xx4 = $("#xx4").numberbox("getValue");//数字
$('#xx5').combobox({  
	url:'xtclAction!select_Xtcl.do?csdl=xx5&page=1&rows=1000', 
	textField:"csmc",  
	valueField:"csdm",
	panelWidth:148,
	loadFilter:function(data){
		//data.unshift({"csmc":"选择","csdm":""});
		return data;
	}
});
$("#xx6").textbox("setValue",records.xx6);
$("#xx7").combobox("setValue",records.xx7);
$("#xx8").combobox("setValue",records.xx8);
$("#xx9").datetimebox("setValue",$.getNowTime());
$("#xx10").datetimebox("setValue",$.getTodayStart('00:00:00',-3));//往前推3天  +'00:00:00'
$("#xx11").datetimebox("setValue",$.getTodayEnd());//当天 +'23:59:59'	
$("#xx12").datetimebox("setValue",$.getDateNumToStr(records.xx12));
$("#xx13").numberbox("setValue",records.xx13);
*/
</script>
