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
eece0e09
authored
2025-12-04 17:00:34 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
同步过来的数据不能查看样例数据,不能编辑删除
1 parent
1fb590f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
src/views/data_asset/registerCatalogCreate.vue
src/views/data_asset/registerCatalogCreate.vue
View file @
eece0e0
...
...
@@ -627,21 +627,23 @@ const assetDataTableInfo = ref({
})
}
});
btns
.
push
({
label
:
"查看样例数据"
,
value
:
"viewData"
,
click
:
(
scope
)
=>
{
let
row
=
scope
.
row
;
router
.
push
({
path
:
route
.
query
.
dataSources
==
'1'
?
'/data-asset/authordata-catalog/damTableDataView'
:
'/data-asset/register-catalog/damTableDataView'
,
// name: 'damTableDataView',
query
:
{
guid
:
row
.
guid
,
name
:
row
.
tableChName
,
damName
:
detailInfo
.
value
.
damName
,
dataSources
:
route
.
query
.
dataSources
}
});
}
});
if
(
!
detailInfo
.
value
.
nodeId
)
{
btns
.
push
({
label
:
"查看样例数据"
,
value
:
"viewData"
,
click
:
(
scope
)
=>
{
let
row
=
scope
.
row
;
router
.
push
({
path
:
route
.
query
.
dataSources
==
'1'
?
'/data-asset/authordata-catalog/damTableDataView'
:
'/data-asset/register-catalog/damTableDataView'
,
// name: 'damTableDataView',
query
:
{
guid
:
row
.
guid
,
name
:
row
.
tableChName
,
damName
:
detailInfo
.
value
.
damName
,
dataSources
:
route
.
query
.
dataSources
}
});
}
});
}
}
return
btns
;
}
...
...
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