逻辑空间选择成员排除自身
Showing
2 changed files
with
8 additions
and
2 deletions
| ... | @@ -222,6 +222,12 @@ export const getContractTenantList = (tenantName = '') => request({ | ... | @@ -222,6 +222,12 @@ export const getContractTenantList = (tenantName = '') => request({ |
| 222 | method: 'get' | 222 | method: 'get' |
| 223 | }) | 223 | }) |
| 224 | 224 | ||
| 225 | /** 获取可选的企业下拉列表,认证过之后带标识的,排除自身 */ | ||
| 226 | export const getContractTenantListExcludeSelf = () => request({ | ||
| 227 | url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/connector-invoke/get-enterprise-exclude-self`, | ||
| 228 | method: 'get' | ||
| 229 | }) | ||
| 230 | |||
| 225 | /** 根据逻辑空间guid获取可选的企业下拉列表,认证过后带标识的 */ | 231 | /** 根据逻辑空间guid获取可选的企业下拉列表,认证过后带标识的 */ |
| 226 | export const getContractTenantListBySpaceGuid = (spaceGuid) => request({ | 232 | export const getContractTenantListBySpaceGuid = (spaceGuid) => request({ |
| 227 | url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/connector-invoke/logic/user-member-by-space-guid?spaceGuid=${spaceGuid}`, | 233 | url: `${import.meta.env.VITE_APP_DIGITAL_CONTRACT_URL}/connector-invoke/logic/user-member-by-space-guid?spaceGuid=${spaceGuid}`, | ... | ... |
| ... | @@ -44,7 +44,7 @@ import { | ... | @@ -44,7 +44,7 @@ import { |
| 44 | import { | 44 | import { |
| 45 | getActionPolicyList, | 45 | getActionPolicyList, |
| 46 | getConstraintPolicyList, | 46 | getConstraintPolicyList, |
| 47 | getContractTenantList | 47 | getContractTenantListExcludeSelf |
| 48 | } from "@/api/modules/dataSmartContract" | 48 | } from "@/api/modules/dataSmartContract" |
| 49 | import useUserStore from "@/store/modules/user"; | 49 | import useUserStore from "@/store/modules/user"; |
| 50 | import useDataProductSpaceStore from "@/store/modules/productSpace"; | 50 | import useDataProductSpaceStore from "@/store/modules/productSpace"; |
| ... | @@ -533,7 +533,7 @@ onBeforeMount(() => { | ... | @@ -533,7 +533,7 @@ onBeforeMount(() => { |
| 533 | } | 533 | } |
| 534 | }) | 534 | }) |
| 535 | /** 获取可选择的成员下拉列表 */ | 535 | /** 获取可选择的成员下拉列表 */ |
| 536 | getContractTenantList().then((res: any) => { | 536 | getContractTenantListExcludeSelf().then((res: any) => { |
| 537 | if (res.code == proxy.$passCode) { | 537 | if (res.code == proxy.$passCode) { |
| 538 | memberTenantList.value = res.data || []; | 538 | memberTenantList.value = res.data || []; |
| 539 | memberTableInfo.value.editInfo.memberGuid.options = memberTenantList.value; | 539 | memberTableInfo.value.editInfo.memberGuid.options = memberTenantList.value; | ... | ... |
-
Please register or sign in to post a comment