parent
252f5f3c10
commit
b402acfeda
|
@ -341,8 +341,10 @@ public class APITestController {
|
||||||
public List<TaskInfoResult> runningTask(@PathVariable String projectID) {
|
public List<TaskInfoResult> runningTask(@PathVariable String projectID) {
|
||||||
|
|
||||||
List<TaskInfoResult> resultList = scheduleService.findRunningTaskInfoByProjectID(projectID);
|
List<TaskInfoResult> resultList = scheduleService.findRunningTaskInfoByProjectID(projectID);
|
||||||
|
int dataIndex = 1;
|
||||||
for (TaskInfoResult taskInfo :
|
for (TaskInfoResult taskInfo :
|
||||||
resultList) {
|
resultList) {
|
||||||
|
taskInfo.setIndex(dataIndex++);
|
||||||
Date nextExecutionTime = CronUtils.getNextTriggerTime(taskInfo.getRule());
|
Date nextExecutionTime = CronUtils.getNextTriggerTime(taskInfo.getRule());
|
||||||
if(nextExecutionTime!=null){
|
if(nextExecutionTime!=null){
|
||||||
taskInfo.setNextExecutionTime(nextExecutionTime.getTime());
|
taskInfo.setNextExecutionTime(nextExecutionTime.getTime());
|
||||||
|
|
|
@ -215,7 +215,7 @@ export default {
|
||||||
this.condition.executeStatus = null;
|
this.condition.executeStatus = null;
|
||||||
this.isSelectThissWeekData();
|
this.isSelectThissWeekData();
|
||||||
switch (this.selectDataRange){
|
switch (this.selectDataRange){
|
||||||
case 'thisWeek':
|
case 'thisWeekCount':
|
||||||
this.condition.selectThisWeedData = true;
|
this.condition.selectThisWeedData = true;
|
||||||
break;
|
break;
|
||||||
case 'unExecute':
|
case 'unExecute':
|
||||||
|
|
Loading…
Reference in New Issue