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

no commit message

parent b60115a6
...@@ -12,20 +12,19 @@ ...@@ -12,20 +12,19 @@
<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){
$("#importForm").submit(); $("#importBox").remove();
//top.layer.close(index); $("#importForm").submit();
//top.layer.close(index);
}, },
btn3: function(index){ btn3: function(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