Skip to content

Commit

Permalink
[Improve][UI] Translate Route Names
Browse files Browse the repository at this point in the history
  • Loading branch information
wuchunfu committed Oct 29, 2023
1 parent 8d0c436 commit 06ea15c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions seatunnel-ui/src/router/sync-task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
name: 'synchronization-definition',
component: components['projects-task-synchronization-definition'],
meta: {
title: '同步任务定义',
title: 'synchronization-definition',
activeMenu: 'projects',
showSide: true
// auth: 'project:seatunnel-task:view'
Expand All @@ -46,7 +46,7 @@ export default {
name: 'synchronization-definition-dag',
component: components['projects-task-synchronization-definition-dag'],
meta: {
title: '同步任务定义画布',
title: 'synchronization-definition-dag',
activeMenu: 'projects',
activeSide: '/task/synchronization-definition',
showSide: true,
Expand All @@ -58,7 +58,7 @@ export default {
name: 'synchronization-instance',
component: components['projects-task-synchronization-instance'],
meta: {
title: '同步任务实例',
title: 'synchronization-instance',
activeMenu: 'projects',
showSide: true
// auth: 'project:seatunnel-task-instance:view'
Expand All @@ -69,7 +69,7 @@ export default {
name: 'synchronization-instance-detail',
component: components['projects-task-synchronization-instance-detail'],
meta: {
title: '同步任务实例详情',
title: 'synchronization-instance-detail',
activeMenu: 'projects',
activeSide: '/task/synchronization-instance',
showSide: true,
Expand Down
4 changes: 2 additions & 2 deletions seatunnel-ui/src/router/virtual-tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
name: 'virtual-tables-create',
component: components['virtual-tables-detail'],
meta: {
title: '虚拟表创建',
title: 'virtual-tables-create',
activeMenu: 'virtual-tables',
}
},
Expand All @@ -53,7 +53,7 @@ export default {
name: 'virtual-tables-editor',
component: components['virtual-tables-detail'],
meta: {
title: '虚拟表编辑',
title: 'virtual-tables-editor',
activeMenu: 'virtual-tables',
}
}
Expand Down
3 changes: 1 addition & 2 deletions seatunnel-ui/src/service/sync-task-definition/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export function queryTaskDetail(jobCode: string, taskCode: string): any {
})
}

// source类型,获取源名称
export function listSourceName(
jobId: string,
sceneMode: string,
Expand All @@ -161,7 +160,7 @@ export function listSourceName(
}
})
}
// sink类型,获取源名称

export function findSink(
jobId: string,
status: 'DOWNLOADED' | 'NOT_DOWNLOAD' | 'ALL' = 'DOWNLOADED'
Expand Down

0 comments on commit 06ea15c

Please sign in to comment.