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
98eb61d4
Commit
98eb61d4
authored
Nov 15, 2024
by
baiyinhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质量任务-配置运行
parent
24588712
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
14 deletions
+120
-14
QualityTaskRunSetting.data.ts
.../dataQuality/dataSheet/task/QualityTaskRunSetting.data.ts
+103
-8
QualityTaskRunSetting.vue
...iews/dataQuality/dataSheet/task/QualityTaskRunSetting.vue
+17
-6
No files found.
src/views/dataQuality/dataSheet/task/QualityTaskRunSetting.data.ts
View file @
98eb61d4
...
@@ -39,19 +39,43 @@ export const SearchFormSchema: FormSchema[] = [
...
@@ -39,19 +39,43 @@ export const SearchFormSchema: FormSchema[] = [
];
];
export
const
storageManagementColumns
:
BasicColumn
[]
=
[
export
const
storageManagementColumns
:
BasicColumn
[]
=
[
{
{
title
:
'
清理开始时间
'
,
title
:
'
参数名
'
,
dataIndex
:
'
startTi
me'
,
dataIndex
:
'
parameterNa
me'
,
width
:
120
,
width
:
120
,
},
},
{
{
title
:
'清理结束时间'
,
title
:
'参数类型'
,
dataIndex
:
'endTime'
,
dataIndex
:
'parameterType'
,
width
:
120
,
edit
:
true
,
editComponent
:
'Select'
,
editComponentProps
:
{
options
:
[
{
label
:
'时间类'
,
value
:
'1'
,
},
{
label
:
'字符类'
,
value
:
'2'
,
},
{
label
:
'数值类'
,
value
:
'3'
,
},
{
label
:
'自定义类'
,
value
:
'4'
,
},
],
},
width
:
200
,
},
},
{
{
title
:
'
执行耗时
'
,
title
:
'
参数值
'
,
dataIndex
:
'
useTim
e'
,
dataIndex
:
'
parameterValu
e'
,
width
:
80
,
width
:
80
,
editable
:
true
,
edit
:
true
,
},
},
];
];
export
const
storageManagementFormSchema
:
FormSchema
[]
=
[
export
const
storageManagementFormSchema
:
FormSchema
[]
=
[
...
@@ -62,7 +86,7 @@ export const storageManagementFormSchema: FormSchema[] = [
...
@@ -62,7 +86,7 @@ export const storageManagementFormSchema: FormSchema[] = [
componentProps
:
{
componentProps
:
{
placeholder
:
'请输入关键字搜索'
,
placeholder
:
'请输入关键字搜索'
,
},
},
colProps
:
{
lg
:
4
,
md
:
4
},
colProps
:
{
lg
:
8
,
md
:
4
},
},
},
];
];
export
const
storageManagementData
:
any
[]
=
[
export
const
storageManagementData
:
any
[]
=
[
...
@@ -76,6 +100,9 @@ export const storageManagementData: any[] = [
...
@@ -76,6 +100,9 @@ export const storageManagementData: any[] = [
pointNum
:
'5000'
,
pointNum
:
'5000'
,
num
:
'2000'
,
num
:
'2000'
,
user
:
'张三'
,
user
:
'张三'
,
parameterName
:
'check_date'
,
parameterType
:
'字符类'
,
parameterValue
:
'参数值'
,
},
},
{
{
id
:
'2'
,
id
:
'2'
,
...
@@ -87,6 +114,9 @@ export const storageManagementData: any[] = [
...
@@ -87,6 +114,9 @@ export const storageManagementData: any[] = [
pointNum
:
'7000'
,
pointNum
:
'7000'
,
num
:
'3500'
,
num
:
'3500'
,
user
:
'李四'
,
user
:
'李四'
,
parameterName
:
'check_date'
,
parameterType
:
'时间类'
,
parameterValue
:
'参数值'
,
},
},
{
{
id
:
'3'
,
id
:
'3'
,
...
@@ -98,6 +128,9 @@ export const storageManagementData: any[] = [
...
@@ -98,6 +128,9 @@ export const storageManagementData: any[] = [
pointNum
:
'6000'
,
pointNum
:
'6000'
,
num
:
'3000'
,
num
:
'3000'
,
user
:
'王五'
,
user
:
'王五'
,
parameterName
:
'check_date'
,
parameterType
:
'数值类'
,
parameterValue
:
'参数值'
,
},
},
{
{
id
:
'4'
,
id
:
'4'
,
...
@@ -109,6 +142,9 @@ export const storageManagementData: any[] = [
...
@@ -109,6 +142,9 @@ export const storageManagementData: any[] = [
pointNum
:
'4500'
,
pointNum
:
'4500'
,
num
:
'2250'
,
num
:
'2250'
,
user
:
'赵六'
,
user
:
'赵六'
,
parameterName
:
'check_date'
,
parameterType
:
'自定义类'
,
parameterValue
:
'参数值'
,
},
},
{
{
id
:
'5'
,
id
:
'5'
,
...
@@ -120,5 +156,64 @@ export const storageManagementData: any[] = [
...
@@ -120,5 +156,64 @@ export const storageManagementData: any[] = [
pointNum
:
'5500'
,
pointNum
:
'5500'
,
num
:
'2750'
,
num
:
'2750'
,
user
:
'孙七'
,
user
:
'孙七'
,
parameterName
:
'check_date'
,
parameterType
:
'数值类'
,
parameterValue
:
'参数值'
,
},
];
export
const
storageManagementBasicFormSchema
:
FormSchema
[]
=
[
{
field
:
'field12'
,
component
:
'BasicTitle'
,
label
:
'规则展示'
,
componentProps
:
{
// line: true,
span
:
true
,
},
colProps
:
{
span
:
24
,
},
},
{
field
:
'divider-linked'
,
component
:
'Divider'
,
label
:
'name日期逻辑正确'
,
colProps
:
{
span
:
24
,
},
},
{
field
:
'field122'
,
component
:
'InputTextArea'
,
label
:
''
,
componentProps
:
{
disabled
:
true
,
defaultValue
:
'RESPONSE_DATA_SUCCESSFULLY_RECEIVED_FROM_SERVER_WITH_STATUS_CODE_200_AND_RESPONSE_BODY_CONTAINING_EXPECTED_DATA_IN_JSON_FORMAT_WITH_NO_ERRORS_OR_WARNINGS_DETECTED_IN_THE_PROCESSRESPONSE_DATA_SUCCESSFULLY_RECEIVED_FROM_SERVER_WITH_STATUS_CODE_200_AND_RESPONSE_BODY_CONTAINING_EXPECTED_DATA_IN_JSON_FORMAT_WITH_NO_ERRORS_OR_WARNINGS_DETECTED_IN_THE_PROCESSRESPONSE_DATA_SUCCESSFULLY_RECEIVED_FROM_SERVER_WITH_STATUS_CODE_200_AND_RESPONSE_BODY_CONTAINING_EXPECTED_DATA_IN_JSON_FORMAT_WITH_NO_ERRORS_OR_WARNINGS_DETECTED_IN_THE_PROCESS'
,
},
colProps
:
{
span
:
24
,
},
},
{
field
:
'divider-linked'
,
component
:
'Divider'
,
label
:
'创建日期逻辑'
,
colProps
:
{
span
:
24
,
},
},
{
field
:
'field123'
,
component
:
'InputTextArea'
,
label
:
''
,
componentProps
:
{
disabled
:
true
,
defaultValue
:
'RESPONSE_DATA_SUCCESSFULLY_RECEIVED_FROM_SERVER_WITH_STATUS_CODE_200_AND_RESPONSE_BODY_CONTAINING_EXPECTED_DATA_IN_JSON_FORMAT_WITH_NO_ERRORS_OR_WARNINGS_DETECTED_IN_THE_PROCESSRESPONSE_DATA_SUCCESSFULLY_RECEIVED_FROM_SERVER_WITH_STATUS_CODE_200_AND_RESPONSE_BODY_CONTAINING_EXPECTED_DATA_IN_JSON_FORMAT_WITH_NO_ERRORS_OR_WARNINGS_DETECTED_IN_THE_PROCESSRESPONSE_DATA_SUCCESSFULLY_RECEIVED_FROM_SERVER_WITH_STATUS_CODE_200_AND_RESPONSE_BODY_CONTAINING_EXPECTED_DATA_IN_JSON_FORMAT_WITH_NO_ERRORS_OR_WARNINGS_DETECTED_IN_THE_PROCESS'
,
},
colProps
:
{
span
:
24
,
},
},
},
];
];
src/views/dataQuality/dataSheet/task/QualityTaskRunSetting.vue
View file @
98eb61d4
...
@@ -52,6 +52,7 @@
...
@@ -52,6 +52,7 @@
</
template
>
</
template
>
</template>
</template>
</BasicTable>
</BasicTable>
<BasicForm
@
register=
"registerForm"
/>
</BasicModal>
</BasicModal>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
...
@@ -59,10 +60,12 @@
...
@@ -59,10 +60,12 @@
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
BasicModal
,
useModalInner
}
from
'@/components/Modal'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
BasicTable
,
TableAction
,
useTable
}
from
'@/components/Table'
;
import
{
BasicTable
,
TableAction
,
useTable
}
from
'@/components/Table'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
import
{
storageManagementColumns
,
storageManagementColumns
,
storageManagementFormSchema
,
storageManagementFormSchema
,
storageManagementData
,
storageManagementData
,
storageManagementBasicFormSchema
,
}
from
'./QualityTaskRunSetting.data'
;
}
from
'./QualityTaskRunSetting.data'
;
// import { storageManagementData } from './analysisData';
// import { storageManagementData } from './analysisData';
import
{
Tag
}
from
'ant-design-vue'
;
import
{
Tag
}
from
'ant-design-vue'
;
...
@@ -103,14 +106,14 @@
...
@@ -103,14 +106,14 @@
autoSubmitOnEnter
:
true
,
autoSubmitOnEnter
:
true
,
},
},
rowKey
:
'id'
,
rowKey
:
'id'
,
rowSelection
:
true
,
//
rowSelection: true,
bordered
:
true
,
bordered
:
true
,
showIndexColumn
:
false
,
showIndexColumn
:
false
,
actionColumn
:
{
//
actionColumn: {
width
:
150
,
//
width: 150,
title
:
'操作'
,
//
title: '操作',
dataIndex
:
'action'
,
//
dataIndex: 'action',
},
//
},
});
});
//初始化弹框
//初始化弹框
const
[
registerModal
,
{
setModalProps
,
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
const
[
registerModal
,
{
setModalProps
,
closeModal
}]
=
useModalInner
(
async
(
data
)
=>
{
...
@@ -118,7 +121,15 @@
...
@@ -118,7 +121,15 @@
setModalProps
({
confirmLoading
:
false
});
setModalProps
({
confirmLoading
:
false
});
title
.
value
=
data
.
title
;
title
.
value
=
data
.
title
;
});
});
const
[
registerForm
,
{
setFieldsValue
,
updateSchema
,
resetFields
,
validate
}]
=
useForm
({
labelWidth
:
100
,
schemas
:
storageManagementBasicFormSchema
,
showActionButtonGroup
:
false
,
actionColOptions
:
{
span
:
23
,
},
});
async
function
handleSubmit
()
{
async
function
handleSubmit
()
{
closeModal
();
closeModal
();
}
}
...
...
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