From f0630bc9a05cf4e4407e040ad0bec36d486aa173 Mon Sep 17 00:00:00 2001 From: Kerwin <37063904+zhuangchong@users.noreply.github.com> Date: Tue, 30 Nov 2021 10:00:54 +0800 Subject: [PATCH] Fix view task status module on project homepage cannot read property label of undefined (#6956) --- .../apache/dolphinscheduler/common/enums/ExecutionStatus.java | 1 + .../pages/projects/pages/_source/conditions/instance/common.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java index 99ba93e6e9..009eeb23be 100644 --- a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java +++ b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/ExecutionStatus.java @@ -42,6 +42,7 @@ public enum ExecutionStatus { * 11 waiting depend node complete * 12 delay execution * 13 forced success + * 14 serial wait */ SUBMITTED_SUCCESS(0, "submit success"), RUNNING_EXECUTION(1, "running"), diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/common.js b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/common.js index 2ccca250aa..7275b3bf37 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/common.js +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/_source/conditions/instance/common.js @@ -66,6 +66,9 @@ const stateType = [ }, { code: 'FORCED_SUCCESS', label: `${i18n.$t('Forced success')}` + }, { + code: 'SERIAL_WAIT', + label: `${i18n.$t('Serial wait')}` } ]