Browse Source

[Feat][UI] Add resource username for function and resource manage (#10086)

(cherry picked from commit 91f1d45948)
3.0.0/version-upgrade
Devosend 3 years ago committed by Jiajie Zhong
parent
commit
04c68e31e8
  1. 2
      dolphinscheduler-ui/src/locales/modules/en_US.ts
  2. 2
      dolphinscheduler-ui/src/locales/modules/zh_CN.ts
  3. 5
      dolphinscheduler-ui/src/views/resource/udf/function/use-table.ts
  4. 5
      dolphinscheduler-ui/src/views/resource/udf/resource/use-table.ts

2
dolphinscheduler-ui/src/locales/modules/en_US.ts

@ -239,6 +239,7 @@ const resource = {
create_folder: 'Create Folder', create_folder: 'Create Folder',
upload_udf_resources: 'Upload UDF Resources', upload_udf_resources: 'Upload UDF Resources',
udf_source_name: 'UDF Resource Name', udf_source_name: 'UDF Resource Name',
user_name: 'Resource userName',
whether_directory: 'Whether directory', whether_directory: 'Whether directory',
file_name: 'File Name', file_name: 'File Name',
file_size: 'File Size', file_size: 'File Size',
@ -266,6 +267,7 @@ const resource = {
create_udf_function: 'Create UDF Function', create_udf_function: 'Create UDF Function',
edit_udf_function: 'Create UDF Function', edit_udf_function: 'Create UDF Function',
udf_function_name: 'UDF Function Name', udf_function_name: 'UDF Function Name',
user_name: 'Resource userName',
class_name: 'Class Name', class_name: 'Class Name',
type: 'Type', type: 'Type',
description: 'Description', description: 'Description',

2
dolphinscheduler-ui/src/locales/modules/zh_CN.ts

@ -238,6 +238,7 @@ const resource = {
create_folder: '创建文件夹', create_folder: '创建文件夹',
upload_udf_resources: '上传UDF资源', upload_udf_resources: '上传UDF资源',
udf_source_name: 'UDF资源名称', udf_source_name: 'UDF资源名称',
user_name: '所属用户',
whether_directory: '是否文件夹', whether_directory: '是否文件夹',
file_name: '文件名称', file_name: '文件名称',
file_size: '文件大小', file_size: '文件大小',
@ -265,6 +266,7 @@ const resource = {
create_udf_function: '创建UDF函数', create_udf_function: '创建UDF函数',
edit_udf_function: '编辑UDF函数', edit_udf_function: '编辑UDF函数',
udf_function_name: 'UDF函数名称', udf_function_name: 'UDF函数名称',
user_name: '所属用户',
class_name: '类名', class_name: '类名',
type: '类型', type: '类型',
description: '描述', description: '描述',

5
dolphinscheduler-ui/src/views/resource/udf/function/use-table.ts

@ -65,6 +65,11 @@ export function useTable() {
key: 'funcName', key: 'funcName',
...COLUMN_WIDTH_CONFIG['name'] ...COLUMN_WIDTH_CONFIG['name']
}, },
{
title: t('resource.function.user_name'),
...COLUMN_WIDTH_CONFIG['userName'],
key: 'userName'
},
{ {
title: t('resource.function.class_name'), title: t('resource.function.class_name'),
key: 'className', key: 'className',

5
dolphinscheduler-ui/src/views/resource/udf/resource/use-table.ts

@ -102,6 +102,11 @@ export function useTable() {
) )
} }
}, },
{
title: t('resource.udf.user_name'),
...COLUMN_WIDTH_CONFIG['userName'],
key: 'userName'
},
{ {
title: t('resource.udf.whether_directory'), title: t('resource.udf.whether_directory'),
key: 'whether_directory', key: 'whether_directory',

Loading…
Cancel
Save