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
84ba24fc
authored
2025-07-16 14:14:21 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 权力主体改成guid
1 parent
9d6677dd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
src/views/data_asset/registerCatalogCreate.vue
src/views/data_asset/registerCatalogCreate.vue
View file @
84ba24f
...
...
@@ -102,7 +102,7 @@ const getArea = (node, resolve) => {
const
baseInfoExpand
=
ref
(
true
);
const
assetTableInfoExpand
=
ref
(
true
);
const
importTableFieldRef
=
ref
();
const
rightMainTenantList
=
ref
([]);
//权利主体下拉列表选择
const
rightMainTenantList
:
any
=
ref
([]);
//权利主体下拉列表选择
const
baseInfoFormRef
=
ref
();
const
baseInfoFormItems
=
ref
([
...
...
@@ -720,7 +720,9 @@ const save = () => {
params
.
guid
=
damGuid
.
value
;
params
.
foundMode
=
route
.
query
.
foundMode
;
if
(
route
.
query
.
dataSources
!=
'1'
)
{
params
.
rightMain
=
detailInfo
.
value
.
rightMain
;
params
.
rightMain
=
JSON
.
parse
(
userStore
.
userData
).
tenantGuid
;
}
else
{
params
.
rightMainName
=
rightMainTenantList
.
value
.
find
(
v
=>
v
.
guid
==
params
.
rightMain
);
}
fullscreenLoading
.
value
=
true
;
registerCatalogUpdate
(
params
).
then
((
res
:
any
)
=>
{
...
...
@@ -741,6 +743,13 @@ const save = () => {
params
.
damCatalogTableInfo
=
assetDataTableInfo
.
value
.
data
;
fullscreenLoading
.
value
=
true
;
console
.
log
(
params
,
'params'
);
if
(
route
.
query
.
dataSources
!=
'1'
)
{
let
userData
=
userStore
.
userData
;
params
.
rightMain
=
userData
.
tenantGuid
;
params
.
rightMainName
=
userData
.
tenantName
;
}
else
{
params
.
rightMainName
=
rightMainTenantList
.
value
.
find
(
v
=>
v
.
guid
==
params
.
rightMain
);
}
// params.rightMain = JSON.parse(userStore.userData).tenantGuid;
registerCatalogSave
(
params
).
then
((
res
:
any
)
=>
{
fullscreenLoading
.
value
=
false
;
...
...
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