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
9d45e58d
Commit
9d45e58d
authored
Dec 29, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
46587743
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
15 deletions
+25
-15
index.less
src/index.less
+6
-0
ImportActionHeader.jsx
src/view/Manage/Model/Component/ImportActionHeader.jsx
+19
-15
No files found.
src/index.less
View file @
9d45e58d
...
@@ -74,6 +74,12 @@ code {
...
@@ -74,6 +74,12 @@ code {
color: white;
color: white;
}
}
.word-wrap {
overflow: hidden;
word-wrap: break-word;
white-space:normal;
}
div[id^='__qiankun_microapp_wrapper_'] {
div[id^='__qiankun_microapp_wrapper_'] {
height: 100%;
height: 100%;
}
}
...
...
src/view/Manage/Model/Component/ImportActionHeader.jsx
View file @
9d45e58d
...
@@ -279,7 +279,7 @@ const ImportActionHeader = (props) => {
...
@@ -279,7 +279,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
InputDebounce
/>
:
<
span
>
editable
?
<
InputDebounce
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
cnName
,
terms
)
}
{
highlightSearchContentByTerms
(
modelerData
?.
cnName
,
terms
)
}
</
span
>
</
span
>
}
}
...
@@ -293,7 +293,7 @@ const ImportActionHeader = (props) => {
...
@@ -293,7 +293,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
AutoComplete
options=
{
options
}
onSearch=
{
onSearch
}
/>
:
<
span
>
{
highlightSearchContentByTerms
(
modelerData
?.
name
,
terms
)
}
</
span
>
editable
?
<
AutoComplete
options=
{
options
}
onSearch=
{
onSearch
}
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
name
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -305,7 +305,7 @@ const ImportActionHeader = (props) => {
...
@@ -305,7 +305,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
TextArea
rows=
{
1
}
placeholder=
'描述数据表包含的业务数据,包括数据内容业务描述、表的适用范围、数据粒度、数据统计口径、数据来源等。对于原始数据表,可以说明加载的源接口信息。'
/>
:
<
span
>
{
highlightSearchContentByTerms
(
modelerData
?.
remark
,
terms
)
}
</
span
>
editable
?
<
TextArea
rows=
{
1
}
placeholder=
'描述数据表包含的业务数据,包括数据内容业务描述、表的适用范围、数据粒度、数据统计口径、数据来源等。对于原始数据表,可以说明加载的源接口信息。'
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
remark
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -316,7 +316,7 @@ const ImportActionHeader = (props) => {
...
@@ -316,7 +316,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
AttributesSelect
modelerData=
{
modelerData
}
mode=
'tags'
/>
:
<
span
>
{
highlightSearchContentByTerms
(
primaryDescription
,
terms
)
}
</
span
>
editable
?
<
AttributesSelect
modelerData=
{
modelerData
}
mode=
'tags'
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
primaryDescription
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -327,7 +327,7 @@ const ImportActionHeader = (props) => {
...
@@ -327,7 +327,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
Input
placeholder=
'描述数据表落地的数据平台及数据库'
/>
:
<
span
>
{
highlightSearchContentByTerms
(
modelerData
?.
dataResidence
,
terms
)
}
</
span
>
editable
?
<
Input
placeholder=
'描述数据表落地的数据平台及数据库'
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
dataResidence
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -345,11 +345,15 @@ const ImportActionHeader = (props) => {
...
@@ -345,11 +345,15 @@ const ImportActionHeader = (props) => {
onDetail=
{
()
=>
{
onDetail=
{
()
=>
{
setRuleParams
({
visible
:
true
})
setRuleParams
({
visible
:
true
})
}
}
}
}
/>
:
<
Space
>
/>
:
<
Space
align=
'start'
>
{
modelerData
?.
easyDataModelerModelingConstraint
?.
cnName
}
{
modelerData
?.
easyDataModelerModelingConstraint
?.
cnName
}
<
a
onClick=
{
()
=>
{
<
a
onClick=
{
()
=>
{
setRuleParams
({
visible
:
true
})
setRuleParams
({
visible
:
true
})
}
}
>
查看
</
a
>
}
}
>
<
div
style=
{
{
width
:
30
}
}
>
查看
</
div
>
</
a
>
</
Space
>
</
Space
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
...
@@ -366,7 +370,7 @@ const ImportActionHeader = (props) => {
...
@@ -366,7 +370,7 @@ const ImportActionHeader = (props) => {
modelerData=
{
modelerData
}
modelerData=
{
modelerData
}
templates=
{
templates
}
templates=
{
templates
}
onChange=
{
onTemplateChange
}
onChange=
{
onTemplateChange
}
/>
:
<
span
>
{
modelerData
?.
tableType
}
</
span
>
/>
:
<
span
className=
'word-wrap'
>
{
modelerData
?.
tableType
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -416,7 +420,7 @@ const ImportActionHeader = (props) => {
...
@@ -416,7 +420,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
AttributesSelect
modelerData=
{
modelerData
}
/>
:
<
span
>
{
highlightSearchContentByTerms
(
distributionDescription
,
terms
)
}
</
span
>
editable
?
<
AttributesSelect
modelerData=
{
modelerData
}
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
distributionDescription
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -427,7 +431,7 @@ const ImportActionHeader = (props) => {
...
@@ -427,7 +431,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
PartitionSelect
modelerData=
{
modelerData
}
partitionTypes=
{
supportedPartitionTypes
}
/>
:
<
span
>
{
highlightSearchContentByTerms
(
partitionsDescription
,
terms
)
}
</
span
>
editable
?
<
PartitionSelect
modelerData=
{
modelerData
}
partitionTypes=
{
supportedPartitionTypes
}
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
partitionsDescription
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -438,7 +442,7 @@ const ImportActionHeader = (props) => {
...
@@ -438,7 +442,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
AttributesSelect
modelerData=
{
modelerData
}
mode=
'tags'
/>
:
<
span
>
{
highlightSearchContentByTerms
(
semiPrimaryDescription
,
terms
)
}
</
span
>
editable
?
<
AttributesSelect
modelerData=
{
modelerData
}
mode=
'tags'
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
semiPrimaryDescription
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -449,7 +453,7 @@ const ImportActionHeader = (props) => {
...
@@ -449,7 +453,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
Input
placeholder=
'描述数据表中数据的更新频率、每日增量情况、数据量级和历史数据'
/>
:
<
span
>
{
highlightSearchContentByTerms
(
modelerData
?.
dataCircumstances
,
terms
)
}
</
span
>
editable
?
<
Input
placeholder=
'描述数据表中数据的更新频率、每日增量情况、数据量级和历史数据'
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
dataCircumstances
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -460,7 +464,7 @@ const ImportActionHeader = (props) => {
...
@@ -460,7 +464,7 @@ const ImportActionHeader = (props) => {
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
UpdateSelect
placeholder=
'描述数据表的更新时间点'
/>
:
<
div
>
{
highlightSearchContentByTerms
(
modelerData
?.
dataUpdatingTiming
,
terms
)
}
</
div
>
editable
?
<
UpdateSelect
placeholder=
'描述数据表的更新时间点'
/>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
dataUpdatingTiming
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -478,7 +482,7 @@ const ImportActionHeader = (props) => {
...
@@ -478,7 +482,7 @@ const ImportActionHeader = (props) => {
{
item
}
{
item
}
</
Option
>)
</
Option
>)
}
}
</
Select
>
:
<
span
>
{
highlightSearchContentByTerms
(
modelerData
?.
dataType
,
terms
)
}
</
span
>
</
Select
>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
dataType
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -496,7 +500,7 @@ const ImportActionHeader = (props) => {
...
@@ -496,7 +500,7 @@ const ImportActionHeader = (props) => {
{
item
}
{
item
}
</
Option
>)
</
Option
>)
}
}
</
Select
>
:
<
span
>
{
highlightSearchContentByTerms
(
modelerData
?.
bindingLoadRang
,
terms
)
}
</
span
>
</
Select
>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
bindingLoadRang
,
terms
)
}
</
span
>
}
}
</
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