Vue3 重构:流程分配规则

This commit is contained in:
YunaiV
2023-03-26 19:32:19 +08:00
parent 3c6bf37879
commit f5d900db29
12 changed files with 331 additions and 363 deletions

View File

@ -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)