|
|
|
@ -100,7 +100,7 @@ export default { |
|
|
|
this.sidebarList[1].url='/wkTrusteeship' |
|
|
|
} |
|
|
|
if(res.data.is_third_party>0 &&res.data.third_party_status==1){ |
|
|
|
this.sidebarList[2].url='/Purchaser' |
|
|
|
this.sidebarList[2].url='/wkThird' |
|
|
|
}else{ |
|
|
|
this.sidebarList[2].url='/wkThird' |
|
|
|
} |
|
|
|
@ -144,7 +144,7 @@ export default { |
|
|
|
this.sidebarList[1].url='/wkTrusteeship' |
|
|
|
} |
|
|
|
if(this.examine_data.is_third_party>0 && this.examine_data.third_party_status>0){ |
|
|
|
this.sidebarList[2].url='/Purchaser' |
|
|
|
this.sidebarList[2].url='/wkThird' |
|
|
|
}else{ |
|
|
|
this.sidebarList[2].url='/wkThird' |
|
|
|
} |
|
|
|
@ -180,7 +180,19 @@ export default { |
|
|
|
// console.info(this.$route) |
|
|
|
this.activeClass=this.$route.path |
|
|
|
this.login_type=localStorage.getItem('login_type') |
|
|
|
this.UserConsole(this.login_type,1) |
|
|
|
let type=0; |
|
|
|
console.info(this.sidebarList) |
|
|
|
for(let i=0 ; i<this.sidebarList.length;i++){ |
|
|
|
if (this.sidebarList[i].url==this.activeClass) { |
|
|
|
type=0 |
|
|
|
return |
|
|
|
}else{ |
|
|
|
type=1 |
|
|
|
} |
|
|
|
} |
|
|
|
if (type==1) { |
|
|
|
this.UserConsole(this.login_type,1) |
|
|
|
} |
|
|
|
if(this.login_type==1){ |
|
|
|
this.isOpenAccount() |
|
|
|
} |
|
|
|
|