<%@ 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></style>
</head>
<body>
 <head>
	<script>
	  var alarmcode	= $.getUrlParam("alarmcode");
	  if(String(alarmcode)==='null') alarmcode ='';
	  var alarmname	= $.getUrlParam("alarmname");
	  if(String(alarmname)==='null') alarmname ='';
	  var alarmcodetype	= $.getUrlParam("alarmcodetype");
	  $(function(){
	     $("#alarmcode").textbox('setValue' ,alarmcode || '');
	     $("#alarmname").textbox('setValue',decodeURI(alarmname) || '');
	     $("#alarmcodetype").combobox('setValue',alarmcodetype || '1');
      });
	</script>
</head>
	<body id="bd" class="easyui-layout" style="border:none; margin-left:13px;" >
		<div id='newRightPanel'>
			<div class="form-line clearfix">
				<div class="fl">
					<span class="text-content"><em class="must">*</em>目录编码:</span>
					<input data-options="prompt:'告警代码..'"  class='easyui-textbox' id='alarmcode'/>
				</div>
			</div>
			<div class="form-line clearfix">
				<div class="fl">
					<span class="text-content"><em class="must">*</em>目录名称:</span>
					<input data-options="prompt:'请填写节点名称..'"  class='easyui-textbox' id='alarmname'/>
				</div>
			 </div>
			<div class="form-line clearfix">
				<div class="fl">
					<span class="text-content"><em class="must">*</em>目录类型:</span>
					<!-- <input data-options="prompt:'告警代码类型..'"  class='easyui-textbox' id='alarmcodetype'/> -->
					<select id="alarmcodetype" class="easyui-combobox">
						<option value="1">监控</option>
						<option value="2">服务器</option>
						<option value="3">应用系统</option>
						<option value="4">存储</option>
					</select>
				</div>
			</div>
		</div>
	</body>
 </html>
