Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
954189ba
Commit
954189ba
authored
Apr 17, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基本信息调整
parent
a78b7a5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
88 additions
and
66 deletions
+88
-66
ImportActionHeader.jsx
src/view/Manage/Model/Component/ImportActionHeader.jsx
+88
-66
No files found.
src/view/Manage/Model/Component/ImportActionHeader.jsx
View file @
954189ba
...
@@ -445,52 +445,62 @@ const ImportActionHeader = (props) => {
...
@@ -445,52 +445,62 @@ const ImportActionHeader = (props) => {
<
UpdateSelect
placeholder=
'描述数据表的更新时间点'
/>
<
UpdateSelect
placeholder=
'描述数据表的更新时间点'
/>
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
8
}
>
</
Row
>
<
Form
.
Item
<
Row
>
label=
"分区键"
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
24
}
xl=
{
16
}
>
name=
"partition"
<
Row
gutter=
{
10
}
>
>
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
12
}
>
<
PartitionSelect
modelerData=
{
modelerData
}
partitionTypes=
{
supportedPartitionTypes
}
/>
<
Form
.
Item
</
Form
.
Item
>
label=
"分区键"
</
Col
>
name=
"partition"
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
8
}
>
>
<
Form
.
Item
<
PartitionSelect
modelerData=
{
modelerData
}
partitionTypes=
{
supportedPartitionTypes
}
/>
label=
"绑定加载范围"
</
Form
.
Item
>
name=
"bindingLoadRange"
</
Col
>
tooltip=
{
bindingLoadRemark
}
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
12
}
>
>
<
Form
.
Item
<
Select
allowClear
placeholder=
'请选择绑定加载范围'
>
label=
"绑定加载范围"
{
name=
"bindingLoadRange"
bindingLoadRangeList
?.
map
((
item
,
index
)
=>
<
Option
key=
{
index
}
value=
{
item
}
>
tooltip=
{
bindingLoadRemark
}
{
item
}
>
</
Option
>)
<
Select
allowClear
placeholder=
'请选择绑定加载范围'
>
}
{
</
Select
>
bindingLoadRangeList
?.
map
((
item
,
index
)
=>
<
Option
key=
{
index
}
value=
{
item
}
>
</
Form
.
Item
>
{
item
}
</
Col
>
</
Option
>)
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
8
}
>
}
<
Form
.
Item
</
Select
>
label=
"维护历史"
</
Form
.
Item
>
name=
"maintenanceRecords"
</
Col
>
>
</
Row
>
<
TextArea
rows=
{
3
}
disabled=
{
true
}
/>
<
Row
gutter=
{
10
}
>
</
Form
.
Item
>
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
12
}
>
<
Form
.
Item
label=
"类主键"
name=
"easyDataModelerSemiPrimaryKey"
>
<
AttributesSelect
modelerData=
{
modelerData
}
mode=
'tags'
/>
</
Form
.
Item
>
</
Col
>
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
12
}
>
<
Form
.
Item
label=
"加载方式"
name=
"dataLoadingStrategy"
>
<
LoadSelect
/>
</
Form
.
Item
>
</
Col
>
</
Row
>
</
Col
>
</
Col
>
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
8
}
>
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
24
}
xl=
{
8
}
>
<
Form
.
Item
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
24
}
xl=
{
24
}
>
label=
"类主键"
<
Form
.
Item
name=
"easyDataModelerSemiPrimaryKey"
label=
"维护历史"
>
name=
"maintenanceRecords"
<
AttributesSelect
modelerData=
{
modelerData
}
mode=
'tags'
/>
>
</
Form
.
Item
>
<
TextArea
rows=
{
3
}
disabled=
{
true
}
/>
</
Col
>
</
Form
.
Item
>
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
8
}
>
</
Col
>
<
Form
.
Item
label=
"加载方式"
name=
"dataLoadingStrategy"
>
<
LoadSelect
/>
</
Form
.
Item
>
</
Col
>
</
Col
>
</
Row
>
</
Row
>
</
React
.
Fragment
>
</
React
.
Fragment
>
...
@@ -524,27 +534,39 @@ const ImportActionHeader = (props) => {
...
@@ -524,27 +534,39 @@ const ImportActionHeader = (props) => {
!
onlyShowRequireChange
&&
<
Divider
style=
{
{
margin
:
'0 0 15px'
}
}
/>
!
onlyShowRequireChange
&&
<
Divider
style=
{
{
margin
:
'0 0 15px'
}
}
/>
}
}
{
{
!
onlyShowRequireChange
&&
<
Descriptions
column=
{
3
}
>
!
onlyShowRequireChange
&&
<
React
.
Fragment
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
技术主键
</
div
>
}
>
{
highlightSearchContentByTerms
(
primaryDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
column=
{
3
}
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据平台
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataResidence
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
技术主键
</
div
>
}
>
{
highlightSearchContentByTerms
(
primaryDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据情况
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataCircumstances
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据平台
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataResidence
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
分布键
</
div
>
}
>
{
highlightSearchContentByTerms
(
distributionDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据情况
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataCircumstances
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据类型
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataType
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
分布键
</
div
>
}
>
{
highlightSearchContentByTerms
(
distributionDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
更新时间
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataUpdatingTiming
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据类型
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataType
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
分区键
</
div
>
}
>
{
highlightSearchContentByTerms
(
partitionsDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
更新时间
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataUpdatingTiming
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
绑定加载范围
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
bindingLoadRange
||
''
,
terms
)
}
</
Descriptions
.
Item
>
</
Descriptions
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
维护历史
</
div
>
}
>
<
Row
>
<
div
>
<
Col
span=
{
16
}
>
{
<
Descriptions
column=
{
2
}
>
(
maintenanceRecords
||
[]).
map
((
record
,
index
)
=>
{
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
分区键
</
div
>
}
>
{
highlightSearchContentByTerms
(
partitionsDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
return
<
div
key=
{
index
}
>
{
record
||
''
}
</
div
>;
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
绑定加载范围
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
bindingLoadRange
||
''
,
terms
)
}
</
Descriptions
.
Item
>
})
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
类主键
</
div
>
}
>
{
highlightSearchContentByTerms
(
semiPrimaryDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
}
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
加载方式
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataLoadingStrategy
||
''
,
terms
)
}
</
Descriptions
.
Item
>
</
div
>
</
Descriptions
>
</
Descriptions
.
Item
>
</
Col
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
类主键
</
div
>
}
>
{
highlightSearchContentByTerms
(
semiPrimaryDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Col
span=
{
8
}
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
加载方式
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataLoadingStrategy
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
column=
{
1
}
>
</
Descriptions
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
维护历史
</
div
>
}
>
<
div
>
{
(
maintenanceRecords
||
[]).
map
((
record
,
index
)
=>
{
return
<
div
key=
{
index
}
>
{
record
||
''
}
</
div
>;
})
}
</
div
>
</
Descriptions
.
Item
>
</
Descriptions
>
</
Col
>
</
Row
>
</
React
.
Fragment
>
}
}
</
React
.
Fragment
>
</
React
.
Fragment
>
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment