fix: 场景跳转数据查询功能失效

修复场景跳转数据查询功能失效的问题
This commit is contained in:
song.tianyang 2021-01-05 18:20:51 +08:00
parent 252f5f3c10
commit b402acfeda
2 changed files with 3 additions and 1 deletions

View File

@ -341,8 +341,10 @@ public class APITestController {
public List<TaskInfoResult> runningTask(@PathVariable String projectID) {
List<TaskInfoResult> resultList = scheduleService.findRunningTaskInfoByProjectID(projectID);
int dataIndex = 1;
for (TaskInfoResult taskInfo :
resultList) {
taskInfo.setIndex(dataIndex++);
Date nextExecutionTime = CronUtils.getNextTriggerTime(taskInfo.getRule());
if(nextExecutionTime!=null){
taskInfo.setNextExecutionTime(nextExecutionTime.getTime());

View File

@ -215,7 +215,7 @@ export default {
this.condition.executeStatus = null;
this.isSelectThissWeekData();
switch (this.selectDataRange){
case 'thisWeek':
case 'thisWeekCount':
this.condition.selectThisWeedData = true;
break;
case 'unExecute':