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
0c969204
authored
2026-04-08 14:22:32 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
逻辑空间选择成员排除自身
1 parent
017b3a25
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
src/api/modules/dataSmartContract.ts
src/views/data_asset/productSpaceEdit.vue
src/api/modules/dataSmartContract.ts
View file @
0c96920
...
...
@@ -222,6 +222,12 @@ export const getContractTenantList = (tenantName = '') => request({
method
:
'get'
})
/** 获取可选的企业下拉列表,认证过之后带标识的,排除自身 */
export
const
getContractTenantListExcludeSelf
=
()
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/connector-invoke/get-enterprise-exclude-self`
,
method
:
'get'
})
/** 根据逻辑空间guid获取可选的企业下拉列表,认证过后带标识的 */
export
const
getContractTenantListBySpaceGuid
=
(
spaceGuid
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/connector-invoke/logic/user-member-by-space-guid?spaceGuid=
${
spaceGuid
}
`
,
...
...
src/views/data_asset/productSpaceEdit.vue
View file @
0c96920
...
...
@@ -44,7 +44,7 @@ import {
import
{
getActionPolicyList
,
getConstraintPolicyList
,
getContractTenantList
getContractTenantList
ExcludeSelf
}
from
"@/api/modules/dataSmartContract"
import
useUserStore
from
"@/store/modules/user"
;
import
useDataProductSpaceStore
from
"@/store/modules/productSpace"
;
...
...
@@ -533,7 +533,7 @@ onBeforeMount(() => {
}
})
/** 获取可选择的成员下拉列表 */
getContractTenantList
().
then
((
res
:
any
)
=>
{
getContractTenantList
ExcludeSelf
().
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
memberTenantList
.
value
=
res
.
data
||
[];
memberTableInfo
.
value
.
editInfo
.
memberGuid
.
options
=
memberTenantList
.
value
;
...
...
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