From d379137908c42e945a1ab07318abac6714d599df Mon Sep 17 00:00:00 2001 From: calvin Date: Sat, 22 Jan 2022 09:34:05 +0800 Subject: [PATCH] [Fix-8158][UI Next] improve the structure of directories (#8159) --- dolphinscheduler-ui-next/src/router/modules/resources.ts | 6 +++--- .../option}/components/form-modal.tsx | 0 .../option}/components/table-action.tsx | 0 .../option}/index.module.scss | 0 .../{taskGroupOption => task-group/option}/index.tsx | 0 .../{taskGroupOption => task-group/option}/use-form.ts | 0 .../{taskGroupOption => task-group/option}/use-table.ts | 0 7 files changed, 3 insertions(+), 3 deletions(-) rename dolphinscheduler-ui-next/src/views/resource/{taskGroupOption => task-group/option}/components/form-modal.tsx (100%) rename dolphinscheduler-ui-next/src/views/resource/{taskGroupOption => task-group/option}/components/table-action.tsx (100%) rename dolphinscheduler-ui-next/src/views/resource/{taskGroupOption => task-group/option}/index.module.scss (100%) rename dolphinscheduler-ui-next/src/views/resource/{taskGroupOption => task-group/option}/index.tsx (100%) rename dolphinscheduler-ui-next/src/views/resource/{taskGroupOption => task-group/option}/use-form.ts (100%) rename dolphinscheduler-ui-next/src/views/resource/{taskGroupOption => task-group/option}/use-table.ts (100%) diff --git a/dolphinscheduler-ui-next/src/router/modules/resources.ts b/dolphinscheduler-ui-next/src/router/modules/resources.ts index 942abb2c32..6b740446e1 100644 --- a/dolphinscheduler-ui-next/src/router/modules/resources.ts +++ b/dolphinscheduler-ui-next/src/router/modules/resources.ts @@ -112,17 +112,17 @@ export default { { path: '/resource/task-group', name: 'task-group-manage', - component: components['resource-taskGroupOption'], + component: components['resource-task-group-option'], children: [ { path: '/resource/task-group-option', name: 'task-group-option', - component: components['resource-taskGroupOption'] + component: components['resource-task-group-option'] }, { path: '/resource/task-group-queue', name: 'task-group-queue', - component: components['resource-taskGroupQueue'] + component: components['resource-task-group-queue'] } ] } diff --git a/dolphinscheduler-ui-next/src/views/resource/taskGroupOption/components/form-modal.tsx b/dolphinscheduler-ui-next/src/views/resource/task-group/option/components/form-modal.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/taskGroupOption/components/form-modal.tsx rename to dolphinscheduler-ui-next/src/views/resource/task-group/option/components/form-modal.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/taskGroupOption/components/table-action.tsx b/dolphinscheduler-ui-next/src/views/resource/task-group/option/components/table-action.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/taskGroupOption/components/table-action.tsx rename to dolphinscheduler-ui-next/src/views/resource/task-group/option/components/table-action.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/taskGroupOption/index.module.scss b/dolphinscheduler-ui-next/src/views/resource/task-group/option/index.module.scss similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/taskGroupOption/index.module.scss rename to dolphinscheduler-ui-next/src/views/resource/task-group/option/index.module.scss diff --git a/dolphinscheduler-ui-next/src/views/resource/taskGroupOption/index.tsx b/dolphinscheduler-ui-next/src/views/resource/task-group/option/index.tsx similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/taskGroupOption/index.tsx rename to dolphinscheduler-ui-next/src/views/resource/task-group/option/index.tsx diff --git a/dolphinscheduler-ui-next/src/views/resource/taskGroupOption/use-form.ts b/dolphinscheduler-ui-next/src/views/resource/task-group/option/use-form.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/taskGroupOption/use-form.ts rename to dolphinscheduler-ui-next/src/views/resource/task-group/option/use-form.ts diff --git a/dolphinscheduler-ui-next/src/views/resource/taskGroupOption/use-table.ts b/dolphinscheduler-ui-next/src/views/resource/task-group/option/use-table.ts similarity index 100% rename from dolphinscheduler-ui-next/src/views/resource/taskGroupOption/use-table.ts rename to dolphinscheduler-ui-next/src/views/resource/task-group/option/use-table.ts