Ver Fonte

外观专利不显示权利要求、说明书

zhuliu há 1 ano atrás
pai
commit
564a7d4bef

+ 12 - 0
src/views/project/patentDetails/components/patentDetails.vue

@@ -423,6 +423,8 @@ export default {
           }
           this.patent = response.data
           this.loading = false
+          //显示的tab栏修改
+          this.showTabChange()
           if (this.outside) {
             this.getData()
           }else{
@@ -434,6 +436,16 @@ export default {
         this.loading = false
       })
     },
+    showTabChange(){
+      if(this.patent.patentType == 3 &&  this.patent.patentNo.substring(0,2) == 'CN'){
+        var arr = ['PatentRight','PatentInstruction','PatentPDF']
+        this.menuList.forEach(item=>{
+          if(arr.indexOf(item.value)!=-1){
+            item.show = true
+          }
+        })
+      }
+    },
     getPatentField(){
       if(!this.projectId){
         return false