diff --git a/admin/dashboard/templates/plugin_schedules.html b/admin/dashboard/templates/plugin_schedules.html index d364dcd..8af30f4 100644 --- a/admin/dashboard/templates/plugin_schedules.html +++ b/admin/dashboard/templates/plugin_schedules.html @@ -11,7 +11,6 @@

统一管理插件的定时动作配置(如秀人群发),支持按群范围执行、立即触发与执行日志追踪。

- 按表重载 刷新
@@ -305,15 +304,6 @@ new Vue({ this.logs = resp.data.data || [] this.logsDialogVisible = true } - }, - async reloadSchedules() { - const resp = await axios.post('/plugin_schedules/api/reload') - if (resp.data.success) { - this.$message.success(resp.data.message || '重载成功') - await this.loadSchedules() - } else { - this.$message.error(resp.data.message || '重载失败') - } } } }) diff --git a/admin/dashboard/templates/system_jobs.html b/admin/dashboard/templates/system_jobs.html index 2e43fdc..35d3de9 100644 --- a/admin/dashboard/templates/system_jobs.html +++ b/admin/dashboard/templates/system_jobs.html @@ -11,7 +11,6 @@

任务配置存储在数据库表 `t_system_jobs`,支持在线启停、调度调整、手动触发与执行日志查看。

- 按表重载 刷新
@@ -255,19 +254,6 @@ new Vue({ } catch (e) { this.$message.error('加载日志失败'); } - }, - async reloadFromDB() { - try { - const resp = await axios.post('/system_jobs/api/reload'); - if (resp.data.success) { - this.$message.success(resp.data.message || '重载成功'); - await this.loadJobs(); - } else { - this.$message.error(resp.data.message || '重载失败'); - } - } catch (e) { - this.$message.error('重载失败'); - } } } });