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
dea3afbc
Commit
dea3afbc
authored
May 09, 2024
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支持hive
parent
b0e974ed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
datamodeler.js
src/service/datamodeler.js
+1
-1
ImportActionHeader.jsx
src/view/Manage/Model/Component/ImportActionHeader.jsx
+3
-3
ImportActionManage.jsx
src/view/Manage/Model/Component/ImportActionManage.jsx
+1
-3
ImportActionTable.jsx
src/view/Manage/Model/Component/ImportActionTable.jsx
+1
-1
No files found.
src/service/datamodeler.js
View file @
dea3afbc
...
@@ -178,7 +178,7 @@ export function setRootDomainId(payload) {
...
@@ -178,7 +178,7 @@ export function setRootDomainId(payload) {
}
}
export
function
getMaintenanceRecords
(
payload
)
{
export
function
getMaintenanceRecords
(
payload
)
{
return
Pos
tJSON
(
"/datamodeler/easyDataModelerCURD/getMaintenanceRecords"
,
payload
);
return
Ge
tJSON
(
"/datamodeler/easyDataModelerCURD/getMaintenanceRecords"
,
payload
);
}
}
export
function
getCheckoutDataModel
(
payload
)
{
export
function
getCheckoutDataModel
(
payload
)
{
...
...
src/view/Manage/Model/Component/ImportActionHeader.jsx
View file @
dea3afbc
...
@@ -378,14 +378,14 @@ const ImportActionHeader = (props) => {
...
@@ -378,14 +378,14 @@ const ImportActionHeader = (props) => {
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
8
}
>
<
Col
xs=
{
24
}
sm=
{
24
}
lg=
{
12
}
xl=
{
8
}
>
<
Form
.
Item
<
Form
.
Item
label=
"数据表类型"
label=
"数据表类型"
name=
"
hiveE
xternalTable"
name=
"
e
xternalTable"
style=
{
{
marginBottom
}
}
style=
{
{
marginBottom
}
}
>
>
{
{
editable
?
<
Select
allowClear
>
editable
?
<
Select
allowClear
>
<
Select
.
Option
value=
{
false
}
>
内部表
</
Select
.
Option
>
<
Select
.
Option
value=
{
false
}
>
内部表
</
Select
.
Option
>
<
Select
.
Option
value=
{
true
}
>
外部表
</
Select
.
Option
>
<
Select
.
Option
value=
{
true
}
>
外部表
</
Select
.
Option
>
</
Select
>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
hiveE
xternalTable
?
'外部表'
:
'内部表'
,
terms
)
}
</
span
>
</
Select
>
:
<
span
className=
'word-wrap'
>
{
highlightSearchContentByTerms
(
modelerData
?.
e
xternalTable
?
'外部表'
:
'内部表'
,
terms
)
}
</
span
>
}
}
</
Form
.
Item
>
</
Form
.
Item
>
</
Col
>
</
Col
>
...
@@ -900,7 +900,7 @@ const DistributionBucketItem = ({ value, modelerData, onChange, ...restProps })
...
@@ -900,7 +900,7 @@ const DistributionBucketItem = ({ value, modelerData, onChange, ...restProps })
}
}
return
(
return
(
<
Row
>
<
Row
gutter=
{
10
}
>
<
Col
span=
{
12
}
>
<
Col
span=
{
12
}
>
<
Select
<
Select
onChange=
{
(
val
)
=>
{
onChange=
{
(
val
)
=>
{
...
...
src/view/Manage/Model/Component/ImportActionManage.jsx
View file @
dea3afbc
...
@@ -46,9 +46,7 @@ const FC = (props) => {
...
@@ -46,9 +46,7 @@ const FC = (props) => {
dispatch
({
dispatch
({
type
:
'datamodel.getMaintenanceRecords'
,
type
:
'datamodel.getMaintenanceRecords'
,
payload
:
{
payload
:
{
params
:
{
id
:
modelerData
?.
id
id
:
modelerData
?.
id
}
},
},
callback
:
data
=>
{
callback
:
data
=>
{
setMaintenanceRecords
(
data
);
setMaintenanceRecords
(
data
);
...
...
src/view/Manage/Model/Component/ImportActionTable.jsx
View file @
dea3afbc
...
@@ -967,7 +967,7 @@ export const ImportActionTable = (props) => {
...
@@ -967,7 +967,7 @@ export const ImportActionTable = (props) => {
inputType,
inputType,
colTitle: col.title,
colTitle: col.title,
editing: isEditing(record),
editing: isEditing(record),
datatypes:
supportedDatatypes
,
datatypes:
(supportedDatatypes??[]).filter(item => item.supportedDBTypes.indexOf(modelerData?.dbType) !== -1)
,
require: col.require,
require: col.require,
onPressEnter: () => {
onPressEnter: () => {
onColumnPressEnter(col.title)
onColumnPressEnter(col.title)
...
...
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