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
b60115a6
Commit
b60115a6
authored
Nov 09, 2018
by
Huang
Browse files
no commit message
parent
bc194671
Changes
1
Hide whitespace changes
Inline
Side-by-side
JeeSpringCloud/src/main/webapp/staticViews/viewBase.js
View file @
b60115a6
...
@@ -30,18 +30,17 @@ $("#btnExport").click(function(){
...
@@ -30,18 +30,17 @@ $("#btnExport").click(function(){
$
(
"
#btnImport
"
).
click
(
function
(){
$
(
"
#btnImport
"
).
click
(
function
(){
if
(
$
(
this
).
data
(
"
events
"
)[
"
click
"
]){
return
;}
if
(
$
(
this
).
data
(
"
events
"
)[
"
click
"
]){
return
;}
var
url
=
$
(
this
).
attr
(
"
url
"
);
var
url
=
$
(
this
).
attr
(
"
url
"
);
var
importBoxHtml
=
$
(
"
#importBox
"
).
html
();
layer
.
open
({
$
(
"
#importBox
"
).
remove
();
top
.
layer
.
open
({
type
:
1
,
type
:
1
,
area
:
[
500
,
300
],
area
:
[
500
,
300
],
title
:
"
导入数据
"
,
title
:
"
导入数据
"
,
content
:
importBox
H
tml
,
content
:
$
(
"
#
importBox
"
).
h
tml
()
,
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);
},
},
...
...
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