feat: 2.6.0

1. 修复实时日志未完成返回数据不完整问题
This commit is contained in:
byteblogs168 2024-01-16 18:26:32 +08:00
parent 6a1e7fd99b
commit b9e98c9514
6 changed files with 31 additions and 23 deletions

View File

@ -65,7 +65,8 @@ public class JobLogServiceImpl implements JobLogService {
) { ) {
jobLogResponseVO.setFinished(Boolean.TRUE); jobLogResponseVO.setFinished(Boolean.TRUE);
} }
jobLogResponseVO.setNextStartId(queryVO.getStartId());
jobLogResponseVO.setFromIndex(0);
return jobLogResponseVO; return jobLogResponseVO;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Easy Retry</title> <title>Easy Retry</title>
<script type="module" crossorigin src="./assets/bHlUn7xq.js"></script> <script type="module" crossorigin src="./assets/jjGQgzj_.js"></script>
<link rel="stylesheet" crossorigin href="./assets/RrmFkNrR.css"> <link rel="stylesheet" crossorigin href="./assets/psiNPyrX.css">
</head> </head>
<body> <body>

View File

@ -99,7 +99,9 @@ export default {
this.jobBatchInfo = res.data this.jobBatchInfo = res.data
this.queryParam = { this.queryParam = {
groupName: this.jobBatchInfo.groupName, groupName: this.jobBatchInfo.groupName,
taskBatchId: id taskBatchId: id,
startId: 0,
fromIndex: 0
} }
this.$refs.JobTaskListRef.refreshTable(this.queryParam) this.$refs.JobTaskListRef.refreshTable(this.queryParam)
}) })

View File

@ -130,7 +130,10 @@ export default {
// / // /
advanced: false, advanced: false,
// //
queryParam: {}, queryParam: {
startId: 0,
fromIndex: 0
},
data: [], data: [],
logData: [], logData: [],
taskStatus: enums.taskStatus, taskStatus: enums.taskStatus,
@ -236,7 +239,9 @@ export default {
await this.fetchLog({ await this.fetchLog({
taskBatchId: record.taskBatchId, taskBatchId: record.taskBatchId,
jobId: record.jobId, jobId: record.jobId,
taskId: record.id taskId: record.id,
startId: 0,
fromIndex: 0
}, record) }, record)
this.$forceUpdate() this.$forceUpdate()
} }