Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e6f3f79d
authored
Mar 22, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
WebIDE交互优化
parent
54dc2337
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
21 deletions
xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js
xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js
View file @
e6f3f79d
...
...
@@ -39,29 +39,28 @@ $(function() {
return
;
}
ComConfirm
.
show
(
"是否执行保存操作?"
,
function
(){
$
.
ajax
({
type
:
'POST'
,
url
:
base_url
+
'/jobcode/save'
,
data
:
{
'id'
:
id
,
'glueSource'
:
glueSource
,
'glueRemark'
:
glueRemark
},
dataType
:
"json"
,
success
:
function
(
data
){
if
(
data
.
code
==
200
)
{
ComAlert
.
show
(
1
,
'保存成功'
,
function
(){
//$(window).unbind('beforeunload');
window
.
location
.
reload
();
});
}
else
{
ComAlert
.
show
(
2
,
data
.
msg
);
}
$
.
ajax
({
type
:
'POST'
,
url
:
base_url
+
'/jobcode/save'
,
data
:
{
'id'
:
id
,
'glueSource'
:
glueSource
,
'glueRemark'
:
glueRemark
},
dataType
:
"json"
,
success
:
function
(
data
){
if
(
data
.
code
==
200
)
{
ComAlert
.
show
(
1
,
'保存成功'
,
function
(){
//$(window).unbind('beforeunload');
window
.
location
.
reload
();
});
}
else
{
ComAlert
.
show
(
2
,
data
.
msg
);
}
}
);
}
});
});
// before upload
...
...
Write
Preview
Markdown
is supported
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