diff --git a/.env b/.env
index c8baddd..13d131d 100644
--- a/.env
+++ b/.env
@@ -2,7 +2,7 @@
# if use a sub directory, it must be end with "/", like "/admin/" but not "/admin"
VITE_BASE_URL=/
-VITE_APP_TITLE=Snail Job
+VITE_APP_TITLE=Task Flux
VITE_APP_DESC=A flexible, reliable, and fast platform for distributed task retry and distributed task scheduling.
diff --git a/index.html b/index.html
index b04ac55..5940922 100644
--- a/index.html
+++ b/index.html
@@ -2,7 +2,7 @@
-
+
%VITE_APP_TITLE%
diff --git a/public/time-svgrepo-com.svg b/public/time-svgrepo-com.svg
new file mode 100644
index 0000000..0f38888
--- /dev/null
+++ b/public/time-svgrepo-com.svg
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/assets/svg-icon/logo.svg b/src/assets/svg-icon/logo.svg
index 7a37355..0f38888 100644
--- a/src/assets/svg-icon/logo.svg
+++ b/src/assets/svg-icon/logo.svg
@@ -1,3 +1,6 @@
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/assets/svg-icon/time.svg b/src/assets/svg-icon/time.svg
new file mode 100644
index 0000000..0f38888
--- /dev/null
+++ b/src/assets/svg-icon/time.svg
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/common/system-logo.vue b/src/components/common/system-logo.vue
index 7f23cc1..419afbb 100644
--- a/src/components/common/system-logo.vue
+++ b/src/components/common/system-logo.vue
@@ -3,7 +3,7 @@ defineOptions({ name: 'SystemLogo' });
-
+
diff --git a/src/constants/business.ts b/src/constants/business.ts
index 28aa7a5..1a76698 100644
--- a/src/constants/business.ts
+++ b/src/constants/business.ts
@@ -28,7 +28,8 @@ export const alarmTypeRecord: Record &
NotifyRecipient;
+ /** SMS Notify */
+ type SmsNotify = Common.CommonRecord<{
+ /** 短信接收人 */
+ phoneNumbers: string[];
+ }> &
+ NotifyRecipient;
+
/** webhook Notify */
type WebhookNotify = Common.CommonRecord<{
/** 接收人名称 */
@@ -687,8 +694,8 @@ declare namespace Api {
/** notifyRecipient list */
type NotifyRecipientList = Common.PaginatingQueryRecord;
- /** 1: 钉钉通知 2: 邮件通知 3: 企业通知 4: 飞书 5: Webhook */
- type AlarmType = 1 | 2 | 3 | 4 | 5;
+ /** 1: 钉钉通知 2: 邮件通知 3: 企业通知 4: 飞书 5: Webhook 6: 短信 */
+ type AlarmType = 1 | 2 | 3 | 4 | 5 | 6;
type ExportNotifyRecipient = Common.CommonRecord<{
notifyRecipientIds: string[];
diff --git a/src/typings/app.d.ts b/src/typings/app.d.ts
index 55258db..563fbae 100644
--- a/src/typings/app.d.ts
+++ b/src/typings/app.d.ts
@@ -863,12 +863,14 @@ declare namespace App {
ats: string;
webhookUrl: string;
tos: string;
+ phoneNumbers: string;
dingDing: string;
email: string;
weCom: string;
lark: string;
secret: string;
webhook: string;
+ sms: string;
contentType: string;
};
retryDeadLetter: {
@@ -1071,6 +1073,7 @@ declare namespace App {
description: string;
triggerType: string;
executorTimeout: string;
+ timeoutTip: string;
triggerInterval: string;
triggerInterval_CRON: string;
taskType: string;
diff --git a/src/views/job/task/modules/job-task-operate-drawer.vue b/src/views/job/task/modules/job-task-operate-drawer.vue
index a2ce438..b076420 100644
--- a/src/views/job/task/modules/job-task-operate-drawer.vue
+++ b/src/views/job/task/modules/job-task-operate-drawer.vue
@@ -653,6 +653,18 @@ const scriptMethodOptions = [
+
+ {{ $t('page.jobTask.executorTimeout') }}
+
+
+
+
+
+
+ {{ $t('page.jobTask.form.timeoutTip') }}
+
+
+
{
-
-
-
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/src/views/notify/recipient/modules/sms-form.vue b/src/views/notify/recipient/modules/sms-form.vue
new file mode 100644
index 0000000..b7cd49f
--- /dev/null
+++ b/src/views/notify/recipient/modules/sms-form.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+