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
27771cee
authored
2025-09-17 18:19:26 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修改产品上架详情
1 parent
6f7adb70
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
5 deletions
src/router/modules/dataAsset.ts
src/router/modules/dataProduct.ts
src/views/data_asset/registerJSZQDetail.vue
src/views/data_asset/registerManagemant.vue
src/views/data_product/productListing.vue
src/router/modules/dataAsset.ts
View file @
27771ce
...
...
@@ -329,6 +329,28 @@ const routes: RouteRecordRaw[] = [
}
}
},
{
path
:
'product-JQZQ-detail'
,
name
:
'productInfoJSZQDetail'
,
component
:
()
=>
import
(
'@/views/data_asset/registerJSZQDetail.vue'
),
meta
:
{
title
:
'详情-'
,
sidebar
:
false
,
breadcrumb
:
false
,
cache
:
true
,
reuse
:
true
},
beforeEnter
:
(
to
,
from
)
=>
{
if
(
to
.
query
.
type
){
if
(
to
.
query
.
type
==
'detail'
)
{
to
.
meta
.
title
=
`详情-
${
to
.
query
.
name
}
`
;
}
else
{
to
.
meta
.
editPage
=
true
;
to
.
meta
.
title
=
to
.
query
.
type
==
'add'
?
'新建数据产品'
:
to
.
query
.
type
==
'edit'
?
`编辑-
${
to
.
query
.
name
}
`
:
`详情-
${
to
.
query
.
name
}
`
;
}
}
}
}
],
},
// {
...
...
src/router/modules/dataProduct.ts
View file @
27771ce
...
...
@@ -47,6 +47,28 @@ const routes: RouteRecordRaw[] = [
}
}
},
{
path
:
'product-JQZQ-detail'
,
name
:
'productInfoJSZQDetail'
,
component
:
()
=>
import
(
'@/views/data_asset/registerJSZQDetail.vue'
),
meta
:
{
title
:
'详情-'
,
sidebar
:
false
,
breadcrumb
:
false
,
cache
:
true
,
reuse
:
true
},
beforeEnter
:
(
to
,
from
)
=>
{
if
(
to
.
query
.
type
){
if
(
to
.
query
.
type
==
'detail'
)
{
to
.
meta
.
title
=
`详情-
${
to
.
query
.
name
}
`
;
}
else
{
to
.
meta
.
editPage
=
true
;
to
.
meta
.
title
=
to
.
query
.
type
==
'add'
?
'新建数据产品'
:
to
.
query
.
type
==
'edit'
?
`编辑-
${
to
.
query
.
name
}
`
:
`详情-
${
to
.
query
.
name
}
`
;
}
}
}
}
],
},
{
...
...
src/views/data_asset/registerJSZQDetail.vue
View file @
27771ce
...
...
@@ -10,7 +10,6 @@ import useUserStore from "@/store/modules/user";
import
{
CircleCloseFilled
,
Document
}
from
'@element-plus/icons-vue'
import
{
ElMessage
,
ElMessageBox
}
from
"element-plus"
;
import
{
getRegiaterDetail
,
getEvaDetail
,
qualityAllow
,
costAssessAllow
,
...
...
@@ -23,7 +22,7 @@ import {
getParamsList
,
}
from
"@/api/modules/queryService"
;
import
{
//
getRegiaterDetail
getRegiaterDetail
}
from
'@/api/modules/dataAssetZq'
import
{
passFlowData
,
rejectFlowData
,
revokeFlowData
,
isMyFirstNode
}
from
"@/api/modules/workFlowService"
;
import
useDataAssetStore
from
"@/store/modules/dataAsset"
;
...
...
src/views/data_asset/registerManagemant.vue
View file @
27771ce
...
...
@@ -280,12 +280,12 @@ const tableBtnClick = (scope, btn) => {
if
(
row
.
dataSource
==
'1'
)
{
router
.
push
({
name
:
'registerInfoJSZQDetail'
,
query
:
{
guid
:
row
.
g
uid
,
name
:
row
.
damName
,
tenantGuid
:
row
.
tenantGuid
,
tenantName
:
row
.
tenantName
,
type
:
'asset'
}
query
:
{
guid
:
row
.
bizG
uid
,
name
:
row
.
damName
,
tenantGuid
:
row
.
tenantGuid
,
tenantName
:
row
.
tenantName
,
type
:
'asset'
}
});
}
else
{
router
.
push
({
name
:
'registerInfoDetail'
,
query
:
{
guid
:
row
.
g
uid
,
name
:
row
.
damName
,
tenantGuid
:
row
.
tenantGuid
,
tenantName
:
row
.
tenantName
,
type
:
'asset'
}
query
:
{
guid
:
row
.
bizG
uid
,
name
:
row
.
damName
,
tenantGuid
:
row
.
tenantGuid
,
tenantName
:
row
.
tenantName
,
type
:
'asset'
}
});
}
}
else
if
(
type
===
'pass'
)
{
...
...
src/views/data_product/productListing.vue
View file @
27771ce
...
...
@@ -320,7 +320,12 @@ const tableBtnClick = (scope, btn) => {
const
row
=
scope
.
row
;
currTableData
.
value
=
row
;
if
(
type
==
"detail"
)
{
router
.
push
({
row
.
dataSource
==
'1'
?
router
.
push
({
name
:
'productInfoJSZQDetail'
,
query
:
{
guid
:
row
.
registerGuid
,
name
:
row
.
damName
,
tenantGuid
:
row
.
tenantGuid
,
tenantName
:
row
.
tenantName
,
type
:
'asset'
}
})
:
router
.
push
({
name
:
'productListingDetail'
,
query
:
{
guid
:
row
.
guid
,
...
...
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