Browse Source

修改专利详情切换专利时权利要求栏位的显示问题

zhuliu 1 year ago
parent
commit
b5539d8bb1

+ 10 - 6
src/views/project/patentDetails/components/patentDetails.vue

@@ -437,14 +437,18 @@ export default {
       })
     },
     showTabChange(){
+      var show = false
       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
-          }
-        })
+        show = true
+      }else{
+        show = false
       }
+      var arr = ['PatentRight','PatentInstruction','PatentPDF']
+      this.menuList.forEach(item=>{
+        if(arr.indexOf(item.value)!=-1){
+          item.show = show
+        }
+      })
     },
     getPatentField(){
       if(!this.projectId){

+ 0 - 2
src/views/report/components/patentList/components/searchPatent.vue

@@ -198,7 +198,6 @@ export default {
     // 存储条件
     storage() {
       this.isControl.inputValue = this.inputValue
-      console.log(this.isControl)
       var obj = {
         field:{
           search:this.isControl.value,
@@ -272,7 +271,6 @@ export default {
       let customFields = []
       let count = 0
       this.searchStorageText.forEach(item=>{
-        console.log(item)
         if(item.field.group == 'nos' || item.field.filedKind == -1){
           var front = ''
           if(count!=0){