|
@@ -134,7 +134,6 @@ export default {
|
|
|
uploadIndividualAuthenticationInfo(this.user.userVO.id, newAuthentication, this.submitInfoSuccess, this.submitInfoFail)
|
|
|
},
|
|
|
submitInfoSuccess (res) {
|
|
|
- this.hideLoading()
|
|
|
console.log(res)
|
|
|
getCurrentUser().then(res => {
|
|
|
storageSave('user', res)
|
|
@@ -143,9 +142,11 @@ export default {
|
|
|
storageSave('rolesPermissions', getRolesPermissions(res.roleList))
|
|
|
this.hideLoading()
|
|
|
//notify('success', '用户信息刷新成功')
|
|
|
+ this.sendBusMessage()
|
|
|
this.$confirm('认证信息提交成功,将于10个工作日内审核完成')
|
|
|
.then(_ => {
|
|
|
//done()
|
|
|
+
|
|
|
this.$router.push({
|
|
|
name: 'IndividualAuthentication',
|
|
|
params: {userId: this.user.userVO.id}
|
|
@@ -219,6 +220,9 @@ export default {
|
|
|
},
|
|
|
hideLoading () {
|
|
|
this.loading = false
|
|
|
+ },
|
|
|
+ sendBusMessage(){
|
|
|
+ this.$root.$emit('user',this.user)
|
|
|
}
|
|
|
},
|
|
|
created: function () {
|