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
720e5ba4
authored
2025-01-09 16:29:11 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
6b807be5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
src/views/data_quality/assessTemplate.vue
src/views/data_quality/ruleModelEdit.vue
src/views/data_quality/ruleTemplate.vue
src/views/data_quality/assessTemplate.vue
View file @
720e5ba
...
...
@@ -328,6 +328,20 @@ onBeforeMount(() => {
});
onActivated
(()
=>
{
let
tab
:
any
=
userStore
.
tabbar
.
find
((
tab
:
any
)
=>
tab
.
fullPath
===
fullPath
);
if
(
tab
)
{
if
(
route
.
query
.
detail
)
{
tab
.
meta
.
title
=
`新建规则(
${
route
.
query
.
planName
}
)`
;
if
(
fullPath
===
route
.
fullPath
)
{
document
.
title
=
tab
.
meta
.
title
;
}
}
else
if
(
route
.
query
.
planName
)
{
tab
.
meta
.
title
=
`方案编辑-
${
route
.
query
.
planName
}
`
;
if
(
fullPath
===
route
.
fullPath
)
{
document
.
title
=
tab
.
meta
.
title
;
}
}
}
if
(
modelGuid
.
value
||
groupGuid
.
value
)
{
return
;
}
...
...
src/views/data_quality/ruleModelEdit.vue
View file @
720e5ba
...
...
@@ -262,6 +262,16 @@ onBeforeMount(() => {
})
})
onActivated
(()
=>
{
let
tab
:
any
=
userStore
.
tabbar
.
find
((
tab
:
any
)
=>
tab
.
fullPath
===
fullPath
);
if
(
tab
&&
detailInfo
.
value
?.
ruleConfName
)
{
tab
.
meta
.
title
=
`编辑-
${
detailInfo
.
value
.
ruleConfName
}
(
${
detailInfo
.
value
.
subjectZhName
}
)`
if
(
fullPath
===
route
.
fullPath
)
{
document
.
title
=
tab
.
meta
.
title
;
}
}
});
</
script
>
<
template
>
...
...
src/views/data_quality/ruleTemplate.vue
View file @
720e5ba
...
...
@@ -269,6 +269,16 @@ onBeforeMount(() => {
})
})
onActivated
(()
=>
{
let
tab
:
any
=
userStore
.
tabbar
.
find
((
tab
:
any
)
=>
tab
.
fullPath
===
fullPath
);
if
(
tab
&&
route
.
query
.
name
)
{
tab
.
meta
.
title
=
`新建规则(
${
route
.
query
.
name
}
)`
;
if
(
fullPath
===
route
.
fullPath
)
{
document
.
title
=
tab
.
meta
.
title
;
}
}
});
const
cancel
=
()
=>
{
ElMessageBox
.
confirm
(
"当前页面尚未保存,确定放弃修改吗?"
,
...
...
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