|
@@ -1,4 +1,5 @@
|
|
|
<template>
|
|
|
+<div>
|
|
|
<div class="report-detail" v-if="info">
|
|
|
<div class="top-wrap" :style="'backgroundImage:url('+topBgUrl+')'">
|
|
|
<h1 class="title">{{info.research_report_info.reportVariety}}</h1>
|
|
@@ -28,6 +29,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div v-if="noAuth" style="background:#fff;padding-top:100px;box-size:border-box">
|
|
|
+ <van-empty
|
|
|
+ class="custom-image"
|
|
|
+ :image="require('../../assets/img/ficc_yb/noauth.png')"
|
|
|
+ description="暂无权限"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -56,7 +65,8 @@ export default {
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
- info:null
|
|
|
+ info:null,
|
|
|
+ noAuth:false
|
|
|
}
|
|
|
},
|
|
|
created(){
|
|
@@ -103,6 +113,9 @@ export default {
|
|
|
})
|
|
|
if(res.code===200){
|
|
|
this.info=res.data
|
|
|
+ this.noAuth=false
|
|
|
+ }else if(res.code==400){
|
|
|
+ this.noAuth=true
|
|
|
}
|
|
|
}
|
|
|
}
|