Browse Source

[Fix][UI] fulfill missing fields in DataQuality (#10098)

3.1.0-release
rockfang 3 years ago committed by GitHub
parent
commit
7a4a21d0b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts
  2. 7
      dolphinscheduler-ui/src/views/projects/task/components/node/types.ts

14
dolphinscheduler-ui/src/views/projects/task/components/node/format-data.ts

@ -279,6 +279,13 @@ export function formatParams(data: INodeData): {
operator: data.operator, operator: data.operator,
src_connector_type: data.src_connector_type, src_connector_type: data.src_connector_type,
src_datasource_id: data.src_datasource_id, src_datasource_id: data.src_datasource_id,
field_length: data.field_length,
begin_time: data.begin_time,
deadline: data.deadline,
datetime_format: data.datetime_format,
enum_list: data.enum_list,
regexp_pattern: data.regexp_pattern,
target_filter: data.target_filter,
src_filter: data.src_filter, src_filter: data.src_filter,
src_field: data.src_field, src_field: data.src_field,
src_table: data.src_table, src_table: data.src_table,
@ -518,6 +525,13 @@ export function formatModel(data: ITaskData) {
params.src_datasource_id = params.src_datasource_id =
data.taskParams.ruleInputParameter.src_datasource_id data.taskParams.ruleInputParameter.src_datasource_id
params.src_table = data.taskParams.ruleInputParameter.src_table params.src_table = data.taskParams.ruleInputParameter.src_table
params.field_length = data.taskParams.ruleInputParameter.field_length
params.begin_time = data.taskParams.ruleInputParameter.begin_time
params.deadline = data.taskParams.ruleInputParameter.deadline
params.datetime_format = data.taskParams.ruleInputParameter.datetime_format
params.target_filter = data.taskParams.ruleInputParameter.target_filter
params.regexp_pattern = data.taskParams.ruleInputParameter.regexp_pattern
params.enum_list = data.taskParams.ruleInputParameter.enum_list
params.src_filter = data.taskParams.ruleInputParameter.src_filter params.src_filter = data.taskParams.ruleInputParameter.src_filter
params.src_field = data.taskParams.ruleInputParameter.src_field params.src_field = data.taskParams.ruleInputParameter.src_field
params.statistics_execute_sql = params.statistics_execute_sql =

7
dolphinscheduler-ui/src/views/projects/task/components/node/types.ts

@ -198,6 +198,13 @@ interface IRuleParameters {
src_connector_type?: number src_connector_type?: number
src_datasource_id?: number src_datasource_id?: number
src_table?: string src_table?: string
field_length?: number
begin_time?: string
deadline?: string
datetime_format?: string
target_filter?: string
regexp_pattern?: string
enum_list?: string
src_filter?: string src_filter?: string
src_field?: string src_field?: string
statistics_execute_sql?: string statistics_execute_sql?: string

Loading…
Cancel
Save