Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2c28a99b
authored
2025-01-16 18:08:24 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
39fc4c42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
86 additions
and
76 deletions
src/views/data_asset/valueEvaluate.vue
src/views/data_asset/valueEvaluate.vue
View file @
2c28a99
...
...
@@ -458,83 +458,93 @@ const tablePageChange = (info) => {
getTableData
();
};
const
formItems
=
ref
([{
label
:
'资产名称'
,
type
:
'select'
,
placeholder
:
'请选择'
,
field
:
'registerGuid'
,
default
:
''
,
block
:
true
,
options
:
assetListData
.
value
,
props
:
{
value
:
'guid'
,
label
:
'damName'
const
formItems
=
ref
([
{
label
:
'资产名称'
,
type
:
'select'
,
placeholder
:
'请选择'
,
field
:
'registerGuid'
,
default
:
''
,
block
:
true
,
options
:
assetListData
.
value
,
props
:
{
value
:
'guid'
,
label
:
'damName'
},
visible
:
true
,
required
:
true
},
{
label
:
'附件上传'
,
tip
:
'支持格式:xls .xlsx .doc .docx .rar .zip'
,
type
:
'upload-file'
,
accept
:
'.xls, .xlsx, .doc, .docx, .rar, .zip'
,
templateUrl
:
'auto'
,
templateClick
:
()
=>
{
const
link
=
document
.
createElement
(
'a'
);
link
.
href
=
"/files/数据质量评价.docx"
;
link
.
download
=
'数据质量评价.docx'
;
document
.
body
.
appendChild
(
link
);
link
.
click
();
link
.
remove
();
},
required
:
true
,
block
:
true
,
visible
:
true
,
default
:
[],
field
:
'costAssessmentFile'
,
},
// 质量评分 type: input
{
label
:
'质量评分'
,
type
:
'input'
,
focusValue
:
true
,
placeholder
:
'请输入'
,
field
:
'qualityScore'
,
inputType
:
'scoreNumber'
,
default
:
''
,
clearable
:
true
,
required
:
true
,
block
:
false
,
visible
:
false
},
// 评估时间范围
{
label
:
"数据时间范围"
,
type
:
"date-picker"
,
field
:
"evaluationRange"
,
default
:
''
,
placeholder
:
"开始时间~结束时间"
,
clearable
:
true
,
required
:
true
,
visible
:
false
},
//
{
label
:
'质量评估结果'
,
type
:
'textarea'
,
placeholder
:
'请输入质量评估结果'
,
field
:
'evaluationNote'
,
default
:
''
,
maxlength
:
250
,
block
:
true
,
focusValue
:
true
,
clearable
:
true
,
required
:
true
,
visible
:
false
},
{
label
:
'质量报告上传'
,
tip
:
'支持格式:pdf,单个文件不能超过200MB '
,
type
:
'upload-file'
,
required
:
true
,
accept
:
'.pdf, .png'
,
block
:
true
,
default
:
[],
templateUrl
:
null
,
field
:
'evaluationFile'
,
visible
:
false
},
visible
:
true
,
required
:
true
},
{
label
:
'附件上传'
,
tip
:
'支持格式:.doc .docx .rar'
,
type
:
'upload-file'
,
required
:
true
,
accept
:
'.doc, .docx, .rar, .png'
,
block
:
true
,
default
:
[],
templateUrl
:
null
,
field
:
'costAssessmentFile'
,
},
// 质量评分 type: input
{
label
:
'质量评分'
,
type
:
'input'
,
focusValue
:
true
,
placeholder
:
'请输入'
,
field
:
'qualityScore'
,
inputType
:
'scoreNumber'
,
default
:
''
,
clearable
:
true
,
required
:
true
,
block
:
false
,
visible
:
false
},
// 评估时间范围
{
label
:
"数据时间范围"
,
type
:
"date-picker"
,
field
:
"evaluationRange"
,
default
:
''
,
placeholder
:
"开始时间~结束时间"
,
clearable
:
true
,
required
:
true
,
visible
:
false
},
//
{
label
:
'质量评估结果'
,
type
:
'textarea'
,
placeholder
:
'请输入质量评估结果'
,
field
:
'evaluationNote'
,
default
:
''
,
maxlength
:
250
,
block
:
true
,
focusValue
:
true
,
clearable
:
true
,
required
:
true
,
visible
:
false
},
{
label
:
'质量报告上传'
,
tip
:
'支持格式:pdf,单个文件不能超过200MB '
,
type
:
'upload-file'
,
required
:
true
,
accept
:
'.pdf, .png'
,
block
:
true
,
default
:
[],
templateUrl
:
null
,
field
:
'evaluationFile'
,
visible
:
false
},
]);
const
formRules
=
ref
({
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment