个人中心新增健康档案

This commit is contained in:
唐明明
2022-01-14 13:53:57 +08:00
parent 22407a7877
commit 37c67ecd4a
10 changed files with 45 additions and 21 deletions

View File

@@ -186,8 +186,13 @@
},
// 个人档案
onFiles(){
if(this.isLogin()){
this.$Router.push({name: 'indexFiles'})
if(this.isLogin()){
if(!this.userInfo.has_record){
console.log('未完善资料')
this.$Router.push({name: 'EssentialInfo'})
return
}
this.$Router.push({name: 'UserFiles'})
}
},
// 按钮导航