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
15f1846b
Commit
15f1846b
authored
Aug 05, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除mock
parent
c81a183f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
421 deletions
+0
-421
Mock.js
src/view/Manage/DataMaster/Define/Component/Mock.js
+0
-421
No files found.
src/view/Manage/DataMaster/Define/Component/Mock.js
deleted
100644 → 0
View file @
c81a183f
export
const
treeData
=
[
{
title
:
'parent 1'
,
key
:
'0-0'
,
children
:
[
{
title
:
'parent 1-0'
,
key
:
'0-0-0'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-0-0'
,
},
{
title
:
'leaf2'
,
key
:
'0-0-0-1'
,
},
{
title
:
'leaf3'
,
key
:
'0-0-0-2'
,
},
],
},
{
title
:
'parent 1-1'
,
key
:
'0-0-1'
,
children
:
[
{
title
:
'leaf'
,
key
:
'0-0-1-0'
,
},
],
},
{
title
:
'parent 1-2'
,
key
:
'0-0-2'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-2-0'
,
},
{
title
:
'leaf2'
,
key
:
'0-0-2-1'
,
},
],
},
{
title
:
'parent 1-3'
,
key
:
'0-0-3'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-3-0'
,
},
{
title
:
'leaf2'
,
key
:
'0-0-3-1'
,
},
],
},
{
title
:
'parent 1-4'
,
key
:
'0-0-4'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-4-0'
,
},
{
title
:
'leaf2'
,
key
:
'0-0-4-1'
,
},
],
},
{
title
:
'parent 1-5'
,
key
:
'0-0-5'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-5-0'
,
},
{
title
:
'leaf2'
,
key
:
'0-0-5-1'
,
},
],
},
],
},
];
export
const
tableData
=
[
{
id
:
'1'
,
name
:
'模版1'
,
cnName
:
'模版1'
,
creator
:
'demotest'
,
createTime
:
'2022-07-13 12:00:00'
,
modifier
:
'demotest'
,
modifyTime
:
'2022-07-13 12:00:00'
,
},
{
id
:
'2'
,
name
:
'模版2'
,
cnName
:
'模版2'
,
creator
:
'demotest'
,
createTime
:
'2022-07-13 12:00:00'
,
modifier
:
'demotest'
,
modifyTime
:
'2022-07-13 12:00:00'
,
},
{
id
:
'3'
,
name
:
'模版3'
,
cnName
:
'模版3'
,
creator
:
'demotest'
,
createTime
:
'2022-07-13 12:00:00'
,
modifier
:
'demotest'
,
modifyTime
:
'2022-07-13 12:00:00'
,
},
{
id
:
'4'
,
name
:
'模版4'
,
cnName
:
'模版4'
,
creator
:
'demotest'
,
createTime
:
'2022-07-13 12:00:00'
,
modifier
:
'demotest'
,
modifyTime
:
'2022-07-13 12:00:00'
,
},
{
id
:
'5'
,
name
:
'模版5'
,
cnName
:
'模版5'
,
creator
:
'demotest'
,
createTime
:
'2022-07-13 12:00:00'
,
modifier
:
'demotest'
,
modifyTime
:
'2022-07-13 12:00:00'
,
},
];
export
const
attrs
=
[
'attr1'
,
'attr2'
,
'attr3'
,
'attr4'
,
'attr5'
,
'attr6'
,
];
export
const
treeData1
=
[
{
title
:
'parent 1'
,
key
:
'0-0'
,
children
:
[
{
title
:
'parent 1-0'
,
key
:
'0-0-0'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-0-0'
,
children
:
[
{
title
:
'模版1'
,
key
:
'0-0-0-0-0'
,
},
{
title
:
'模版2'
,
key
:
'0-0-0-0-1'
,
},
{
title
:
'模版3'
,
key
:
'0-0-0-0-3'
,
},
]
},
{
title
:
'leaf2'
,
key
:
'0-0-0-1'
,
},
{
title
:
'leaf3'
,
key
:
'0-0-0-2'
,
},
],
},
{
title
:
'parent 1-1'
,
key
:
'0-0-1'
,
children
:
[
{
title
:
'leaf'
,
key
:
'0-0-1-0'
,
},
],
},
{
title
:
'parent 1-2'
,
key
:
'0-0-2'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-2-0'
,
},
{
title
:
'leaf2'
,
key
:
'0-0-2-1'
,
},
],
},
{
title
:
'parent 1-3'
,
key
:
'0-0-3'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-3-0'
,
},
{
title
:
'leaf2'
,
key
:
'0-0-3-1'
,
},
],
},
{
title
:
'parent 1-4'
,
key
:
'0-0-4'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-4-0'
,
},
{
title
:
'leaf2'
,
key
:
'0-0-4-1'
,
},
],
},
{
title
:
'parent 1-5'
,
key
:
'0-0-5'
,
children
:
[
{
title
:
'leaf1'
,
key
:
'0-0-5-0'
,
},
{
title
:
'leaf2'
,
key
:
'0-0-5-1'
,
},
],
},
],
},
];
export
const
expandedTableData
=
[
{
id
:
'1'
,
attr1
:
'attr1'
,
attr2
:
'attr2'
,
attr3
:
'attr3'
,
attr4
:
'attr4'
,
attr5
:
'attr5'
,
attr6
:
'attr6'
,
},
{
id
:
'2'
,
attr1
:
'attr1'
,
attr2
:
'attr2'
,
attr3
:
'attr3'
,
attr4
:
'attr4'
,
attr5
:
'attr5'
,
attr6
:
'attr6'
,
},
];
export
const
templateFileds
=
[
{
"name"
:
"company_short_name"
,
"remark"
:
"公司简称"
,
"cnName"
:
"公司简称"
,
"modelingTemplateTag"
:
null
,
"datatype"
:
{
"name"
:
"Varchar"
,
"cnName"
:
"字符串"
,
"supportedDBTypes"
:
[
"Greenplum"
,
"MySQL"
],
"parameterNames"
:
[
"length"
],
"parameterCnNames"
:
[
"长度"
],
"parameterValues"
:
[
68
],
"jdbctype"
:
12
},
"recommendedStats"
:
null
,
"iid"
:
"fc3ad8bb-1ebd-4eb2-ae0e-5cc8305bced3"
,
"isPossibleNewTerm"
:
null
,
"isPossibleNewRecommendedDefinition"
:
null
,
"notNull"
:
false
,
"foreignKey"
:
false
,
"defaultValue"
:
""
,
"needAttention"
:
false
,
"definition"
:
null
,
"valueRange"
:
null
,
"partOfPrimaryKeyLogically"
:
false
},
{
"name"
:
"counterparty_executing_trader"
,
"remark"
:
"对手方交易账户"
,
"cnName"
:
"对手方交易账户"
,
"modelingTemplateTag"
:
null
,
"datatype"
:
{
"name"
:
"Char"
,
"cnName"
:
"字符"
,
"supportedDBTypes"
:
[
"Greenplum"
,
"MySQL"
],
"parameterNames"
:
[
"length"
],
"parameterCnNames"
:
[
"长度"
],
"parameterValues"
:
[
13
],
"jdbctype"
:
1
},
"recommendedStats"
:
null
,
"iid"
:
"9f0642cc-f9b6-4644-acc5-a6f146c5f89e"
,
"isPossibleNewTerm"
:
null
,
"isPossibleNewRecommendedDefinition"
:
null
,
"notNull"
:
false
,
"foreignKey"
:
false
,
"defaultValue"
:
""
,
"needAttention"
:
false
,
"definition"
:
null
,
"valueRange"
:
null
,
"partOfPrimaryKeyLogically"
:
false
},
{
"name"
:
"counterparty_member_branch_code"
,
"remark"
:
"对手方营业部识别码"
,
"cnName"
:
"对手方营业部识别码"
,
"modelingTemplateTag"
:
null
,
"datatype"
:
{
"name"
:
"Char"
,
"cnName"
:
"字符"
,
"supportedDBTypes"
:
[
"Greenplum"
,
"MySQL"
],
"parameterNames"
:
[
"length"
],
"parameterCnNames"
:
[
"长度"
],
"parameterValues"
:
[
15
],
"jdbctype"
:
1
},
"recommendedStats"
:
null
,
"iid"
:
"95070aa0-74de-4e97-9227-1952a875054e"
,
"isPossibleNewTerm"
:
null
,
"isPossibleNewRecommendedDefinition"
:
null
,
"notNull"
:
false
,
"foreignKey"
:
false
,
"defaultValue"
:
""
,
"needAttention"
:
false
,
"definition"
:
null
,
"valueRange"
:
null
,
"partOfPrimaryKeyLogically"
:
false
},
{
"name"
:
"record_sequence"
,
"remark"
:
"记录序号"
,
"cnName"
:
"记录序号"
,
"modelingTemplateTag"
:
null
,
"datatype"
:
{
"name"
:
"Char"
,
"cnName"
:
"字符"
,
"supportedDBTypes"
:
[
"Greenplum"
,
"MySQL"
],
"parameterNames"
:
[
"length"
],
"parameterCnNames"
:
[
"长度"
],
"parameterValues"
:
[
6
],
"jdbctype"
:
1
},
"recommendedStats"
:
null
,
"iid"
:
"ed72ad1a-9455-4be0-b093-2af2621a766e"
,
"isPossibleNewTerm"
:
null
,
"isPossibleNewRecommendedDefinition"
:
null
,
"notNull"
:
false
,
"foreignKey"
:
false
,
"defaultValue"
:
""
,
"needAttention"
:
false
,
"definition"
:
null
,
"valueRange"
:
null
,
"partOfPrimaryKeyLogically"
:
false
}
];
\ No newline at end of file
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