From 49af83b97ab2388107df52ecc266b2e2fc7819da Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 10 Jun 2025 11:32:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E6=8E=A8=E9=80=81=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/dashboard/templates/base.html | 18 +- .../templates/message_push_management.html | 1137 +++++++++++------ 2 files changed, 737 insertions(+), 418 deletions(-) diff --git a/admin/dashboard/templates/base.html b/admin/dashboard/templates/base.html index f8a43cb..6001681 100644 --- a/admin/dashboard/templates/base.html +++ b/admin/dashboard/templates/base.html @@ -160,11 +160,6 @@ 消息列表 - - - - 运行日志 - @@ -180,6 +175,11 @@ 虚拟群组 + + + + 定时推送 + @@ -196,6 +196,11 @@ 文件浏览 + + + + 运行日志 + 错误日志 @@ -268,7 +273,8 @@ '12': '/virtual_group', '13': '/api_docs', '14': '/system_status', - '15': '/file_browser' + '15': '/file_browser', + '16': '/message_push' // 添加定时推送路由 }; const currentPath = window.location.pathname; diff --git a/admin/dashboard/templates/message_push_management.html b/admin/dashboard/templates/message_push_management.html index 546623e..edc6f4e 100644 --- a/admin/dashboard/templates/message_push_management.html +++ b/admin/dashboard/templates/message_push_management.html @@ -1,439 +1,752 @@ {% extends "base.html" %} -{% block title %}消息推送管理{% endblock %} +{% block title %}消息推送管理 - 机器人管理后台{% endblock %} {% block content %} -
-
-
-
-
-

消息推送管理

-
- -
+
+ + + +
+ 消息推送管理 + + 刷新数据 + + + 新建任务 +
-
- -
-
- -
-
- -
-
- -
-
- - -
-
- - - - - - - - - - - - - - - -
任务ID任务名称状态计划时间创建时间操作
+ + + + +
总任务数
+
{% raw %}{{ statistics.total }}{% endraw %}
+
+
+ + +
已排期
+
{% raw %}{{ statistics.scheduled }}{% endraw %}
+
+
+ + +
已暂停
+
{% raw %}{{ statistics.paused }}{% endraw %}
+
+
+ + +
已完成
+
{% raw %}{{ statistics.completed }}{% endraw %}
+
+
+ + +
失败
+
{% raw %}{{ statistics.failed }}{% endraw %}
+
+
+ + +
今日任务
+
{% raw %}{{ statistics.today }}{% endraw %}
+
+
+
- -
-
-
- 显示 0 到 0 条,共 0 条记录 -
-
-
-
- -
-
-
+ + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + +
+ + 批量暂停 + 批量恢复 + 批量删除 + + 已选择 {% raw %}{{ selectedTasks.length }}{% endraw %} 项
-
-
-
-
- - + + + + + + + + + + + + + + + + + + + + + + - -