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
164c5bb2
authored
Jan 09, 2019
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
交互优化,尽量避免新开页面窗口;仅WebIDE支持新开页,并提供窗口快速关闭按钮;
parent
fa9c4efe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js
xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js
View file @
164c5bb2
...
@@ -126,7 +126,7 @@ $(function() {
...
@@ -126,7 +126,7 @@ $(function() {
var
codeBtn
=
""
;
var
codeBtn
=
""
;
if
(
'BEAN'
!=
row
.
glueType
)
{
if
(
'BEAN'
!=
row
.
glueType
)
{
var
codeUrl
=
base_url
+
'/jobcode?jobId='
+
row
.
id
;
var
codeUrl
=
base_url
+
'/jobcode?jobId='
+
row
.
id
;
codeBtn
=
'<
button class="btn btn-warning btn-xs" type="button" onclick="javascript:window.open(\''
+
codeUrl
+
'\')" >GLUE</button>
'
codeBtn
=
'<
a href="'
+
codeUrl
+
'" target="_blank" > <button class="btn btn-warning btn-xs" type="button" >GLUE</button> </a>
'
}
}
// html
// html
...
@@ -134,7 +134,7 @@ $(function() {
...
@@ -134,7 +134,7 @@ $(function() {
var
html
=
'<p id="'
+
row
.
id
+
'" >'
+
var
html
=
'<p id="'
+
row
.
id
+
'" >'
+
'<button class="btn btn-primary btn-xs job_trigger" type="button">'
+
I18n
.
jobinfo_opt_run
+
'</button> '
+
'<button class="btn btn-primary btn-xs job_trigger" type="button">'
+
I18n
.
jobinfo_opt_run
+
'</button> '
+
start_stop
+
start_stop
+
'<
button class="btn btn-primary btn-xs" type="job_del" type="button" onclick="javascript:window.open(\''
+
logUrl
+
'\', \'_self\' )" >'
+
I18n
.
jobinfo_opt_log
+
'</button>
<br> '
+
'<
a href="'
+
logUrl
+
'"> <button class="btn btn-primary btn-xs" type="job_del" type="button" >'
+
I18n
.
jobinfo_opt_log
+
'</button> </a>
<br> '
+
'<button class="btn btn-warning btn-xs update" type="button">'
+
I18n
.
system_opt_edit
+
'</button> '
+
'<button class="btn btn-warning btn-xs update" type="button">'
+
I18n
.
system_opt_edit
+
'</button> '
+
codeBtn
+
codeBtn
+
'<button class="btn btn-danger btn-xs job_operate" _type="job_del" type="button">'
+
I18n
.
system_opt_del
+
'</button> '
+
'<button class="btn btn-danger btn-xs job_operate" _type="job_del" type="button">'
+
I18n
.
system_opt_del
+
'</button> '
+
...
...
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