|
@@ -87,7 +87,7 @@
|
|
|
</el-tooltip>
|
|
|
<template v-if="patentList.length>1">
|
|
|
<el-tooltip placement="right-end">
|
|
|
- <template slot="content">
|
|
|
+ <template slot="content" v-if="patentList[index-1]">
|
|
|
<div>点击查看上一篇文献</div>
|
|
|
<div v-if="[1,2,7].findIndex(item=>{return item == reportType}) == -1">专利:{{index!=0? patentList[index-1].patentNo:''}}</div>
|
|
|
<div v-else>文献:{{index!=0? patentList[index-1].name:''}}</div>
|
|
@@ -100,7 +100,7 @@
|
|
|
</div>
|
|
|
</el-tooltip>
|
|
|
<el-tooltip placement="right-end">
|
|
|
- <template slot="content">
|
|
|
+ <template slot="content" v-if="patentList[index+1]">
|
|
|
<div>点击查看下一篇文献</div>
|
|
|
<div v-if="[1,2,7].findIndex(item=>{return item == reportType}) == -1">专利:{{(total - currentLocation!=0 && total!=0)? patentList[index+1].patentNo:''}}</div>
|
|
|
<div v-else>文献:{{(total - currentLocation!=0 && total!=0)? patentList[index+1].name:''}}</div>
|
|
@@ -391,7 +391,8 @@ export default {
|
|
|
this.currentLocation -=1
|
|
|
if(this.outside){
|
|
|
this.updatePatentNo(this.patentList[this.index].patentNo)
|
|
|
- if(this.index==-1 && this.currentLocation>0){
|
|
|
+ if(this.index==0 && this.currentLocation>0){
|
|
|
+ this.setQueryParams()
|
|
|
this.getData()
|
|
|
}
|
|
|
return
|
|
@@ -406,6 +407,7 @@ export default {
|
|
|
}
|
|
|
this.updatePatentNo(this.patentList[this.index].patentNo)
|
|
|
if(this.index <= 2 && this.currentLocation>2){
|
|
|
+ this.setQueryParams()
|
|
|
this.getData()
|
|
|
}
|
|
|
},
|
|
@@ -416,6 +418,7 @@ export default {
|
|
|
if(this.outside){
|
|
|
this.updatePatentNo(this.patentList[this.index].patentNo)
|
|
|
if(this.index==10 && this.currentLocation<this.total){
|
|
|
+ this.setQueryParams()
|
|
|
this.getData()
|
|
|
}
|
|
|
return
|
|
@@ -430,6 +433,7 @@ export default {
|
|
|
}
|
|
|
this.updatePatentNo(this.patentList[this.index].patentNo)
|
|
|
if(this.index >= 7 && this.currentLocation<this.total-2){
|
|
|
+ this.setQueryParams()
|
|
|
this.getData()
|
|
|
}
|
|
|
}
|