diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/index.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/index.tsx index dfe0aee6b1..380cc5b88c 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/index.tsx +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/index.tsx @@ -15,7 +15,6 @@ * limitations under the License. */ -import Card from '@/components/card' import { SearchOutlined } from '@vicons/antd' import { NButton, @@ -30,14 +29,14 @@ import { import { defineComponent, getCurrentInstance, onMounted, toRefs, watch } from 'vue' import { useI18n } from 'vue-i18n' import { useTable } from './use-table' +import { useRouter, useRoute } from 'vue-router' +import Card from '@/components/card' import ImportModal from './components/import-modal' import StartModal from './components/start-modal' import TimingModal from './components/timing-modal' import VersionModal from './components/version-modal' import CopyModal from './components/copy-modal' -import { useRouter, useRoute } from 'vue-router' import type { Router } from 'vue-router' -import styles from './index.module.scss' export default defineComponent({ name: 'WorkflowDefinitionList', @@ -117,121 +116,121 @@ export default defineComponent({ const { loadingRef } = this return ( -
- -
+ + + {t('project.workflow.create_workflow')} - (this.showRef = true)}> + (this.showRef = true)}> {t('project.workflow.import_workflow')} -
-
-
- - - - - -
-
- -
-
-
-
+ + + + + + + + +
- row.code} - columns={this.columns} - data={this.tableData} - striped - class={styles.table} - v-model:checked-row-keys={this.checkedRowKeys} - row-class-name='items' - scrollX={this.tableWidth} - /> -
- + row.code} + columns={this.columns} + data={this.tableData} + striped + v-model:checked-row-keys={this.checkedRowKeys} + row-class-name='items' + scrollX={this.tableWidth} /> -
-
- - {{ - default: () => t('project.workflow.delete'), - trigger: () => ( - - {{ - default: () => t('project.workflow.delete_confirm'), - trigger: () => ( - - {t('project.workflow.delete')} - - ) - }} - - ) - }} - - - {{ - default: () => t('project.workflow.export'), - trigger: () => ( - - {t('project.workflow.export')} - - ) - }} - - - {{ - default: () => t('project.workflow.batch_copy'), - trigger: () => ( - (this.copyShowRef = true)} - class='btn-delete-all' - > - {t('project.workflow.batch_copy')} - - ) - }} - -
+ + + + {{ + default: () => t('project.workflow.delete'), + trigger: () => ( + + {{ + default: () => t('project.workflow.delete_confirm'), + trigger: () => ( + + {t('project.workflow.delete')} + + ) + }} + + ) + }} + + + {{ + default: () => t('project.workflow.export'), + trigger: () => ( + + {t('project.workflow.export')} + + ) + }} + + + {{ + default: () => t('project.workflow.batch_copy'), + trigger: () => ( + (this.copyShowRef = true)} + class='btn-delete-all' + > + {t('project.workflow.batch_copy')} + + ) + }} + + + + +
-
+ ) } })