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
0d7ae088
authored
2025-12-11 13:26:52 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
运营平台的产品上架跳转产品详情需新开页面
1 parent
e312f9d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
src/router/modules/dataAsset.ts
src/views/data_asset/registerCatalogDetail.vue
src/views/data_product/productListingDetail.vue
src/router/modules/dataAsset.ts
View file @
0d7ae08
...
...
@@ -311,6 +311,18 @@ const routes: RouteRecordRaw[] = [
}
},
{
path
:
'puton-register-catalog-detail'
,
name
:
'putOnProductCatalogDetail'
,
component
:
()
=>
import
(
'@/views/data_asset/registerCatalogDetail.vue'
),
meta
:
{
title
:
'产品详情-'
,
sidebar
:
false
,
breadcrumb
:
false
,
cache
:
true
,
reuse
:
true
}
},
{
path
:
'product-JQZQ-detail'
,
name
:
'productInfoJSZQDetail'
,
component
:
()
=>
import
(
'@/views/data_asset/registerJSZQDetail.vue'
),
...
...
src/views/data_asset/registerCatalogDetail.vue
View file @
0d7ae08
...
...
@@ -403,10 +403,10 @@ onBeforeMount(() => {
onActivated
(()
=>
{
if
(
fullPath
===
route
.
fullPath
)
{
document
.
title
=
foundMode
.
value
==
'download'
?
`下载详情-
${
route
.
query
.
name
}
`
:
((
foundMode
.
value
==
'read'
||
foundMode
.
value
==
'readAndDown'
)
?
`查看详情-
${
route
.
query
.
name
}
`
:
`详情-
${
route
.
query
.
name
}
`
);
document
.
title
=
foundMode
.
value
==
'download'
?
`下载详情-
${
route
.
query
.
name
}
`
:
((
foundMode
.
value
==
'read'
||
foundMode
.
value
==
'readAndDown'
)
?
`查看详情-
${
route
.
query
.
name
}
`
:
`
产品
详情-
${
route
.
query
.
name
}
`
);
let
tab
:
any
=
userStore
.
tabbar
.
find
((
tab
:
any
)
=>
tab
.
fullPath
===
fullPath
);
if
(
tab
)
{
tab
.
meta
.
title
=
foundMode
.
value
==
'download'
?
`下载详情-
${
route
.
query
.
name
}
`
:
((
foundMode
.
value
==
'read'
||
foundMode
.
value
==
'readAndDown'
)
?
`查看详情-
${
route
.
query
.
name
}
`
:
`详情-
${
route
.
query
.
name
}
`
);
tab
.
meta
.
title
=
foundMode
.
value
==
'download'
?
`下载详情-
${
route
.
query
.
name
}
`
:
((
foundMode
.
value
==
'read'
||
foundMode
.
value
==
'readAndDown'
)
?
`查看详情-
${
route
.
query
.
name
}
`
:
`
产品
详情-
${
route
.
query
.
name
}
`
);
}
}
if
(
registerStore
.
isRefresh
)
{
...
...
src/views/data_product/productListingDetail.vue
View file @
0d7ae08
...
...
@@ -1880,7 +1880,7 @@ const rejectDialogBtnClick = (btn, info) => {
const viewProductDetail = () => {
router.push({
path: '/data-asset/register-catalog/register-catalog-d
etail',
name: 'putOnProductCatalogD
etail',
query: { guid: flowDetail.value.damGuid, type: "asset", dataSources: 2, foundMode: flowDetail.value.foundMode, name: flowDetail.value.damName },
});
}
...
...
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