diff --git a/web/src/views/tasks/Tasks.vue b/web/src/views/tasks/Tasks.vue index 4291d87..2ea9e6b 100644 --- a/web/src/views/tasks/Tasks.vue +++ b/web/src/views/tasks/Tasks.vue @@ -225,58 +225,75 @@ watch(() => route.query.agent_id, (newVal) => {

定时任务

管理和调度自动化任务

-
-
- - +
+ +
+
+ + +
+
+ + +
-
- - -
-
- + +
+
+ +
+ +
+ + +
+
+ class="flex sm:hidden items-center gap-1 px-2 py-1 bg-primary/10 text-primary rounded-md text-sm w-fit mt-1"> {{ filterAgentName }}
- -
+ class="flex flex-wrap sm:flex-nowrap items-center gap-x-2 gap-y-2 sm:gap-4 px-3 sm:px-4 py-2 sm:py-1.5 border-b bg-muted/20 text-xs sm:text-sm text-muted-foreground font-medium min-w-0 sm:min-w-[1000px]"> ID 类型 名称 - 命令/地址 + 状态 + + + + 命令/地址 - 状态 操作 -
@@ -284,7 +301,7 @@ watch(() => route.query.agent_id, (newVal) => { 暂无任务
+ class="flex flex-wrap sm:flex-nowrap items-center gap-x-2 gap-y-2 sm:gap-4 px-3 sm:px-4 py-2.5 sm:py-1.5 hover:bg-muted/30 transition-colors"> #{{ task.id }} @@ -343,8 +360,11 @@ watch(() => route.query.agent_id, (newVal) => {
+ + + + class="w-auto sm:w-32 shrink-0 flex justify-end sm:justify-center gap-1 max-sm:order-7 max-sm:mt-1"> -