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
8f87a50c
authored
2025-01-23 11:28:27 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
516029e7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
src/hooks/useValidator.ts
src/views/data_asset/registerCatalogCreate.vue
src/views/data_asset/valueEvaluate.vue
src/hooks/useValidator.ts
View file @
8f87a50
...
...
@@ -5,7 +5,7 @@ export const useValidator = () => {
const
required
=
(
message
?:
string
):
FormItemRule
=>
{
return
{
required
:
true
,
message
:
message
||
'该项为必填项'
message
:
message
||
'该项为必填项'
,
}
}
...
...
src/views/data_asset/registerCatalogCreate.vue
View file @
8f87a50
...
...
@@ -522,6 +522,7 @@ onBeforeMount(() => {
})
if
(
damGuid
.
value
)
{
fullscreenLoading
.
value
=
true
;
getRegisterCatalogDetail
(
damGuid
.
value
).
then
((
res
:
any
)
=>
{
fullscreenLoading
.
value
=
false
;
if
(
res
.
code
==
proxy
.
$passCode
)
{
...
...
@@ -583,11 +584,14 @@ onBeforeMount(() => {
baseInfoFormItems
.
value
[
5
].
disabled
=
true
;
}
}
console
.
log
(
baseInfoFormRef
.
value
,
baseInfoFormRef
.
value
.
ruleFormRef
,
'ruleFormRefbaseInfoFormRef'
);
checkedInfo
.
value
=
{};
console
.
log
(
baseInfoFormRef
.
value
,
'baseInfoFormRules'
);
nextTick
(()
=>
{
baseInfoFormRules
.
value
.
damName
[
1
]
=
checkExistName
(
checkedInfo
.
value
,
existDamName
,
detailInfo
.
value
,
'damName'
);
})
setTimeout
(()
=>
{
baseInfoFormRef
.
value
.
ruleFormRef
.
clearValidate
([
'sceneDescription'
,
'subjectDomain'
,
'coverageAreas'
,
'isPublicData'
,
'dataSources'
,
'propertyDescription'
,
'sceneLimit'
]);
},
0
);
assetDataTableInfo
.
value
.
data
=
detailInfo
.
value
.
damCatalogTableInfo
;
}
else
{
proxy
.
$ElMessage
.
error
(
res
.
msg
);
...
...
src/views/data_asset/valueEvaluate.vue
View file @
8f87a50
...
...
@@ -550,7 +550,7 @@ const formItems = ref<any>([
templateUrl
:
'auto'
,
templateClick
:
()
=>
{
const
link
=
document
.
createElement
(
'a'
);
link
.
href
=
"/files/数据质量评价.docx"
;
link
.
href
=
encodeURI
(
"/files/数据质量评价.docx"
)
;
link
.
download
=
'数据质量评价.docx'
;
document
.
body
.
appendChild
(
link
);
link
.
click
();
...
...
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