<%@ 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="nhywsbipgl.js"></script>
	<script type="text/javascript" src=""></script>
</head>
<!-- 设置高度,一行 44px,二行80,三行116-->
<body class="easyui-layout" >
<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">IP：</span>
			<input class="easyui-textbox" id="LIKEip" data-options="validType:'length[0,10]'">
		</div>
		<div class='fl'>
			<span class="text-content">网关：</span>
			<input class="easyui-textbox" id="LIKEwg" data-options="validType:'length[0,10]'">
		</div>
		<div class='fl'>
			<span class="text-content">vlan：</span>
			<input class="easyui-textbox" id="LIKEvlan" data-options="validType:'length[0,10]'">
		</div>
		<div class='fl'>
			<span class="text-content">掩码：</span>
			<input class="easyui-textbox" id="LIKEym" data-options="validType:'length[0,10]'">
		</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>
<script>
	function changename() {
		$('#filename').val(document.getElementById('file').files[0].name);
	}
	function doUpload() {
		var formData = new FormData($( "#uploadForm" )[0]);
		formData.append("CODE","123456");  //自定义参数传递
		$.ajax({
			url: "nhywsbipglAction!imp_Nhywsbipg.do",
			type: 'POST',
			data: formData,
			async: false,
			cache: false,
			contentType: false,
			processData: false,
			success: function (data) {
				alert(data);
			},
			error: function (data) {
				alert(data);
			}
		});
	}

</script>
</body>
</html>	
