Commit 7520e3e2 by xinla

修改选择员工未激活问题

1 parent da145aef
...@@ -73,13 +73,15 @@ export default { ...@@ -73,13 +73,15 @@ export default {
// }); // });
}) })
} else { } else {
getList({ department: node.data.id }).then(({ rows }) => { getList({ department: node.data.id, isActivate: 1 }).then(
rows.forEach((element) => { ({ rows }) => {
element.key = createUniqueString() rows.forEach((element) => {
}) element.key = createUniqueString()
node.data.children && rows.push(...node.data.children) })
resolve(rows) 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!