|
@@ -3,7 +3,7 @@
|
|
|
<el-container>
|
|
|
<el-aside width="210px" style="overflow:hidden" class="patent-articles-menu">
|
|
|
<el-menu class="theme-dark" :default-active="activeMenu" @select="handleSelect">
|
|
|
- <el-menu-item v-for="item in menuList" :index="item.path" v-if="item.show && (item.path=='TaskDetails'?$reportPermission(reportId,[0,1]):true)">
|
|
|
+ <el-menu-item v-for="item in menuList" :index="item.path" v-if="item.show">
|
|
|
<i class="el-icon-film"></i>
|
|
|
<span slot="title">{{item.title}}</span>
|
|
|
</el-menu-item>
|
|
@@ -56,15 +56,20 @@ export default {
|
|
|
{ title: '对比结果', path:"ContrastResult",show:true},
|
|
|
// { title: '对比方案', path:"ContrastPlan"},
|
|
|
{ title: '报告文档', path:"ReportFile",show:true},
|
|
|
- { title: '后续跟进事项', path:"remarryMatter",show:true},
|
|
|
- { title: '任务清单', path:"TaskDetails",show:true},
|
|
|
+ { title: '后续跟进事项', path:"remarryMatter",show:(this.row && this.row.status==3 && this.$permission('/rms/matter'))?true:false},
|
|
|
+ { title: '任务清单', path:"TaskDetails",show:(this.$reportPermission(this.reportId,[0,1]))?true:false},
|
|
|
],
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
-
|
|
|
+ // show(){
|
|
|
+ // this.setData()
|
|
|
+ // }
|
|
|
},
|
|
|
computed:{
|
|
|
+ // show(){
|
|
|
+ // return this.$permission('/rms/matter')
|
|
|
+ // },
|
|
|
dictMessage() {
|
|
|
return this.$s.getSession('row').dictMessage.REPORT_TYPE
|
|
|
},
|
|
@@ -81,10 +86,27 @@ export default {
|
|
|
return this.$s.getSession('row').signPatentNo
|
|
|
}
|
|
|
},
|
|
|
+ created(){
|
|
|
+ this.setData()
|
|
|
+ },
|
|
|
mounted() {
|
|
|
this.changePageTitle()
|
|
|
},
|
|
|
methods: {
|
|
|
+ setData(){
|
|
|
+ this.menuList =[
|
|
|
+ { title: '基本信息', path:"BasicInformation",show:true},
|
|
|
+ { title: '标的产品信息', path:"ProductMessage",show:true},
|
|
|
+ { title: '对比文件', path:"ContrastFile",show:this.$s.getSession('row').type == 4?false:true},
|
|
|
+ { title: '专利与产品关联比对', path:"ProductContrast",show:this.$s.getSession('row').type == 4?true:false},
|
|
|
+ // { title: '新对比文件', path:"referenceFile"},
|
|
|
+ { title: '对比结果', path:"ContrastResult",show:true},
|
|
|
+ // { title: '对比方案', path:"ContrastPlan"},
|
|
|
+ { title: '报告文档', path:"ReportFile",show:true},
|
|
|
+ { title: '后续跟进事项', path:"remarryMatter",show:(this.row && this.row.status==3 && this.$permission('/rms/matter'))?true:false},
|
|
|
+ { title: '任务清单', path:"TaskDetails",show:(this.$reportPermission(this.reportId,[0,1]))?true:false},
|
|
|
+ ]
|
|
|
+ },
|
|
|
changePageTitle() {
|
|
|
document.title = `${this.row.name} ${'报告详情'}`
|
|
|
},
|