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
101e15d8
Unverified
Commit
101e15d8
authored
Oct 31, 2022
by
也曾为你像超人
Committed by
Gitee
Oct 31, 2022
Browse files
修复调度日志点击多次数据不变化的问题
Signed-off-by:
也曾为你像超人
<
1553592282@qq.com
>
parent
ebb9f15a
Changes
3
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/router/index.js
View file @
101e15d8
...
...
@@ -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 @
101e15d8
...
...
@@ -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 @
101e15d8
...
...
@@ -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