Browse Source

feat: 树搜索调整

main
xuziqiang 3 months ago
parent
commit
d4f17c4c02
  1. 4
      hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue

4
hx-ai-intelligent/src/view/organizationManage/usermanage/index.vue

@ -137,7 +137,9 @@
fetch(origanizemanage.queryOrgTree, params).then((res) => { fetch(origanizemanage.queryOrgTree, params).then((res) => {
const otherOrg = res.data[0].listOrg; const otherOrg = res.data[0].listOrg;
// //
treeData.value = res.data; if (res.data[0].orgInfo) {
treeData.value = res.data;
}
otherOrg?.map((item) => { otherOrg?.map((item) => {
treeData.value.push({ orgInfo: item } as never); treeData.value.push({ orgInfo: item } as never);
}); });

Loading…
Cancel
Save