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
641a5c77
Commit
641a5c77
authored
Apr 17, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉警告
parent
9cdc6402
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
18 deletions
+7
-18
ImportAction.jsx
src/view/Manage/Model/Component/ImportAction.jsx
+1
-0
ImportActionHeader.jsx
src/view/Manage/Model/Component/ImportActionHeader.jsx
+4
-17
TemplateCURD.jsx
src/view/Manage/ModelConfig/Component/TemplateCURD.jsx
+2
-1
No files found.
src/view/Manage/Model/Component/ImportAction.jsx
View file @
641a5c77
...
...
@@ -94,6 +94,7 @@ const ImportAction = (props) => {
}
else
{
setTemplates
([]);
}
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
constraint
])
const
getTemplates
=
()
=>
{
...
...
src/view/Manage/Model/Component/ImportActionHeader.jsx
View file @
641a5c77
import
React
,
{
useState
,
useEffect
,
useMemo
,
useRef
}
from
'react'
;
import
{
Form
,
Input
,
Row
,
Col
,
Descriptions
,
Select
,
AutoComplete
,
Button
,
Divider
,
Tooltip
,
Checkbox
,
Space
}
from
'antd'
;
import
{
Form
,
Input
,
Row
,
Col
,
Descriptions
,
Select
,
AutoComplete
,
Button
,
Divider
,
Tooltip
,
Checkbox
}
from
'antd'
;
import
{
DownOutlined
,
UpOutlined
}
from
'@ant-design/icons'
;
import
{
highlightSearchContentByTerms
,
generateUUID
}
from
'../../../../util'
;
...
...
@@ -42,22 +42,6 @@ const updateOptions = [
'作业提交'
,
'脚本加载'
,
];
const
tableTypeOptions
=
[
{
title
:
'实时表'
,
remark
:
'实时加载的数据表'
},
{
title
:
'手工配置表'
,
remark
:
'手工维护的配置表、定义表、类别表、对照表等'
},
{
title
:
'配置参数表'
,
remark
:
'自动更新的配置表、定义表、类别表、对照表等'
},
{
title
:
'原始数据表'
,
remark
:
'经过规范化处理的与贴源数据类似的数据表'
},
{
title
:
'基础数据表'
,
remark
:
'按照特定业务主体进行融合的基础数据'
},
{
title
:
'明细数据表'
,
remark
:
'系统内不可细分的数据表,一般用于业务流水类的数据'
},
{
title
:
'汇总统计表'
,
remark
:
'基于常用共性的维度组合的数据表'
},
{
title
:
'集市表'
,
remark
:
'数仓提供的、面向特定应用领域组织的数据表,通常是大宽表'
},
{
title
:
'分析表'
,
remark
:
'面向应用的标签、画像、关系图谱表'
},
{
title
:
'应用表'
,
remark
:
'应用平台自身产生、使用和通过应用平台维护的数据'
},
];
const
etlTableTypeData
=
{
full
:
[
'chain'
,
'daily'
,
'current'
,
'chain,current'
,
'daily,current'
,
'chain,daily,current'
],
change
:
[
'chain'
,
'current'
,
'chain,current'
,
'daily,current'
,
'chain,daily,current'
],
};
const
dataTypeRemark
=
'描述ETL框架中目标表的数据类型'
;
const
bindingLoadRemark
=
'描述ETL框架绑定加载列表,如chain、daily、current等'
;
...
...
@@ -465,6 +449,7 @@ const ImportActionHeader = (props) => {
})
}
return
newPrimaryDescription
;
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
editable
,
modelerData
])
//分区
...
...
@@ -483,6 +468,7 @@ const ImportActionHeader = (props) => {
newPartitionsDescription
+=
'/'
+
modelerData
?.
partition
?.
partitionType
?.
cnName
||
''
;
}
return
newPartitionsDescription
;
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
editable
,
modelerData
])
//类主键
...
...
@@ -498,6 +484,7 @@ const ImportActionHeader = (props) => {
})
}
return
newSemiPrimaryDescription
;
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
editable
,
modelerData
])
const
formItemLayout
=
{
...
...
src/view/Manage/ModelConfig/Component/TemplateCURD.jsx
View file @
641a5c77
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
Table
,
Button
,
Tooltip
,
Modal
,
Divider
,
Select
,
Space
}
from
'antd'
;
import
{
Table
,
Button
,
Tooltip
,
Modal
,
Divider
,
Select
}
from
'antd'
;
import
{
Action
,
TemplateId
}
from
'../../../../util/constant'
;
import
{
dispatch
}
from
'../../../../model'
;
...
...
@@ -24,6 +24,7 @@ const TemplateCURD = (props) => {
return
()
=>
{
window
?.
removeEventListener
(
"storage"
,
storageChange
);
}
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
currentConstraint
])
const
storageChange
=
(
e
)
=>
{
...
...
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