From 69f673b494ada7521d73efdffc52d4e942e8c5e4 Mon Sep 17 00:00:00 2001 From: huang <1724659546@qq.com> Date: Sun, 21 Sep 2025 17:53:32 +0800 Subject: [PATCH] =?UTF-8?q?cron=E8=A1=A8=E8=BE=BE=E5=BC=8F=E5=8F=AF?= =?UTF-8?q?=E8=A7=86=E5=8C=96=E9=85=8D=E7=BD=AE=E6=9B=BF=E6=8D=A2=E6=88=90?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CronExpressionEditor.vue | 330 ++++++++++++++++++++++++ src/components/PlanForm.vue | 61 +---- 2 files changed, 336 insertions(+), 55 deletions(-) create mode 100644 src/components/CronExpressionEditor.vue diff --git a/src/components/CronExpressionEditor.vue b/src/components/CronExpressionEditor.vue new file mode 100644 index 00000000..472d65f5 --- /dev/null +++ b/src/components/CronExpressionEditor.vue @@ -0,0 +1,330 @@ + + + + + \ No newline at end of file diff --git a/src/components/PlanForm.vue b/src/components/PlanForm.vue index 99e074a3..eea64205 100644 --- a/src/components/PlanForm.vue +++ b/src/components/PlanForm.vue @@ -57,15 +57,10 @@ label="执行频率" prop="cron_expression" v-if="formData.execution_type === 'automatic'"> - - - -
Cron表达式格式:秒 分 时 日 月 周
+ +
Cron表达式格式:分 时 日 月 周
@@ -81,35 +76,17 @@ - - - -
- -
-