Browse Source

fix: bug修改

deploy-dev
xuziqiang 4 months ago
parent
commit
40021ba5d0
  1. 6
      hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue

6
hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue

@ -194,7 +194,9 @@
const selectRoleRef = ref(); const selectRoleRef = ref();
const formSchema = formConfig(disabled as any); const formSchema = formConfig(disabled as any);
const formSchema2 = formConfig2(roleDisabled as any); const formSchema2 = formConfig2(roleDisabled as any);
const { orgName, projectId, orgId } = JSON.parse(sessionStorage.getItem(import.meta.env.VITE_PUBLIC_PATH)); const { orgName, projectId, orgId } = JSON.parse(
sessionStorage.getItem(import.meta.env.VITE_PUBLIC_PATH),
);
// const orgId = JSON.parse(sessionStorage.getItem('ORGID')); // const orgId = JSON.parse(sessionStorage.getItem('ORGID'));
const roleTreeData = ref([]); const roleTreeData = ref([]);
const rolePermissionTreeData = ref([]); const rolePermissionTreeData = ref([]);
@ -340,7 +342,7 @@
const info = { const info = {
node: { key: '0-0-0', dataRef: { ...roleTreeData.value[0].children[0] } }, node: { key: '0-0-0', dataRef: { ...roleTreeData.value[0].children[0] } },
}; };
SelectUserTree([''], info); // SelectUserTree([''], info);
}); });
} }
}); });

Loading…
Cancel
Save