|
@@ -104,6 +104,27 @@ export default {
|
|
|
retrieveRecordId(){
|
|
|
return this.$route.query.retrieveRecordId
|
|
|
},
|
|
|
+ reloadURL(){
|
|
|
+ return this.$route.query.reloadURL
|
|
|
+ },
|
|
|
+ },
|
|
|
+ watch:{
|
|
|
+ reloadURL(val){
|
|
|
+ if(val){
|
|
|
+ this.getInit()
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.$router.replace(
|
|
|
+ {
|
|
|
+ path: '/patentDetails/' + this.patentNo,
|
|
|
+ query:{
|
|
|
+ ...this.$route.query,
|
|
|
+ reloadURL:false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ )
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
created() { },
|
|
|
mounted() {
|
|
@@ -147,7 +168,9 @@ export default {
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+ getInit(){
|
|
|
+ this.queryComparePatent()
|
|
|
+ },
|
|
|
//查询对比文件
|
|
|
queryComparePatent(){
|
|
|
var params = {
|