|
@@ -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){
|