Commit 7520e3e2 by xinla

修改选择员工未激活问题

1 parent da145aef
......@@ -73,13 +73,15 @@ export default {
// });
})
} else {
getList({ department: node.data.id }).then(({ rows }) => {
rows.forEach((element) => {
element.key = createUniqueString()
})
node.data.children && rows.push(...node.data.children)
resolve(rows)
})
getList({ department: node.data.id, isActivate: 1 }).then(
({ rows }) => {
rows.forEach((element) => {
element.key = createUniqueString()
})
node.data.children && rows.push(...node.data.children)
resolve(rows)
}
)
}
},
// 选择变化
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!