|
@@ -88,7 +88,8 @@ export default {
|
|
|
query: this.query
|
|
|
})
|
|
|
await this.$store.dispatch('user/login', query)
|
|
|
- await this.$store.dispatch('user/getEmployee')
|
|
|
+ await this.$store.dispatch('user/getEmployee') // 获取绑定员工信息
|
|
|
+ await this.$store.dispatch('system/getOrganizationTree') // 获取机构信息
|
|
|
this.$router.push('/')
|
|
|
} catch (error) {
|
|
|
if (typeof error === 'object' && error?.code) {
|