From f4f1ab8e07d0e7f8e5e3d9d30c4bfdd56eb123d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B8=94?= Date: Fri, 23 Feb 2024 19:37:20 +0800 Subject: [PATCH 1/4] Update use-table.ts --- .../src/views/projects/workflow/definition/use-table.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts b/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts index 914c10a15ac9..4fe520aa1cd3 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/use-table.ts @@ -366,6 +366,11 @@ export function useTable() { if (data.releaseState === 'ONLINE') { variables.setTimingDialogShowRef = true variables.row = row + if (row?.schedule) { + variables.row = row.schedule + variables.timingType = 'update' + variables.timingState = row.scheduleReleaseState + } } else { window.$message.success(t('project.workflow.success')) } From 73ae2496c350a4d8f31558168e4e4abf4dde4454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B8=94?= Date: Fri, 1 Mar 2024 12:00:15 +0800 Subject: [PATCH 2/4] [Fix][CI] Remove useless code --- dolphinscheduler-ui/src/views/projects/list/use-table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/views/projects/list/use-table.ts b/dolphinscheduler-ui/src/views/projects/list/use-table.ts index 7d7b8dda8602..c0910aa4e5c4 100644 --- a/dolphinscheduler-ui/src/views/projects/list/use-table.ts +++ b/dolphinscheduler-ui/src/views/projects/list/use-table.ts @@ -25,7 +25,7 @@ import { deleteProject } from '@/service/modules/projects' import { format } from 'date-fns' import { useRouter } from 'vue-router' import { - NButton, NDropdown, + NButton, NEllipsis, NIcon, NPopconfirm, From 0fede20019cf2f06fdd81d82496bdc93005611ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B8=94?= Date: Fri, 1 Mar 2024 12:03:23 +0800 Subject: [PATCH 3/4] [Fix][CI] Remove useless code --- .../src/views/projects/list/components/use-worker-group.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/dolphinscheduler-ui/src/views/projects/list/components/use-worker-group.ts b/dolphinscheduler-ui/src/views/projects/list/components/use-worker-group.ts index 698e753333af..2c9c1d2c7671 100644 --- a/dolphinscheduler-ui/src/views/projects/list/components/use-worker-group.ts +++ b/dolphinscheduler-ui/src/views/projects/list/components/use-worker-group.ts @@ -28,7 +28,6 @@ export function useWorkerGroup( ctx: SetupContext<('cancelModal' | 'confirmModal')[]> ) { const { t } = useI18n() - const userStore = useUserStore() const variables = reactive({ model: { From 6f1bb2d24623036edeebbe29202a337f50dc62dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B8=94?= Date: Fri, 1 Mar 2024 12:04:31 +0800 Subject: [PATCH 4/4] [Fix][CI] Remove useless code --- dolphinscheduler-ui/src/views/projects/list/use-table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/views/projects/list/use-table.ts b/dolphinscheduler-ui/src/views/projects/list/use-table.ts index c0910aa4e5c4..e2a5a97507d5 100644 --- a/dolphinscheduler-ui/src/views/projects/list/use-table.ts +++ b/dolphinscheduler-ui/src/views/projects/list/use-table.ts @@ -39,7 +39,7 @@ import { } from '@/common/column-width-config' import type { Router } from 'vue-router' import type { ProjectRes } from '@/service/modules/projects/types' -import {ControlOutlined, DeleteOutlined, EditOutlined, UserOutlined} from '@vicons/antd' +import {ControlOutlined, DeleteOutlined, EditOutlined} from '@vicons/antd' import {useUserStore} from "@/store/user/user"; import {UserInfoRes} from "@/service/modules/users/types";