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
634f1ed4
Commit
634f1ed4
authored
Mar 02, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基本信息右对齐
parent
4b2d2066
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
24 deletions
+22
-24
AssetDirectory.jsx
src/view/Manage/AssetManage/Component/AssetDirectory.jsx
+5
-3
ImportActionHeader.jsx
src/view/Manage/Model/Component/ImportActionHeader.jsx
+17
-17
ImportActionHeader.less
src/view/Manage/Model/Component/ImportActionHeader.less
+0
-4
No files found.
src/view/Manage/AssetManage/Component/AssetDirectory.jsx
View file @
634f1ed4
...
@@ -163,9 +163,11 @@ const AssetDirectory = (props) => {
...
@@ -163,9 +163,11 @@ const AssetDirectory = (props) => {
</
div
>
</
div
>
</
div
>
</
div
>
<
Dropdown
overlay=
{
elementManageMenu
}
placement=
"bottomCenter"
>
{
<
SettingOutlined
style=
{
{
fontSize
:
16
,
cursor
:
'pointer'
,
marginBottom
:
50
}
}
/>
(
reference
===
AssetManageReference
)
&&
<
Dropdown
overlay=
{
elementManageMenu
}
placement=
"bottomCenter"
>
</
Dropdown
>
<
SettingOutlined
style=
{
{
fontSize
:
16
,
cursor
:
'pointer'
,
marginBottom
:
50
}
}
/>
</
Dropdown
>
}
</
div
>
</
div
>
...
...
src/view/Manage/Model/Component/ImportActionHeader.jsx
View file @
634f1ed4
...
@@ -673,9 +673,9 @@ const ImportActionHeader = (props) => {
...
@@ -673,9 +673,9 @@ const ImportActionHeader = (props) => {
</
Form
>
</
Form
>
)
:
(
)
:
(
<
React
.
Fragment
>
<
React
.
Fragment
>
<
Descriptions
column=
{
3
}
labelStyle=
{
{
width
:
85
}
}
>
<
Descriptions
column=
{
3
}
>
<
Descriptions
.
Item
label=
"中文名称"
>
{
highlightSearchContentByTerms
(
modelerData
.
cnName
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
中文名称
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
cnName
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"英文名称"
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
英文名称
</
div
>
}
>
{
{
<
div
>
<
div
>
<
div
>
{
highlightSearchContentByTerms
(
modelerData
.
name
||
''
,
terms
)
}
</
div
>
<
div
>
{
highlightSearchContentByTerms
(
modelerData
.
name
||
''
,
terms
)
}
</
div
>
...
@@ -691,25 +691,25 @@ const ImportActionHeader = (props) => {
...
@@ -691,25 +691,25 @@ const ImportActionHeader = (props) => {
</
div
>
</
div
>
}
}
</
Descriptions
.
Item
>
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"规范"
>
{
modelerData
.
easyDataModelerModelingConstraint
?(
modelerData
.
easyDataModelerModelingConstraint
.
cnName
||
''
):
''
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
规范
</
div
>
}
>
{
modelerData
.
easyDataModelerModelingConstraint
?(
modelerData
.
easyDataModelerModelingConstraint
.
cnName
||
''
):
''
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"数据内容"
>
{
highlightSearchContentByTerms
(
modelerData
.
remark
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据内容
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
remark
||
''
,
terms
)
}
</
Descriptions
.
Item
>
</
Descriptions
>
</
Descriptions
>
{
{
!
onlyShowRequireChange
&&
<
Divider
style=
{
{
margin
:
'0 0 15px'
}
}
/>
!
onlyShowRequireChange
&&
<
Divider
style=
{
{
margin
:
'0 0 15px'
}
}
/>
}
}
{
{
!
onlyShowRequireChange
&&
<
Descriptions
column=
{
3
}
labelStyle=
{
{
width
:
85
}
}
>
!
onlyShowRequireChange
&&
<
Descriptions
column=
{
3
}
>
<
Descriptions
.
Item
label=
"生成表类型"
>
{
modelerData
.
easyDataModelerModelingTemplate
?(
modelerData
.
easyDataModelerModelingTemplate
.
cnName
||
''
):
''
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
生成表类型
</
div
>
}
>
{
modelerData
.
easyDataModelerModelingTemplate
?(
modelerData
.
easyDataModelerModelingTemplate
.
cnName
||
''
):
''
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"数据表类型"
>
{
highlightSearchContentByTerms
(
modelerData
.
tableType
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据表类型
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
tableType
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"数据平台"
>
{
highlightSearchContentByTerms
(
modelerData
.
dataResidence
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据平台
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataResidence
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"数据情况"
>
{
highlightSearchContentByTerms
(
modelerData
.
dataCircumstances
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
数据情况
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataCircumstances
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"分布键"
>
{
highlightSearchContentByTerms
(
distributionDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
分布键
</
div
>
}
>
{
highlightSearchContentByTerms
(
distributionDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"分区键"
>
{
highlightSearchContentByTerms
(
partitionsDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
分区键
</
div
>
}
>
{
highlightSearchContentByTerms
(
partitionsDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"主键"
>
{
highlightSearchContentByTerms
(
primaryDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
主键
</
div
>
}
>
{
highlightSearchContentByTerms
(
primaryDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"类主键"
>
{
highlightSearchContentByTerms
(
semiPrimaryDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
类主键
</
div
>
}
>
{
highlightSearchContentByTerms
(
semiPrimaryDescription
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"加载方式"
>
{
highlightSearchContentByTerms
(
modelerData
.
dataLoadingStrategy
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
加载方式
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataLoadingStrategy
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"更新时间"
>
{
highlightSearchContentByTerms
(
modelerData
.
dataUpdatingTiming
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
更新时间
</
div
>
}
>
{
highlightSearchContentByTerms
(
modelerData
.
dataUpdatingTiming
||
''
,
terms
)
}
</
Descriptions
.
Item
>
<
Descriptions
.
Item
label=
"维护历史"
>
<
Descriptions
.
Item
label=
{
<
div
style=
{
{
textAlign
:
'right'
,
width
:
85
}
}
>
维护历史
</
div
>
}
>
<
div
>
<
div
>
{
{
(
maintenanceRecords
||
[]).
map
((
record
,
index
)
=>
{
(
maintenanceRecords
||
[]).
map
((
record
,
index
)
=>
{
...
...
src/view/Manage/Model/Component/ImportActionHeader.less
View file @
634f1ed4
...
@@ -7,10 +7,6 @@
...
@@ -7,10 +7,6 @@
margin-bottom: 0px;
margin-bottom: 0px;
}
}
.yy-descriptions-item-label {
justify-content: end;
}
.yy-descriptions-row > th, .yy-descriptions-row > td {
.yy-descriptions-row > th, .yy-descriptions-row > td {
padding-bottom: 15px;
padding-bottom: 15px;
}
}
...
...
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