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
a272d511
Commit
a272d511
authored
Nov 24, 2023
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
a3e70e12
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
222 deletions
+0
-222
ImportAction.jsx
src/view/Manage/Model/Component/ImportAction.jsx
+0
-222
No files found.
src/view/Manage/Model/Component/ImportAction.jsx
View file @
a272d511
...
...
@@ -297,228 +297,6 @@ const ImportAction = React.forwardRef((props, ref) => {
}
}
{
"easyDataModelerDataModelAttributes"
:
[
{
"name"
:
"id"
,
"remark"
:
"1223"
,
"cnName"
:
"id"
,
"modelingTemplateTag"
:
null
,
"datatype"
:
{
"name"
:
"Int"
,
"cnName"
:
"整型"
,
"supportedDBTypes"
:
[
"Greenplum"
,
"MySQL"
],
"parameterNames"
:
[],
"parameterCnNames"
:
[],
"parameterValues"
:
[],
"jdbctype"
:
4
},
"recommendedStats"
:
null
,
"iid"
:
"8838bdbe-af73-4b7b-9b2d-671ce68d366c"
,
"isPossibleNewTerm"
:
null
,
"isPossibleNewRecommendedDefinition"
:
null
,
"provided"
:
false
,
"notNull"
:
false
,
"inherited"
:
false
,
"partOfPrimaryKeyLogically"
:
false
,
"foreignKey"
:
false
,
"defaultValue"
:
"21213"
,
"definition"
:
"213"
,
"valueRange"
:
"213"
,
"needAttention"
:
true
},
{
"name"
:
"load_time"
,
"remark"
:
"作业加载的时间"
,
"cnName"
:
"加载时间"
,
"modelingTemplateTag"
:
{
"id"
:
"64759a0b9e14e602c85c3209"
,
"name"
:
"rtm1"
,
"cnName"
:
"实时表"
,
"remark"
:
"实时表1"
,
"createdTs"
:
1685428747160
,
"modifiedTs"
:
1700116122949
},
"datatype"
:
{
"name"
:
"Timestamp"
,
"cnName"
:
"时间日期"
,
"supportedDBTypes"
:
[
"Greenplum"
,
"MySQL"
],
"parameterNames"
:
[],
"parameterCnNames"
:
[],
"parameterValues"
:
[],
"jdbctype"
:
93
},
"recommendedStats"
:
null
,
"iid"
:
"ae6f4377-a3ce-4a38-a875-a65fc3cadc41"
,
"isPossibleNewTerm"
:
null
,
"isPossibleNewRecommendedDefinition"
:
null
,
"provided"
:
false
,
"notNull"
:
false
,
"inherited"
:
false
,
"partOfPrimaryKeyLogically"
:
false
,
"foreignKey"
:
false
,
"defaultValue"
:
null
,
"definition"
:
null
,
"valueRange"
:
null
,
"needAttention"
:
true
},
{
"name"
:
"load_date"
,
"remark"
:
"作业加载的日历日期"
,
"cnName"
:
"加载日期"
,
"modelingTemplateTag"
:
{
"id"
:
"64759a0b9e14e602c85c3209"
,
"name"
:
"rtm1"
,
"cnName"
:
"实时表"
,
"remark"
:
"实时表1"
,
"createdTs"
:
1685428747160
,
"modifiedTs"
:
1700116122949
},
"datatype"
:
{
"name"
:
"Date"
,
"cnName"
:
"日期"
,
"supportedDBTypes"
:
[
"Greenplum"
,
"MySQL"
],
"parameterNames"
:
[],
"parameterCnNames"
:
[],
"parameterValues"
:
[],
"jdbctype"
:
91
},
"recommendedStats"
:
null
,
"iid"
:
"b8ec46ba-0acd-4683-b6c6-3657f066a8d0"
,
"isPossibleNewTerm"
:
null
,
"isPossibleNewRecommendedDefinition"
:
null
,
"provided"
:
false
,
"notNull"
:
false
,
"inherited"
:
false
,
"partOfPrimaryKeyLogically"
:
false
,
"foreignKey"
:
false
,
"defaultValue"
:
null
,
"definition"
:
null
,
"valueRange"
:
null
,
"needAttention"
:
true
}
],
"easyDataModelerPrimaryKey"
:
[],
"easyDataModelerDistributionKey"
:
[],
"partition"
:
null
,
"easyDataModelerIndices"
:
[],
"easyDataModelerSemiPrimaryKey"
:
[],
"name"
:
"t_99933"
,
"remark"
:
"t_999"
,
"cnName"
:
"t_9991"
,
"createdTs"
:
1700726828751
,
"modifiedTs"
:
1700811824793
,
"checkOutByWho"
:
null
,
"state"
:
{
"phase"
:
null
,
"supportedActions"
:
[
{
"cnName"
:
"送审"
,
"name"
:
"ask review"
,
"id"
:
"1"
}
],
"subState"
:
null
,
"cnName"
:
"草稿"
,
"phaseSupported"
:
false
,
"name"
:
"draft"
,
"id"
:
"1"
,
"type"
:
"default"
},
"optionList"
:
[
{
"name"
:
"查看"
,
"enabled"
:
true
},
{
"name"
:
"新增"
,
"enabled"
:
true
},
{
"name"
:
"编辑"
,
"enabled"
:
true
},
{
"name"
:
"删除"
,
"enabled"
:
true
},
{
"name"
:
"建表"
,
"enabled"
:
true
},
{
"name"
:
"变更目录"
,
"enabled"
:
true
},
{
"name"
:
"历史版本"
,
"enabled"
:
true
},
{
"name"
:
"导出"
,
"enabled"
:
true
},
{
"name"
:
"送审"
,
"enabled"
:
true
},
{
"name"
:
"存量模型导入"
,
"enabled"
:
true
}
],
"path"
:
"/资管"
,
"namespace"
:
"2"
,
"id"
:
"655dc8739e14e658cfb5dada-1"
,
"easyDataModelerModelingTemplate"
:
{
"id"
:
null
,
"name"
:
"rtm1"
,
"cnName"
:
"实时表"
,
"remark"
:
"实时表1"
,
"createdTs"
:
null
,
"modifiedTs"
:
null
,
"constraintName"
:
null
,
"constraintCnName"
:
null
,
"easyDataModelerDataModelAttributes"
:
[]
},
"checkedOutId"
:
null
,
"editor"
:
"测试用户"
,
"holder"
:
null
,
"inheritedEasyDataModelerDataModels"
:
{},
"inheritedFromEasyDataModelerDataModel"
:
null
,
"otherEasyDataModelerDataModelsInheritedFromSameOrigin"
:
{},
"deletable"
:
true
,
"easyDataModelerModelingConstraint"
:
{
"name"
:
"65572e7101464936971abbac"
,
"cnName"
:
"name"
,
"description"
:
"name1-name1"
,
"id"
:
"65572e7101464936971abbac"
,
"allRules"
:
null
},
"editable"
:
true
,
"deployable"
:
false
,
"supportRecatalog"
:
true
,
"dataResidence"
:
""
,
"dataUpdatingTiming"
:
""
,
"tableType"
:
"实时表"
,
"dataLoadingStrategy"
:
""
,
"dataCircumstances"
:
""
,
"dataType"
:
null
,
"bindingLoadRange"
:
null
,
"inherited"
:
false
,
"alreadyCheckedOut"
:
false
,
"permitCheckOut"
:
false
}
const
onTemplateChange
=
(
value
,
isCustom
=
false
)
=>
{
let
currentTemplate
=
null
;
...
...
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