Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
8f2b3ac4
Unverified
Commit
8f2b3ac4
authored
Nov 15, 2022
by
若依
Committed by
Gitee
Nov 15, 2022
Browse files
!611 修复调度日志点击多次数据不变化的问题
Merge pull request !611 from 也曾为你像超人/N/A
parents
7eee3b9f
101e15d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/router/index.js
View file @
8f2b3ac4
...
...
@@ -141,7 +141,7 @@ export const dynamicRoutes = [
permissions
:
[
'
monitor:job:list
'
],
children
:
[
{
path
:
'
index
'
,
path
:
'
index
/:jobId(
\\
d+)
'
,
component
:
()
=>
import
(
'
@/views/monitor/job/log
'
),
name
:
'
JobLog
'
,
meta
:
{
title
:
'
调度日志
'
,
activeMenu
:
'
/monitor/job
'
}
...
...
ruoyi-ui/src/views/monitor/job/index.vue
View file @
8f2b3ac4
...
...
@@ -454,7 +454,7 @@ export default {
/** 任务日志列表查询 */
handleJobLog
(
row
)
{
const
jobId
=
row
.
jobId
||
0
;
this
.
$router
.
push
(
{
path
:
'
/monitor/job-log/index
'
,
query
:
{
jobId
:
jobId
}
}
)
this
.
$router
.
push
(
'
/monitor/job-log/index
/
'
+
jobId
)
},
/** 新增按钮操作 */
handleAdd
()
{
...
...
ruoyi-ui/src/views/monitor/job/log.vue
View file @
8f2b3ac4
...
...
@@ -217,7 +217,7 @@ export default {
};
},
created
()
{
const
jobId
=
this
.
$route
.
query
.
jobId
;
const
jobId
=
this
.
$route
.
params
&&
this
.
$route
.
params
.
jobId
;
if
(
jobId
!==
undefined
&&
jobId
!=
0
)
{
getJob
(
jobId
).
then
(
response
=>
{
this
.
queryParams
.
jobName
=
response
.
data
.
jobName
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment