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
3e0a0d27
Commit
3e0a0d27
authored
Dec 06, 2024
by
ZhangKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改质量任务表格顶部操作栏按钮
parent
fa7706d0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
384 additions
and
301 deletions
+384
-301
index.vue
src/views/dataQuality/dataSheet/task/index.vue
+315
-293
mainBody.data.ts
src/views/dataQuality/dataSheet/task/mainBody.data.ts
+69
-8
No files found.
src/views/dataQuality/dataSheet/task/index.vue
View file @
3e0a0d27
This diff is collapsed.
Click to expand it.
src/views/dataQuality/dataSheet/task/mainBody.data.ts
View file @
3e0a0d27
...
...
@@ -29,13 +29,7 @@ export const deptMap = (() => {
},
{});
})();
export
const
columns
:
BasicColumn
[]
=
[
// {
// title: '质量规则',
// dataIndex: 'name',
// width: 120,
// slots: { customRender: 'name' },
// },
export
const
columns
:
BasicColumn
[
any
]
=
[
{
title
:
'质量规则'
,
dataIndex
:
'qualityRule'
,
...
...
@@ -228,11 +222,78 @@ export const searchFormSchema: FormSchema[] = [
field
:
'name'
,
label
:
' '
,
component
:
'Input'
,
colProps
:
{
span
:
8
},
colProps
:
{
span
:
4
},
componentProps
:
{
placeholder
:
'输入关键字搜索'
,
},
},
{
field
:
'testMode'
,
label
:
' '
,
component
:
'Select'
,
componentProps
:
{
placeholder
:
'检查方式'
,
options
:
[
{
label
:
'全量'
,
value
:
'1'
},
{
label
:
'增量'
,
value
:
'2'
},
],
},
colProps
:
{
span
:
3
},
},
{
field
:
'ruleGroup'
,
label
:
' '
,
component
:
'Select'
,
componentProps
:
{
placeholder
:
'规则组'
,
options
:
[
{
label
:
'admin_个人工作区'
,
value
:
'1'
},
{
label
:
'共享工作区'
,
value
:
'2'
},
{
label
:
'商城工作区'
,
value
:
'3'
},
{
label
:
'指标工作区'
,
value
:
'4'
},
],
},
colProps
:
{
span
:
3
},
},
{
field
:
'releaseStatus'
,
label
:
' '
,
component
:
'Select'
,
componentProps
:
{
placeholder
:
'发布状态'
,
options
:
[
{
label
:
'已上线'
,
value
:
'1'
},
{
label
:
'未上线'
,
value
:
'2'
},
],
},
colProps
:
{
span
:
3
},
},
{
field
:
'dateRange'
,
label
:
' '
,
component
:
'RangePicker'
,
componentProps
:
{
format
:
'YYYY-MM-DD'
,
// 显示的日期格式
valueFormat
:
'YYYY-MM-DD'
,
// 提交的日期格式
placeholder
:
[
'开始时间'
,
'结束时间'
],
// 占位符
style
:
{
width
:
'100%'
},
// 控制宽度
},
colProps
:
{
span
:
5
},
},
{
field
:
'businessLabel'
,
label
:
' '
,
component
:
'Select'
,
componentProps
:
{
placeholder
:
'业务标签'
,
options
:
[
{
label
:
'生产'
,
value
:
'1'
},
{
label
:
'质量'
,
value
:
'2'
},
{
label
:
'人力'
,
value
:
'3'
},
],
},
colProps
:
{
span
:
3
},
},
// {
// field: 'flag',
// label: ' ',
...
...
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