Commit c3d6d17a authored by danfuman's avatar danfuman

修改

parent dcb38a8f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="app-container group-container"> <div class="app-container group-container">
<div class="header-container" ref="header"> <div class="header-container" ref="header">
<div class="flex-box part-header"> <div class="flex-box part-header">
<img class="header-logo" :src="require('@/assets/images/detail/company_logo.png')"> <img class="header-logo" :src="details && details.logoUrl || require('@/assets/images/detail/company_logo.png')">
{{name || '--'}} {{name || '--'}}
</div> </div>
</div> </div>
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
isCompany: false, isCompany: false,
isSkeleton: false, isSkeleton: false,
name:'', name:'',
details:{},
} }
}, },
created() { created() {
...@@ -56,14 +57,14 @@ ...@@ -56,14 +57,14 @@
this.customerId = this.$route.params.id this.customerId = this.$route.params.id
} }
combineMemberLogo({combineId: this.customerId}).then(res=>{ combineMemberLogo({combineId: this.customerId}).then(res=>{
console.log(res.data) this.details=res.data;
})
statistic({companyId: this.$route.query.cid}).then(res=>{
console.log(res.data)
if(res.code==200){
this.statisticObj = res.data
}
}) })
// statistic({companyId: this.$route.query.cid}).then(res=>{
// console.log(res.data)
// if(res.code==200){
// this.statisticObj = res.data
// }
// })
// if (this.$route.query.path) { // 获取跳转对应板块 // if (this.$route.query.path) { // 获取跳转对应板块
// this.currentPath.pathName = this.$route.query.path // this.currentPath.pathName = this.$route.query.path
// } // }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment