<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
		<%@include file="../../../frame/assets/header-all.jsp"%>
		<script type="text/javascript" src="ywalarmeventcode.js"></script>
		<script type="text/javascript" src=""></script>
		<style>
			/* 
			.form-line .text-content {
				width: 115px;
			} 
			*/
		</style> 
	</head>
	<!-- 设置高度,一行 44px,二行80,三行116-->
	<body class="easyui-layout" >
		<div id="treeRegion" class="easyui-layout" data-options="region:'west',split:true"  title='告警代码结构'  style="height: 100%; width: 200px; background: #fff; overflow-y: auto;overflow-x: hidden">
			<div id="roleTree" ></div>
		</div>
 		<div data-options="region:'north'" id='north' style="height: 44px;border-bottom: none">
			<div class="form-line clearfix">
			<!-- 
				<div class='fl'>
					<span class="text-content">告警代码类型：</span>
					<select id="LIKEalarmcodetype" class="easyui-combobox">
						<option value="">全部</option>
						<option value="1">视频抽帧</option>
						<option value="2">视频质量诊断</option>
						<option value="3">录像诊断</option>
						<option value="10">服务器告警</option>
						<option value="11">存储告警</option>
						<option value="12">应用系统告警</option>
					</select>
				</div>
			 -->
				<div class='fl'>
					<span class="text-content">告警代码：</span>
					<input class="easyui-textbox" id="LIKEalarmcode" data-options="validType:'length[0,10]'">
				</div>
				<div class='fl'>
					<span class="text-content">告警名称：</span>
					<input class="easyui-textbox" id="LIKEalarmname" data-options="validType:'length[0,100]'">
				</div>
			 </div>
		</div>
		<div data-options="region:'center',split:false" class="easyui-layout">
			<table id='tableGrid'></table>
		 </div>
		 <form action="" method="post" name="excelForm" id="excelForm" style="display: none;">
    	</form>
    	<div id="menu1" class="easyui-menu" style="width:120px;">
	        <div onclick="javascript:addNode();" data-options="iconCls:'icon-add'">新增目录</div>
    	</div>
		<div id="menu2" class="easyui-menu" style="width:120px;">
	        <div onclick="javascript:addChild();" data-options="iconCls:'icon-add'">新增子目录</div>
	        <div class="menu-sep"></div>
	        <div onclick="javascript:editCurrNode();" data-options="iconCls:'icon-edit'">编辑本目录</div>
	        <div class="menu-sep"></div>
	        <div onclick="javascript:removeCurrNode();" data-options="iconCls:'icon-remove'">删除本目录</div>
    	</div>
	</body>
</html>	
