From 2a14e5a8d0ba675e99fbfc6af7b0fbec75d86c76 Mon Sep 17 00:00:00 2001 From: zhuangchong Date: Thu, 4 Jan 2024 17:01:06 +0800 Subject: [PATCH] cherry-pick optimize add select filter (#15378) #15379 --- .../definition/components/start-modal.tsx | 27 +++++++++++-------- .../definition/components/timing-modal.tsx | 27 +++++++++++-------- .../components/worker-group-modal.tsx | 1 + 3 files changed, 33 insertions(+), 22 deletions(-) diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx index de66b31f0bf1b..3247f1bb13792 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx @@ -309,6 +309,7 @@ export default defineComponent({ options={this.workerGroups} onUpdateValue={this.updateWorkerGroup} v-model:value={this.startForm.workerGroup} + filterable /> - - - + {this.startForm.warningType !== 'NONE' && ( + + + + )} - - - + {this.timingForm.warningType !== 'NONE' && ( + + + + )} ) diff --git a/dolphinscheduler-ui/src/views/security/worker-group-manage/components/worker-group-modal.tsx b/dolphinscheduler-ui/src/views/security/worker-group-manage/components/worker-group-modal.tsx index 156810e21df1a..b51e841c8d39c 100644 --- a/dolphinscheduler-ui/src/views/security/worker-group-manage/components/worker-group-modal.tsx +++ b/dolphinscheduler-ui/src/views/security/worker-group-manage/components/worker-group-modal.tsx @@ -137,6 +137,7 @@ const WorkerGroupModal = defineComponent({