From 850d6bb3a5d440e7a29b181899f8c99c5ceaa534 Mon Sep 17 00:00:00 2001 From: break60 <790061044@qq.com> Date: Wed, 23 Oct 2019 20:15:27 +0800 Subject: [PATCH] The workflow instance can be deleted only when its status is success, failure, stop and pause. (#1079) * Dependency workflow add dependency correction value * Download workflow instance map width adjustment and change "desc" field to "description" * The third-party library that builds the dependency is recommended to be placed in 'devDependencies' * Tree chart and Gantt chart style modification * The workflow instance can be deleted only when its status is success, failure, stop and pause. --- .../pages/projects/pages/instance/pages/list/_source/list.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue index c3dd2797df..3c8a00710b 100644 --- a/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue +++ b/dolphinscheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue @@ -149,7 +149,7 @@ shape="circle" size="xsmall" data-toggle="tooltip" - :disabled="item.state === 'RUNNING_EXEUTION'" + :disabled="item.state !== 'SUCCESS' && item.state !== 'FAILURE' && item.state !== 'STOP' && item.state !== 'PAUSE'" :title="$t('delete')">