From 608eaf9145d534b43fc852084f48f4e5b67d27fb Mon Sep 17 00:00:00 2001 From: Leo <98382335+gaoziman@users.noreply.github.com> Date: Sat, 27 Sep 2025 14:23:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(monitor):=20=E5=AE=9E=E7=8E=B0=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BB=BB=E5=8A=A1=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 创建完整的定时任务管理界面,支持表格展示和分页 - 实现新增、编辑、删除、启动、停止等核心功能 - 添加批量操作支持(批量启动、停止、删除) - 集成字典数据显示任务类型、状态、执行策略 - 提供Cron表达式预设选择弹框,优化用户体验 - 实现搜索和筛选功能 - 遵循项目UI规范和组件使用标准 --- src/views/monitor/job/index.vue | 1026 +++++++++++++++++++++++++++++++ 1 file changed, 1026 insertions(+) create mode 100644 src/views/monitor/job/index.vue diff --git a/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue new file mode 100644 index 0000000..27633ee --- /dev/null +++ b/src/views/monitor/job/index.vue @@ -0,0 +1,1026 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + + + + + + 重置 + + + + + + + + + + + + + + + + + + 新增 + + + + + + + + + 删除 + + + + + + + + + 启动 + + + + + + + + + 停止 + + + + + 已选择 {{ selectedRowKeys.length }} 项 + + + + + + + + + + + + + + + + + 新增任务 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 选择预设 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 选择一个预设的时间配置,点击即可应用到Cron表达式中 + + + + + {{ preset.label }} + + + {{ preset.value }} + + + + + + + + + 取消 + + + + + + + + + +