From 183ba8b29187e627d1b25d2c6f6317f91245049c Mon Sep 17 00:00:00 2001
From: opensnail <598092184@qq.com>
Date: Tue, 30 Apr 2024 09:22:37 +0800
Subject: [PATCH] =?UTF-8?q?feat(sj=5F1.0.0):=20=E4=BC=98=E5=8C=96=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/common.ts | 2 +-
.../group/modules/group-detail-drawer.vue | 33 +++++------
.../log/modules/retry-log-detail-drawer.vue | 40 ++++---------
.../scene/modules/scene-detail-drawer.vue | 44 +++++---------
.../task/modules/retry-task-detail-drawer.vue | 58 +++++++------------
5 files changed, 61 insertions(+), 116 deletions(-)
diff --git a/src/utils/common.ts b/src/utils/common.ts
index c3cdadd..9d425f5 100644
--- a/src/utils/common.ts
+++ b/src/utils/common.ts
@@ -75,7 +75,7 @@ export function tagColor(index: number) {
1: 'info',
2: 'success',
3: 'warning',
- 4: 'default'
+ 4: 'primary'
};
if (index === null || index < 0) {
diff --git a/src/views/group/modules/group-detail-drawer.vue b/src/views/group/modules/group-detail-drawer.vue
index 77fba68..8d2c8ff 100644
--- a/src/views/group/modules/group-detail-drawer.vue
+++ b/src/views/group/modules/group-detail-drawer.vue
@@ -30,36 +30,29 @@ watch(
-
- {{ rowData?.groupName }}
-
-
-
+
+
+ {{ rowData?.groupName }}
+
+
+ {{ rowData?.token }}
+
{{ $t(groupConfigStatusRecord[rowData?.groupStatus!]) }}
-
-
- {{ rowData?.token }}
-
-
-
+
{{ $t(groupConfigIdModeRecord[rowData?.idGeneratorMode!]) }}
-
-
-
+
{{ rowData?.groupPartition }}
-
-
-
+
{{ $t(yesOrNoRecord[rowData?.initScene!]) }}
-
-
- {{ rowData?.description }}
+
+ {{ rowData?.description }}
+
diff --git a/src/views/retry/log/modules/retry-log-detail-drawer.vue b/src/views/retry/log/modules/retry-log-detail-drawer.vue
index 37cd790..51f8f3b 100644
--- a/src/views/retry/log/modules/retry-log-detail-drawer.vue
+++ b/src/views/retry/log/modules/retry-log-detail-drawer.vue
@@ -29,44 +29,28 @@ watch(
-
-
+
+
{{ rowData?.uniqueId }}
-
-
- {{ rowData?.groupName }}
-
-
- {{ rowData?.sceneName }}
-
-
-
+ {{ rowData?.groupName }}
+ {{ rowData?.sceneName }}
+
{{ $t(retryTaskStatusTypeRecord[rowData?.retryStatus!]) }}
-
-
-
+
{{ $t(retryTaskTypeRecord[rowData?.taskType!]) }}
-
-
- {{ rowData?.bizNo }}
-
-
-
+ {{ rowData?.bizNo }}
+
{{ rowData?.idempotentId }}
-
-
- {{ rowData?.executorName }}
-
-
- {{ rowData?.argsStr }}
-
-
+
+ {{ rowData?.executorName }}
+
+ {{ rowData?.argsStr }}
{{ rowData?.createDt }}
diff --git a/src/views/retry/scene/modules/scene-detail-drawer.vue b/src/views/retry/scene/modules/scene-detail-drawer.vue
index 3332255..ff0c97f 100644
--- a/src/views/retry/scene/modules/scene-detail-drawer.vue
+++ b/src/views/retry/scene/modules/scene-detail-drawer.vue
@@ -42,49 +42,35 @@ watch(
-
- {{ rowData?.sceneName }}
-
-
-
+
+ {{ rowData?.sceneName }}
+ {{ rowData?.groupName }}
+
{{ $t(enableStatusNumberRecord[rowData?.sceneStatus!]) }}
-
-
- {{ rowData?.groupName }}
-
-
-
+
{{ $t(routeKeyRecord[rowData?.routeKey!]) }}
-
-
- {{ rowData?.maxRetryCount }}
-
-
-
+
+ {{ rowData?.maxRetryCount }}
+
+
{{ rowData?.executorTimeout }}
-
-
-
+
{{ rowData?.deadlineRequest }}
-
-
-
+
{{ $t(backOffRecord[rowData?.backOff!]) }}
-
-
-
+
{{ rowData?.backOff === 1 ? maxRetryCountUpdate(rowData?.maxRetryCount) : rowData?.triggerInterval }}
-
-
- {{ rowData?.description }}
+
+ {{ rowData?.description }}
+
diff --git a/src/views/retry/task/modules/retry-task-detail-drawer.vue b/src/views/retry/task/modules/retry-task-detail-drawer.vue
index f0c91cd..3f29df6 100644
--- a/src/views/retry/task/modules/retry-task-detail-drawer.vue
+++ b/src/views/retry/task/modules/retry-task-detail-drawer.vue
@@ -29,54 +29,36 @@ watch(
-
-
+
+
{{ rowData?.uniqueId }}
-
-
- {{ rowData?.groupName }}
-
-
- {{ rowData?.sceneName }}
-
-
- {{ rowData?.nextTriggerAt }}
-
-
- {{ rowData?.retryCount }}
-
-
-
+ {{ rowData?.groupName }}
+ {{ rowData?.sceneName }}
+
+ {{ rowData?.nextTriggerAt }}
+
+
+ {{ rowData?.retryCount }}
+
+
{{ $t(retryTaskStatusTypeRecord[rowData?.retryStatus!]) }}
-
-
-
+
{{ $t(retryTaskTypeRecord[rowData?.taskType!]) }}
-
-
- {{ rowData?.bizNo }}
-
-
-
+ {{ rowData?.bizNo }}
+
{{ rowData?.idempotentId }}
-
-
- {{ rowData?.executorName }}
-
-
- {{ rowData?.argsStr }}
-
-
- {{ rowData?.createDt }}
-
-
- {{ rowData?.updateDt }}
+
+ {{ rowData?.executorName }}
+
+ {{ rowData?.argsStr }}
+ {{ rowData?.createDt }}
+ {{ rowData?.updateDt }}