This commit is contained in:
FLL
2025-09-04 17:02:24 +08:00
parent b0d48d0425
commit 9cefe1847e
6 changed files with 154 additions and 62 deletions

View File

@@ -4,7 +4,7 @@ import type { DeptTree } from '#/api/system/user/model';
import { onMounted, ref } from 'vue';
import { SyncOutlined } from '@ant-design/icons-vue';
import { Empty, InputSearch, Skeleton, Tree } from 'ant-design-vue';
import { getDeptTree } from '#/api/system/user';
import { communityTree } from '#/api/property/community';
defineOptions({ inheritAttrs: false });
@@ -41,7 +41,7 @@ async function loadTree() {
showTreeSkeleton.value = true;
searchValue.value = '';
selectDeptId.value = [];
const ret = await getDeptTree();
const ret = await communityTree(3);
deptTreeArray.value = ret;
showTreeSkeleton.value = false;
}