Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 32 additions & 10 deletions apps/daas/src/i18n/langs/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,8 @@ export default {
'Switch to batch insert mode interval in cdc. ',
setting_share_cdc: 'Share cdc',
setting_global_share_cdc_enable: 'Default global enable share cdc',
setting_global_share_cdc_enable_doc: 'When enabled by default, use the default external storage specified in the external storage list and apply it as the default setting to subsequent newly created connections and tasks. (Only after enabling can change logs be queried in Data trace)',
setting_global_share_cdc_enable_doc:
'When enabled by default, use the default external storage specified in the external storage list and apply it as the default setting to subsequent newly created connections and tasks. (Only after enabling can change logs be queried in Data trace)',
setting_share_cdc_persistence_mode: 'Share cdc persistence mode',
setting_share_cdc_persistence_memory_size:
'Shared incremental memory cache line count',
Expand All @@ -826,8 +827,10 @@ export default {
'The local path to the RocksDB store',
setting_share_cdc_persistence_rocksdb_path_doc:
'This configuration takes effect only when RocksDB is selected as the mode, and the local path stored by RocksDB',
setting_task_start_transform_wait_seconds: 'Task start transform wait time (seconds)',
setting_task_start_transform_wait_seconds_doc: 'After clicking to start the task, it will proceed with simulation or trial operation. If the set waiting duration is exceeded, the start will fail, requiring another click to initiate or increasing the simulation waiting duration. The default waiting duration is 60 seconds',
setting_task_start_transform_wait_seconds:
'Task start transform wait time (seconds)',
setting_task_start_transform_wait_seconds_doc:
'After clicking to start the task, it will proceed with simulation or trial operation. If the set waiting duration is exceeded, the start will fail, requiring another click to initiate or increasing the simulation waiting duration. The default waiting duration is 60 seconds',
setting_task_log_file_save_time: 'Task log retention time (days)',
setting_task_log_file_save_size: 'Task log retention size (MB)',
setting_task_log_file_save_count: 'Task log retention total count',
Expand All @@ -843,8 +846,10 @@ export default {
setting_Login_Brief_Tips: 'Login brief tips',
setting_Login_Brief_Tips_doc:
'Once enabled, the login prompt will be simplified',
setting_Access_Token_Idle_Timeout_Minutes: 'Session idle timeout (in minutes)',
setting_Access_Token_Idle_Timeout_Minutes_doc: 'When the session is inactive for more than the set value, the session becomes invalid and needs to be logged in again',
setting_Access_Token_Idle_Timeout_Minutes:
'Session idle timeout (in minutes)',
setting_Access_Token_Idle_Timeout_Minutes_doc:
'When the session is inactive for more than the set value, the session becomes invalid and needs to be logged in again',
setting_LDAP: 'LDAP Authentication',
setting_Ldap_Login_Enable: 'Use LDAP Login',
setting_Ldap_Server_Host: 'LDAP Server Address',
Expand Down Expand Up @@ -1046,12 +1051,12 @@ export default {
notify_noticeInterval: 'Send interval',
notify_operator: 'Operator',
role_list_select_role_name: 'Please enter the role name',
role_list_role_name: 'role name',
role_list_description: 'role description',
role_list_role_name: 'Role Name',
role_list_description: 'Role Description',
role_list_associat_users: 'Associate User',
role_list_create: 'Create roles',
role_list_create: 'Create Roles',
role_list_edit: 'Edit roles',
role_list_default_role: 'Default role',
role_list_default_role: 'Default Role',
role_list_setting_permissions: 'Set Permissions',
role_list_setting_api: 'Set API access',
role_list_delete_remind: 'Confirm to delete role {0}',
Expand Down Expand Up @@ -2059,6 +2064,22 @@ export default {
'Please select the functions and data permissions available for this role (checking all role data means you can browse or operate the data of all roles, unchecking means you can only browse or operate your own data )',
role_funcPermission: 'Function permission settings',
role_currentRole: 'Current role',
role_permission_overview_subtitle:
'Configure the pages and actions available to this role',
role_permission_default_role: 'System default',
role_permission_accessible_pages: 'Accessible pages',
role_permission_enabled_permissions: 'Enabled permissions',
role_permission_enabled_modules: 'Active modules',
role_permission_coverage: 'Permission coverage',
role_permission_search_placeholder: 'Search pages or modules',
role_permission_page_access: 'Page access',
role_permission_inaccessible: 'No access',
role_permission_page_subtitle: 'Manage access and permission scope',
role_permission_function_description: 'Actions available on this page',
role_permission_data_description: 'Read and write control for data scope',
role_permission_deselect_all: 'Deselect all',
role_permission_no_extra_config:
'No additional configuration is required. Enable access to use this page.',
role_pageVisible: 'Page permission settings',
role_pageShowTip:
'Checked means navigation and page are visible to the current character, unchecked will not display',
Expand Down Expand Up @@ -2315,7 +2336,8 @@ export default {
daas_task_rebalance_confirm: 'Confirm Rebalance',
daas_task_rebalance_create: 'Create Rebalance',
daas_task_rebalance_empty: 'No tasks available for rebalancing',
daas_task_rebalance_create_success: 'Rebalance plan created, migration started',
daas_task_rebalance_create_success:
'Rebalance plan created, migration started',
daas_task_rebalance_type_initial_sync: 'Full',
daas_task_rebalance_type_cdc: 'Incremental',
daas_task_rebalance_type_full_cdc: 'Full + Incremental',
Expand Down
14 changes: 14 additions & 0 deletions apps/daas/src/i18n/langs/zh-CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -1958,6 +1958,20 @@ export default {
'请选择此角色可用的功能和数据权限 (勾选全部角色数据表示可对全部角色的数据进行浏览或操作,不勾选则表示只能对自己的数据进行浏览或操作)',
role_funcPermission: '功能权限设置',
role_currentRole: '当前角色',
role_permission_overview_subtitle: '配置该角色可访问的页面及操作范围',
role_permission_default_role: '系统默认',
role_permission_accessible_pages: '可访问页面',
role_permission_enabled_permissions: '已启用权限',
role_permission_enabled_modules: '功能模块',
role_permission_coverage: '权限覆盖率',
role_permission_search_placeholder: '搜索页面或功能模块',
role_permission_page_access: '页面访问',
role_permission_inaccessible: '不可访问',
role_permission_page_subtitle: '管理此页面的访问与权限范围',
role_permission_function_description: '页面内可执行的操作',
role_permission_data_description: '对数据范围的读写控制',
role_permission_deselect_all: '取消全选',
role_permission_no_extra_config: '无需额外配置,开启访问即可使用',
role_pageVisible: '页面权限设置',
role_pageShowTip: '勾选相应模块表示此导航对当前角色可见,不勾选则不显示',
role_choosePage: '选择页面权限',
Expand Down
14 changes: 14 additions & 0 deletions apps/daas/src/i18n/langs/zh-TW.js
Original file line number Diff line number Diff line change
Expand Up @@ -1949,6 +1949,20 @@ export default {
'請選擇此角色可用的功能和數據權限 (勾選全部角色數據表示可對全部角色的數據進行瀏覽或操作,不勾選則表示只能對自己的數據進行瀏覽或操作)',
role_funcPermission: '功能權限',
role_currentRole: '當前角色',
role_permission_overview_subtitle: '配置該角色可訪問的頁面及操作範圍',
role_permission_default_role: '系統默認',
role_permission_accessible_pages: '可訪問頁面',
role_permission_enabled_permissions: '已啟用權限',
role_permission_enabled_modules: '功能模塊',
role_permission_coverage: '權限覆蓋率',
role_permission_search_placeholder: '搜索頁面或功能模塊',
role_permission_page_access: '頁面訪問',
role_permission_inaccessible: '不可訪問',
role_permission_page_subtitle: '管理此頁面的訪問與權限範圍',
role_permission_function_description: '頁面內可執行的操作',
role_permission_data_description: '對數據範圍的讀寫控制',
role_permission_deselect_all: '取消全選',
role_permission_no_extra_config: '無需額外配置,開啟訪問即可使用',
role_pageVisible: '頁面權限',
role_pageShowTip: '請勾選此角色可見的頁面,不勾選表示頁面不顯示',
role_choosePage: '選擇頁面',
Expand Down
13 changes: 10 additions & 3 deletions apps/daas/src/router/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,17 @@ export const MENU = [
code: 'v2_log_collector',
parent: 'sharedMining',
},
{ name: 'HeartbeatTableList', code: '', parent: 'heartbeatTable' },
{
name: 'HeartbeatTableList',
code: 'v2_conn_heartbeat',
parent: 'heartbeatTable',
},
{ name: 'dataEncryption' },
{ name: 'projectManagement' },
{ name: 'dataImportExport' },
{ name: 'projectManagement', code: 'v2_project_management' },
{
name: 'dataImportExport',
code: 'v2_project_import_and_export',
},
{
name: 'taskRebalanceHistory',
parent: 'taskRebalance',
Expand Down
2 changes: 1 addition & 1 deletion apps/daas/src/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ export const routes = [
meta: {
hideTitle: true,
title: 'page_title_heartbeat_table',
code: 'v2_log_collector',
code: 'v2_conn_heartbeat',
},
},
],
Expand Down
12 changes: 10 additions & 2 deletions apps/daas/src/views/data-import-export/GroupExportDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,12 @@ const handleCreateProject = () => {
:image-size="80"
>
<template #description>
<el-button v-if="!searchKeyword" @click="handleCreateProject">
<el-button
v-if="
!searchKeyword && $has('v2_project_management_creation')
"
@click="handleCreateProject"
>
<template #icon>
<i-lucide-plus />
</template>
Expand All @@ -419,7 +424,10 @@ const handleCreateProject = () => {
</el-scrollbar>

<el-button
v-if="filteredGroupList.length || searchKeyword"
v-if="
$has('v2_project_management_creation') &&
(filteredGroupList.length || searchKeyword)
"
class="border-dashed m-2"
@click="handleCreateProject"
>
Expand Down
15 changes: 12 additions & 3 deletions apps/daas/src/views/data-import-export/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -219,19 +219,28 @@ const handleImportSuccess = () => {
<template>
<PageContainer>
<template #actions>
<el-button @click="handleOpenGroupManagement">
<el-button
v-if="$has('v2_project_management')"
@click="handleOpenGroupManagement"
>
<template #icon>
<i-lucide-layers />
</template>
{{ t('data_import_export_group_management') }}
</el-button>
<el-button @click="importDialogVisible = true">
<el-button
v-if="$has('v2_project_import_and_export_import')"
@click="importDialogVisible = true"
>
<template #icon>
<i-lucide-download />
</template>
{{ t('data_import_export_import') }}
</el-button>
<el-button @click="exportDialogVisible = true">
<el-button
v-if="$has('v2_project_import_and_export_export')"
@click="exportDialogVisible = true"
>
<template #icon>
<i-lucide-upload />
</template>
Expand Down
Loading
Loading