From 6b07be6a335b538bae3c92a5dd39306ddaafc15e Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 16 Apr 2026 16:39:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E4=BA=A4=E4=BA=92=E4=BC=98?= =?UTF-8?q?=E5=8C=96=EF=BC=9A=E7=A7=BB=E9=99=A4=E7=B3=BB=E7=BB=9F/?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E5=AE=9A=E6=97=B6=E9=A1=B5=E6=8C=89=E8=A1=A8?= =?UTF-8?q?=E9=87=8D=E8=BD=BD=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 系统定时任务页面移除按表重载按钮,保留刷新按钮\n- 插件定时任务页面移除按表重载按钮,保留刷新按钮\n- 清理前端未使用的 reload 方法,避免误导用户\n- 说明:保存配置后已自动重载到运行时,手动重载接口保留用于运维兜底 --- admin/dashboard/templates/plugin_schedules.html | 10 ---------- admin/dashboard/templates/system_jobs.html | 14 -------------- 2 files changed, 24 deletions(-) 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('重载失败'); - } } } });