【更新】职位|岗位 获取机构树 无需顶级节点

pull/137/head
这么诚实 2023-07-21 13:03:21 +08:00
parent 8877705ba8
commit 98fa499b8c
2 changed files with 4 additions and 18 deletions

View File

@ -77,16 +77,9 @@
if (record) {
formData.value = Object.assign({}, record)
}
//
//
bizOrgApi.orgTree().then((res) => {
treeData.value = [
{
id: 0,
parentId: '-1',
name: '顶级',
children: res
}
]
treeData.value = res
})
}
//

View File

@ -76,16 +76,9 @@
if (record) {
formData.value = Object.assign({}, record)
}
//
//
orgApi.orgTree().then((res) => {
treeData.value = [
{
id: 0,
parentId: '-1',
name: '顶级',
children: res
}
]
treeData.value = res
})
}
//