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
901f6658
authored
May 05, 2017
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
按钮type属性冲入fix
parent
efba1474
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
View file @
901f6658
...
...
@@ -103,9 +103,9 @@ $(function() {
// status
var
pause_resume
=
""
;
if
(
'NORMAL'
==
row
.
jobStatus
)
{
pause_resume
=
'<button class="btn btn-primary btn-xs job_operate" type="job_pause" type="button">暂停</button> '
;
pause_resume
=
'<button class="btn btn-primary btn-xs job_operate"
_
type="job_pause" type="button">暂停</button> '
;
}
else
if
(
'PAUSED'
==
row
.
jobStatus
){
pause_resume
=
'<button class="btn btn-primary btn-xs job_operate" type="job_resume" type="button">恢复</button> '
;
pause_resume
=
'<button class="btn btn-primary btn-xs job_operate"
_
type="job_resume" type="button">恢复</button> '
;
}
// log url
var
logUrl
=
base_url
+
'/joblog?jobId='
+
row
.
id
;
...
...
@@ -130,12 +130,12 @@ $(function() {
' glueType="'
+
row
.
glueType
+
'" '
+
' childJobKey="'
+
row
.
childJobKey
+
'" '
+
'>'
+
'<button class="btn btn-primary btn-xs job_operate" type="job_trigger" type="button">执行</button> '
+
'<button class="btn btn-primary btn-xs job_operate"
_
type="job_trigger" type="button">执行</button> '
+
pause_resume
+
'<button class="btn btn-primary btn-xs" type="job_del" type="button" onclick="javascript:window.open(\''
+
logUrl
+
'\')" >日志</button><br> '
+
'<button class="btn btn-warning btn-xs update" type="button">编辑</button> '
+
codeBtn
+
'<button class="btn btn-danger btn-xs job_operate" type="job_del" type="button">删除</button> '
+
'<button class="btn btn-danger btn-xs job_operate"
_
type="job_del" type="button">删除</button> '
+
'</p>'
;
return
html
;
...
...
@@ -180,7 +180,7 @@ $(function() {
var
url
;
var
needFresh
=
false
;
var
type
=
$
(
this
).
attr
(
"type"
);
var
type
=
$
(
this
).
attr
(
"
_
type"
);
if
(
"job_pause"
==
type
)
{
typeName
=
"暂停"
;
url
=
base_url
+
"/jobinfo/pause"
;
...
...
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