From 2f3aa8609541de9547b14bfa5f1f10491c3d5fa1 Mon Sep 17 00:00:00 2001
From: XinWei <2718030729@qq.com>
Date: Wed, 10 Jul 2024 15:18:39 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/infra/job/index.ts | 2 +-
src/views/Login/Login.vue | 14 +++++++-------
src/views/Login/components/LoginForm.vue | 4 ++--
src/views/infra/job/JobDetail.vue | 4 ++--
src/views/infra/job/JobForm.vue | 12 ++++++------
5 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/api/infra/job/index.ts b/src/api/infra/job/index.ts
index 033b2cbe..27f19b1f 100644
--- a/src/api/infra/job/index.ts
+++ b/src/api/infra/job/index.ts
@@ -8,7 +8,7 @@ export interface JobVO {
handlerParam: string
cronExpression: string
retryCount: number
- retryInterval: number
+ // retryInterval: number
monitorTimeout: number
createTime: Date
}
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue
index 77790994..75a5aa23 100644
--- a/src/views/Login/Login.vue
+++ b/src/views/Login/Login.vue
@@ -20,10 +20,10 @@
tag="div"
>
-
{{ t('login.welcome') }}
-
+
{{ t('login.welcome') }}
+
@@ -49,13 +49,13 @@
-
+
-
+
-
+
-
+
diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue
index e61ccbe9..0a82eb85 100644
--- a/src/views/Login/components/LoginForm.vue
+++ b/src/views/Login/components/LoginForm.vue
@@ -82,7 +82,7 @@
mode="pop"
@success="handleLogin"
/>
-
+
diff --git a/src/views/infra/job/JobDetail.vue b/src/views/infra/job/JobDetail.vue
index d2e8c460..e8886da1 100644
--- a/src/views/infra/job/JobDetail.vue
+++ b/src/views/infra/job/JobDetail.vue
@@ -22,9 +22,9 @@
{{ detailData.retryCount }}
-
+
{{ detailData.monitorTimeout > 0 ? detailData.monitorTimeout + ' 毫秒' : '未开启' }}
diff --git a/src/views/infra/job/JobForm.vue b/src/views/infra/job/JobForm.vue
index 79f85e77..a19f3238 100644
--- a/src/views/infra/job/JobForm.vue
+++ b/src/views/infra/job/JobForm.vue
@@ -29,12 +29,12 @@
placeholder="请输入重试次数。设置为 0 时,不进行重试"
/>
-
+
@@ -64,15 +64,15 @@ const formData = ref({
handlerParam: '',
cronExpression: '',
retryCount: undefined,
- retryInterval: undefined,
+ // retryInterval: undefined,
monitorTimeout: undefined
})
const formRules = reactive({
name: [{ required: true, message: '任务名称不能为空', trigger: 'blur' }],
handlerName: [{ required: true, message: '处理器的名字不能为空', trigger: 'blur' }],
cronExpression: [{ required: true, message: 'CRON 表达式不能为空', trigger: 'blur' }],
- retryCount: [{ required: true, message: '重试次数不能为空', trigger: 'blur' }],
- retryInterval: [{ required: true, message: '重试间隔不能为空', trigger: 'blur' }]
+ retryCount: [{ required: true, message: '重试次数不能为空', trigger: 'blur' }]
+ // retryInterval: [{ required: true, message: '重试间隔不能为空', trigger: 'blur' }]
})
const formRef = ref() // 表单 Ref
@@ -129,7 +129,7 @@ const resetForm = () => {
handlerParam: '',
cronExpression: '',
retryCount: undefined,
- retryInterval: undefined,
+ // retryInterval: undefined,
monitorTimeout: undefined
}
formRef.value?.resetFields()