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
3dc41d19
Commit
3dc41d19
authored
Jan 24, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
模型基本信息样式
parent
ed90134d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
24 deletions
+21
-24
ImportActionHeader.jsx
src/view/Manage/Model/Component/ImportActionHeader.jsx
+21
-24
No files found.
src/view/Manage/Model/Component/ImportActionHeader.jsx
View file @
3dc41d19
...
@@ -133,7 +133,6 @@ const AttributesSelect = ({ value = [], modelerData, onChange, mode = 'multiple'
...
@@ -133,7 +133,6 @@ const AttributesSelect = ({ value = [], modelerData, onChange, mode = 'multiple'
onChange=
{
(
value
)
=>
{
onAttributeChange
&&
onAttributeChange
(
value
)
}
}
onChange=
{
(
value
)
=>
{
onAttributeChange
&&
onAttributeChange
(
value
)
}
}
value=
{
attributeIds
}
value=
{
attributeIds
}
placeholder=
'请选择字段名称'
placeholder=
'请选择字段名称'
style=
{
{
width
:
300
}
}
mode=
{
mode
}
mode=
{
mode
}
allowClear=
{
true
}
allowClear=
{
true
}
>
>
...
@@ -184,12 +183,12 @@ const PartitionSelect = ({ value = {}, modelerData, partitionTypes = [], onChang
...
@@ -184,12 +183,12 @@ const PartitionSelect = ({ value = {}, modelerData, partitionTypes = [], onChang
})
})
return
(
return
(
<
span
>
<
Row
gutter=
{
10
}
>
<
Col
span=
{
8
}
>
<
Select
<
Select
onChange=
{
onPartitionTypeChange
}
onChange=
{
onPartitionTypeChange
}
value=
{
value
?.
partitionType
?.
name
||
''
}
value=
{
value
?.
partitionType
?.
name
||
''
}
placeholder=
'请选择分区类型'
placeholder=
'请选择分区类型'
style=
{
{
width
:
95
}
}
allowClear=
{
true
}
allowClear=
{
true
}
>
>
{
{
...
@@ -200,23 +199,25 @@ const PartitionSelect = ({ value = {}, modelerData, partitionTypes = [], onChang
...
@@ -200,23 +199,25 @@ const PartitionSelect = ({ value = {}, modelerData, partitionTypes = [], onChang
})
})
}
}
</
Select
>
</
Select
>
<
Select
</
Col
>
onChange=
{
(
value
)
=>
{
onAttributeChange
&&
onAttributeChange
(
value
)
}
}
<
Col
span=
{
16
}
>
value=
{
attributeIds
}
<
Select
placeholder=
'请选择字段名称'
onChange=
{
(
value
)
=>
{
onAttributeChange
&&
onAttributeChange
(
value
)
}
}
style=
{
{
width
:
200
,
marginLeft
:
5
}
}
value=
{
attributeIds
}
mode=
'multiple'
placeholder=
'请选择字段名称'
allowClear=
{
true
}
mode=
'multiple'
>
allowClear=
{
true
}
{
>
(
modelerData
?.
easyDataModelerDataModelAttributes
||
[]).
map
((
attribute
,
index
)
=>
{
{
return
(
(
modelerData
?.
easyDataModelerDataModelAttributes
||
[]).
map
((
attribute
,
index
)
=>
{
<
Option
key=
{
index
}
value=
{
attribute
.
iid
||
''
}
>
{
attribute
.
name
||
''
}
</
Option
>
return
(
);
<
Option
key=
{
index
}
value=
{
attribute
.
iid
||
''
}
>
{
attribute
.
name
||
''
}
</
Option
>
})
);
}
})
</
Select
>
}
</
span
>
</
Select
>
</
Col
>
</
Row
>
);
);
}
}
...
@@ -245,7 +246,6 @@ const LoadSelect = ({ value = '', onChange, ...restProps }) => {
...
@@ -245,7 +246,6 @@ const LoadSelect = ({ value = '', onChange, ...restProps }) => {
return
(
return
(
<
Select
<
Select
mode=
"tags"
mode=
"tags"
style=
{
{
width
:
300
}
}
tokenSeparators=
{
[
'/'
,
' '
]
}
tokenSeparators=
{
[
'/'
,
' '
]
}
onChange=
{
(
value
)
=>
{
onLoadChange
&&
onLoadChange
(
value
)
}
}
onChange=
{
(
value
)
=>
{
onLoadChange
&&
onLoadChange
(
value
)
}
}
value=
{
loadNames
}
value=
{
loadNames
}
...
@@ -287,7 +287,6 @@ const UpdateSelect = ({ value = '', onChange, ...restProps }) => {
...
@@ -287,7 +287,6 @@ const UpdateSelect = ({ value = '', onChange, ...restProps }) => {
return
(
return
(
<
Select
<
Select
mode=
"tags"
mode=
"tags"
style=
{
{
width
:
300
}
}
tokenSeparators=
{
[
'/'
,
' '
]
}
tokenSeparators=
{
[
'/'
,
' '
]
}
onChange=
{
(
value
)
=>
{
onUpdateChange
&&
onUpdateChange
(
value
)
}
}
onChange=
{
(
value
)
=>
{
onUpdateChange
&&
onUpdateChange
(
value
)
}
}
value=
{
updateNames
}
value=
{
updateNames
}
...
@@ -531,7 +530,6 @@ const ImportActionHeader = (props) => {
...
@@ -531,7 +530,6 @@ const ImportActionHeader = (props) => {
<
ConstraintSelect
<
ConstraintSelect
constraints=
{
constraints
}
constraints=
{
constraints
}
onChange=
{
onConstraintChange
}
onChange=
{
onConstraintChange
}
style=
{
{
width
:
200
}
}
/>
/>
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -556,7 +554,6 @@ const ImportActionHeader = (props) => {
...
@@ -556,7 +554,6 @@ const ImportActionHeader = (props) => {
<
TemplateSelect
<
TemplateSelect
templates=
{
templates
}
templates=
{
templates
}
onChange=
{
onTemplateChange
}
onChange=
{
onTemplateChange
}
style=
{
{
width
:
200
}
}
/>
/>
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
...
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