修复定时任务执行一次按钮后不提示消息问题

This commit is contained in:
RuoYi 2020-05-17 15:47:29 +08:00
parent 9f4918cc14
commit 9aeb0cc1f3
3 changed files with 7 additions and 1 deletions

View File

@ -397,7 +397,7 @@ export default {
type: "warning"
}).then(function() {
return runJob(row.jobId, row.jobGroup);
}).then(function() {
}).then(() => {
this.msgSuccess("执行成功");
}).catch(function() {});
},

View File

@ -76,6 +76,9 @@ public class SysJobLogController extends BaseController
return toAjax(jobLogService.deleteJobLogByIds(jobLogIds));
}
/**
* 清空定时任务调度日志
*/
@PreAuthorize("@ss.hasPermi('monitor:job:remove')")
@Log(title = "调度日志", businessType = BusinessType.CLEAN)
@DeleteMapping("/clean")

View File

@ -124,6 +124,9 @@ public class GenController extends BaseController
return AjaxResult.success();
}
/**
* 删除代码生成
*/
@PreAuthorize("@ss.hasPermi('tool:gen:remove')")
@Log(title = "代码生成", businessType = BusinessType.DELETE)
@DeleteMapping("/{tableIds}")