|
|
@@ -341,10 +341,14 @@ export default {
|
|
|
},
|
|
|
handleShowCron() { this.expression = this.form.cronExpression; this.openCron = true; },
|
|
|
crontabFill(value) { this.form.cronExpression = value; },
|
|
|
- handleJobLog() { this.$router.push({ path: '/jobLog' }); },
|
|
|
- // 表格行内“日志”按钮:跳转日志页并预填任务名称,便于快速查看该模板在各租户的执行记录(再在日志页选择租户)
|
|
|
+ handleJobLog() {
|
|
|
+ const logPath = this.$route.path.startsWith('/admin/') ? '/admin/shezhi/jobLog' : '/monitor/jobLog';
|
|
|
+ this.$router.push({ path: logPath });
|
|
|
+ },
|
|
|
+ // 表格行内"日志"按钮:跳转日志页并预填任务名称,便于快速查看该模板在各租户的执行记录(再在日志页选择租户)
|
|
|
handleRowJobLog(row) {
|
|
|
- this.$router.push({ path: '/jobLog', query: { jobName: row.jobName } });
|
|
|
+ const logPath = this.$route.path.startsWith('/admin/') ? '/admin/shezhi/jobLog' : '/monitor/jobLog';
|
|
|
+ this.$router.push({ path: logPath, query: { jobName: row.jobName } });
|
|
|
},
|
|
|
// Bean 注册表
|
|
|
handleTaskRegistry() { this.openRegistry = true; },
|