9feb5ddb by lihua

逻辑空间选择成员排除自身

1 parent 10206f98
......@@ -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}`,
......
......@@ -44,7 +44,7 @@ import {
import {
getActionPolicyList,
getConstraintPolicyList,
getContractTenantList
getContractTenantListExcludeSelf
} 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) => {
getContractTenantListExcludeSelf().then((res: any) => {
if (res.code == proxy.$passCode) {
memberTenantList.value = res.data || [];
memberTableInfo.value.editInfo.memberGuid.options = memberTenantList.value;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!