mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-25 00:05:07 +08:00
Vue3 重构:流程分配规则
This commit is contained in:
@ -166,7 +166,7 @@ const resetForm = () => {
|
||||
/** 获得部门树 */
|
||||
const getTree = async () => {
|
||||
deptTree.value = []
|
||||
const data = await DeptApi.listSimpleDeptApi()
|
||||
const data = await DeptApi.getSimpleDeptList()
|
||||
let dept: Tree = { id: 0, name: '顶级部门', children: [] }
|
||||
dept.children = handleTree(data)
|
||||
deptTree.value.push(dept)
|
||||
|
Reference in New Issue
Block a user