Commit 1748be05 authored by Huang's avatar Huang
Browse files

no commit message

parent b60115a6
...@@ -12,18 +12,17 @@ ...@@ -12,18 +12,17 @@
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$("#btnImport").click(function(){ $("#btnImport").click(function(){
var importBoxHtml=$("#importBox").html(); layer.open({
$("#importBox").remove();
top.layer.open({
type: 1, type: 1,
area: [500, 300], area: [500, 300],
title:"导入数据", title:"导入数据",
content:importBoxHtml , content:$("#importBox").html() ,
btn: ['下载模板','确定', '关闭'], btn: ['下载模板','确定', '关闭'],
btn1: function(index, layero){ btn1: function(index, layero){
window.location.href='${url}/template'; window.location.href='${url}/template';
}, },
btn2: function(index, layero){ btn2: function(index, layero){
$("#importBox").remove();
$("#importForm").submit(); $("#importForm").submit();
//top.layer.close(index); //top.layer.close(index);
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment