Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JeeSpringCloud
Commits
b429e96d
Commit
b429e96d
authored
Nov 09, 2018
by
Huang
Browse files
no commit message
parent
4446a88c
Changes
1
Hide whitespace changes
Inline
Side-by-side
JeeSpringCloud/src/main/webapp/staticViews/viewBase.js
View file @
b429e96d
...
...
@@ -28,13 +28,15 @@ $("#btnExport").click(function(){
});
//导入excel
$
(
"
#btnImport
"
).
click
(
function
(){
if
(
$
(
this
).
data
(
"
events
"
)[
"
click
"
]){
return
;}
if
(
$
(
this
).
data
(
"
events
"
)[
"
click
"
]){
return
;}
var
url
=
$
(
this
).
attr
(
"
url
"
);
var
importBoxHtml
=
$
(
"
#importBox
"
).
html
();
$
(
"
#importBox
"
).
remove
();
top
.
layer
.
open
({
type
:
1
,
area
:
[
500
,
300
],
title
:
"
导入数据
"
,
content
:
$
(
"
#
importBox
"
).
html
()
,
content
:
importBox
Html
,
btn
:
[
'
下载模板
'
,
'
确定
'
,
'
关闭
'
],
btn1
:
function
(
index
,
layero
){
window
.
location
.
href
=
url
+
'
/template
'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment