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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
7 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
;
}
...
...
@@ -1524,10 +1538,10 @@ const batchFiltersValueChange = (value) => {
destroy-on-close
align-center
>
<div
style=
"height:450px"
>
<TreeTransfer
:readOnly=
"isDetail"
mode=
"transfer"
:title=
"['可选表', '已选表']"
:defaultProps=
"{
label: 'name',
value: 'guid',
isLeaf: 'isLeaf'
}"
:from-tree-data-loading=
"dsFromTreeDataLoading"
:from_data=
"dsFromTreeData"
:to_data=
"dsToTreeData"
label: 'name',
value: 'guid',
isLeaf: 'isLeaf'
}"
:from-tree-data-loading=
"dsFromTreeDataLoading"
:from_data=
"dsFromTreeData"
:to_data=
"dsToTreeData"
checkOnClickNode
:from_checked_all=
"false"
node_key=
"guid"
:transferOpenNode=
"true"
width=
"100%"
@
left-check-change=
"handleModelLeftCheckChange"
lazy
:lazyFn=
"loadNode"
height=
"100%"
>
<
template
v-slot:from
>
...
...
@@ -1550,9 +1564,9 @@ const batchFiltersValueChange = (value) => {
:close-on-click-modal=
"false"
destroy-on-close
align-center
>
<div
style=
"height:450px"
>
<TreeTransferChecked
class=
"one-level"
mode=
"transfer"
:title=
"['可选表', '已选表']"
:defaultProps=
"{
label: 'name',
value: 'guid'
}"
:from-tree-data-loading=
"dsByGroupFromTreeDataLoading"
:from_data=
"dsByGroupFromTreeData"
checkOnClickNode
label: 'name',
value: 'guid'
}"
:from-tree-data-loading=
"dsByGroupFromTreeDataLoading"
:from_data=
"dsByGroupFromTreeData"
checkOnClickNode
:to_data=
"dsByGroupToTreeData"
node_key=
"guid"
:transferOpenNode=
"true"
width=
"100%"
:defaultCheckedKeys=
"dsByGroupToTreeData.map(d => d.guid)"
:rootPidValue=
"''"
@
left-check-changed=
"handleModelByGroupLeftCheckedChange"
height=
"100%"
>
...
...
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