修复组选择和参数问题

This commit is contained in:
xlsea 2024-01-16 21:58:40 +08:00
parent 6bb512ab12
commit 6888d34409
5 changed files with 29 additions and 22 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,16 +1,16 @@
<!doctype html> <!doctype html>
<html lang="zh-CN"> <html lang="zh-CN">
<head> <head>
<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>
<div id="app"></div> <div id="app"></div>
</body> </body>
</html> </html>

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()
} }