fix: 修改组织管理的搜索问题

This commit is contained in:
100011797 2023-06-07 16:39:01 +08:00
parent fb93db1fa5
commit 6de9833302
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,8 @@ function getTree(cb?: Function) {
];
}
treeMap.clear()
getTreeData_api(params)
.then((resp: any) => {
selectedKeys.value = [resp.result[0].id];
@ -191,6 +193,7 @@ function delDepartment(id: string) {
getTree();
});
}
function refresh(id: string) {
// @ts-ignore
window?.onTabSaveSuccess && window.onTabSaveSuccess(id);