From 901f66583153e983b8eaff20717ef34f4a45ac38 Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Fri, 5 May 2017 10:46:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E9=92=AEtype=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E5=86=B2=E5=85=A5fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/webapp/static/js/jobinfo.index.1.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js b/xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js index c9d3abe4..865de884 100644 --- a/xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js +++ b/xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js @@ -103,9 +103,9 @@ $(function() { // status var pause_resume = ""; if ('NORMAL' == row.jobStatus) { - pause_resume = ' '; + pause_resume = ' '; } else if ('PAUSED' == row.jobStatus){ - pause_resume = ' '; + pause_resume = ' '; } // log url var logUrl = base_url +'/joblog?jobId='+ row.id; @@ -130,12 +130,12 @@ $(function() { ' glueType="'+ row.glueType +'" '+ ' childJobKey="'+ row.childJobKey +'" '+ '>'+ - ' '+ + ' '+ pause_resume + '
'+ ' '+ codeBtn + - ' '+ + ' '+ '

'; 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";