Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
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
张伯涛
bigDataSystem
Commits
3dc0593b
Commit
3dc0593b
authored
Dec 06, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改自助建表
parent
d5a73392
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
209 deletions
+33
-209
importModal.vue
...iptDevelopment/sqlDevelopment/importModal/importModal.vue
+0
-3
tempalte.data.ts
...ptDevelopment/sqlDevelopment/importModal/tempalte.data.ts
+33
-206
No files found.
src/views/scriptDevelopment/sqlDevelopment/importModal/importModal.vue
View file @
3dc0593b
...
@@ -13,9 +13,6 @@
...
@@ -13,9 +13,6 @@
<a-button>
下载模板
</a-button>
<a-button>
下载模板
</a-button>
<a-button
type=
"primary"
style=
"margin-left: 5px"
>
选择文件
</a-button>
<a-button
type=
"primary"
style=
"margin-left: 5px"
>
选择文件
</a-button>
</div>
</div>
<div
style=
"width: 200px; margin-top: 6px; margin-left: 5px"
>
数据质量只能导入单个zip文件
</div
>
</div>
</div>
</
template
>
</
template
>
</BasicForm>
</BasicForm>
...
...
src/views/scriptDevelopment/sqlDevelopment/importModal/tempalte.data.ts
View file @
3dc0593b
import
{
getAllRoleList
}
from
'@/api/system/role/role'
;
export
const
importFormSchema
:
any
[]
=
[
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
export
const
columns
:
BasicColumn
[]
=
[
{
title
:
'名称'
,
dataIndex
:
'name'
,
width
:
120
,
slots
:
{
customRender
:
'name'
},
},
{
title
:
'数据源'
,
dataIndex
:
'dataSource'
,
slots
:
{
customRender
:
'dataSource'
},
width
:
150
,
},
{
title
:
'模板编号'
,
dataIndex
:
'templateNumber'
,
width
:
120
,
},
{
title
:
'创建时间'
,
dataIndex
:
'createTime'
,
width
:
150
,
},
{
title
:
'更新时间'
,
dataIndex
:
'updateTime'
,
width
:
150
,
},
{
title
:
'拥有者'
,
dataIndex
:
'owner'
,
width
:
100
,
},
{
title
:
'权属工作组'
,
dataIndex
:
'workgroup'
,
width
:
120
,
},
];
export
const
searchFormSchema
:
FormSchema
[]
=
[
{
field
:
'name'
,
label
:
' '
,
component
:
'Input'
,
colProps
:
{
span
:
8
},
componentProps
:
{
placeholder
:
'输入关键字搜索'
,
},
},
];
/**移动*/
export
const
MoveFormSchema
:
any
[]
=
[
{
{
field
:
'
task
Id'
,
field
:
'
dept
Id'
,
label
:
'
路径
'
,
label
:
'
导入至
'
,
component
:
'TreeSelect'
,
component
:
'TreeSelect'
,
colProps
:
{
lg
:
24
,
md
:
24
},
colProps
:
{
lg
:
24
,
md
:
24
},
componentProps
:
{
// border: 'none',
fieldNames
:
{
label
:
'QualityName'
,
value
:
'businessId'
,
},
getPopupContainer
:
()
=>
document
.
body
,
},
required
:
true
,
},
];
export
const
formSchemaNewFolder
:
any
=
[
{
field
:
'path'
,
label
:
'路径'
,
component
:
'TreeSelect'
,
rules
:
[
{
required
:
true
,
message
:
'请选择上级菜单'
,
},
],
componentProps
:
{
componentProps
:
{
fieldNames
:
{
fieldNames
:
{
label
:
'
Quality
Name'
,
label
:
'
dept
Name'
,
value
:
'businessId'
,
value
:
'businessId'
,
},
},
getPopupContainer
:
()
=>
document
.
body
,
treeData
:
[
},
{
},
deptName
:
'个人工作组'
,
businessId
:
'1'
,
{
children
:
[
field
:
'name'
,
{
label
:
'文件夹名称'
,
deptName
:
'个人工作区'
,
component
:
'Input'
,
businessId
:
'11'
,
colProps
:
{
span
:
8
},
children
:
[
componentProps
:
{
{
placeholder
:
'输入文件夹名称'
,
deptName
:
'图标验收'
,
},
businessId
:
'111'
,
},
},
{
],
field
:
'fileType'
,
},
label
:
'权限模式'
,
{
component
:
'RadioGroup'
,
deptName
:
'共享工作区'
,
defaultValue
:
'本级定义'
,
businessId
:
'12'
,
colProps
:
{
span
:
8
},
children
:
[
componentProps
:
{
{
options
:
[
deptName
:
'学生成绩'
,
{
label
:
'本级定义'
,
value
:
'本级定义'
},
businessId
:
'122'
,
{
label
:
'资源自定义'
,
value
:
'资源自定义'
},
},
],
},
],
},
],
],
placeholder
:
'输入描述'
,
},
},
{
field
:
'group'
,
label
:
'权属工作组'
,
component
:
'Select'
,
defaultValue
:
'默认工作组'
,
colProps
:
{
span
:
8
},
componentProps
:
{
placeholder
:
'输入描述'
,
options
:
[{
label
:
'默认工作组'
,
value
:
'默认工作组'
}],
},
},
];
export
const
formSchemaTemplate
:
any
=
[
{
field
:
'path'
,
label
:
'路径'
,
component
:
'TreeSelect'
,
rules
:
[
{
required
:
true
,
message
:
'请选择上级菜单'
,
},
],
componentProps
:
{
fieldNames
:
{
label
:
'QualityName'
,
value
:
'businessId'
,
},
getPopupContainer
:
()
=>
document
.
body
,
},
},
{
field
:
'name'
,
label
:
'文件名称'
,
component
:
'Input'
,
colProps
:
{
span
:
8
},
componentProps
:
{
placeholder
:
'输入文件夹名称'
,
},
},
required
:
true
,
required
:
true
,
},
},
{
field
:
'fileType'
,
label
:
'文件类型'
,
component
:
'Input'
,
defaultValue
:
'质量模板'
,
colProps
:
{
span
:
8
},
componentProps
:
{
readonly
:
true
,
style
:
{
border
:
'none'
,
backgroundColor
:
'transparent'
,
},
},
},
{
field
:
'dataSource'
,
label
:
'支持数据源'
,
component
:
'Select'
,
colProps
:
{
span
:
8
},
componentProps
:
{
mode
:
'multiple'
,
options
:
[
{
label
:
'INCEPTOR'
,
value
:
'INCEPTOR'
},
{
label
:
'IMPALA'
,
value
:
'IMPALA'
},
{
label
:
'MYSQL'
,
value
:
'MYSQL'
},
],
},
required
:
true
,
},
{
field
:
'model'
,
label
:
'目录权属模式'
,
component
:
'RadioGroup'
,
defaultValue
:
'本级定义'
,
colProps
:
{
span
:
8
},
componentProps
:
{
options
:
[
{
label
:
'本级定义'
,
value
:
'本级定义'
},
{
label
:
'资源自定义'
,
value
:
'资源自定义'
},
],
},
},
{
field
:
'group'
,
label
:
'权属工作组'
,
component
:
'Select'
,
defaultValue
:
'默认工作组'
,
colProps
:
{
span
:
8
},
componentProps
:
{
placeholder
:
'输入描述'
,
options
:
[{
label
:
'默认工作组'
,
value
:
'默认工作组'
}],
},
},
];
export
const
importFormSchema
:
any
[]
=
[
{
{
field
:
'fileMethods'
,
field
:
'fileMethods'
,
label
:
'导入文件选择'
,
label
:
'导入文件选择'
,
slot
:
'fileMethods'
,
slot
:
'fileMethods'
,
colProps
:
{
lg
:
24
,
md
:
24
,
offset
:
3
},
colProps
:
{
lg
:
24
,
md
:
24
},
},
},
{
{
field
:
'fileRename'
,
field
:
'fileRename'
,
label
:
'文件重名'
,
label
:
'文件重名'
,
component
:
'RadioGroup'
,
component
:
'RadioGroup'
,
required
:
true
,
required
:
true
,
colProps
:
{
lg
:
24
,
md
:
24
,
offset
:
3
},
colProps
:
{
lg
:
24
,
md
:
24
},
componentProps
:
{
componentProps
:
{
options
:
[
options
:
[
{
label
:
'全部放弃'
,
value
:
'1'
},
{
label
:
'全部放弃'
,
value
:
'1'
},
...
...
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