|
@@ -55,6 +55,10 @@
|
|
|
userName: {
|
|
|
get () { return this.$store.state.user.name },
|
|
|
set (val) { this.$store.commit('user/updateName', val) }
|
|
|
+ },
|
|
|
+ orgId: {
|
|
|
+ get () { return this.$store.state.user.orgId },
|
|
|
+ set (val) { this.$store.commit('user/updateOrgId', val) }
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
@@ -81,6 +85,7 @@
|
|
|
this.loading = false
|
|
|
this.userId = data.data.userId
|
|
|
this.userName = data.data.username
|
|
|
+ this.orgId = data.data.orgId
|
|
|
}
|
|
|
})
|
|
|
}
|