|
@@ -50,7 +50,7 @@
|
|
<div class="patent-articles-content-left1" :style="{ width: showRight ? 'calc(100% - 321px)' : 'calc(100% - 21px)' }">
|
|
<div class="patent-articles-content-left1" :style="{ width: showRight ? 'calc(100% - 321px)' : 'calc(100% - 21px)' }">
|
|
<div class="dom1 box1" v-dragControllerDiv1 style="display:flex;width:100%">
|
|
<div class="dom1 box1" v-dragControllerDiv1 style="display:flex;width:100%">
|
|
<div class="component left1" style="width:100%;overflow-y:auto;overflow-x: hidden;padding-bottom:10px" :style="{height:height}">
|
|
<div class="component left1" style="width:100%;overflow-y:auto;overflow-x: hidden;padding-bottom:10px" :style="{height:height}">
|
|
- <component :is="componentName" v-on="$listeners" v-bind="$attrs" :type1='type' :isTrue="isTrue" @openContrast='openContrast' :patent="patent" :patent-id="patentId" :signPatentNo="signPatentNo" :patentNo="this.activeMenu == 'patentWorth'?[patentNo?patentNo:productPublicNo]:patentNo" :publicNo="publicNo" :domId="patentNo + '2'" :reportId="reportId" :pdfType1="getPDFType()" @refresh="getPatent(patent.patentNo)"></component>
|
|
|
|
|
|
+ <component :is="componentName" v-on="$listeners" v-bind="$attrs" :type1='type' :isTrue="isTrue" @openContrast='openContrast' :patent="patent" :patent-id="patentId" :signPatentNo="signPatentNo" :patentNo="this.activeMenu == 'patentWorth'?[patentNo]:patentNo" :domId="patentNo + '2'" :reportId="reportId" :pdfType1="getPDFType()" @refresh="getPatent(patent.patentNo)"></component>
|
|
</div>
|
|
</div>
|
|
<div class="resize2" title="收缩侧边栏" v-show="(radio == 2 || radio == 3) && activeMenu != activeMenu2"><p><span>˙</span><span>˙</span><span>˙</span></p></div>
|
|
<div class="resize2" title="收缩侧边栏" v-show="(radio == 2 || radio == 3) && activeMenu != activeMenu2"><p><span>˙</span><span>˙</span><span>˙</span></p></div>
|
|
<div class="resize1" title="收缩侧边栏" v-show="(radio == 4 || radio == 5) && activeMenu != activeMenu2"><span>⋮</span></div>
|
|
<div class="resize1" title="收缩侧边栏" v-show="(radio == 4 || radio == 5) && activeMenu != activeMenu2"><span>⋮</span></div>
|
|
@@ -71,8 +71,8 @@
|
|
</el-header>
|
|
</el-header>
|
|
<el-main>
|
|
<el-main>
|
|
<keep-alive>
|
|
<keep-alive>
|
|
- <component :is="activeOption" :patent-id="patentId" :publicNo="publicNo" :reportId="reportId" :patentNo1="patentNo"></component>
|
|
|
|
- <component :is="activeOption" :patent-id="patentId" :publicNo="publicNo" :reportId="reportId" :patentNo1="patentNo"></component>
|
|
|
|
|
|
+ <component :is="activeOption" :patent-id="patentId" :patentNo="patentNo" :reportId="reportId" :patentNo1="patentNo"></component>
|
|
|
|
+ <component :is="activeOption" :patent-id="patentId" :patentNo="patentNo" :reportId="reportId" :patentNo1="patentNo"></component>
|
|
</keep-alive>
|
|
</keep-alive>
|
|
</el-main>
|
|
</el-main>
|
|
</el-container>
|
|
</el-container>
|
|
@@ -141,16 +141,8 @@ export default {
|
|
HistoryOfInvalidEvidence,
|
|
HistoryOfInvalidEvidence,
|
|
InvalidEvidencePush
|
|
InvalidEvidencePush
|
|
},
|
|
},
|
|
- props:['patentMessage','publicNo','signPatentNo','reportId','type','isTrue',"taskId","patentStatus2A",'showEvidence'],
|
|
|
|
- // props: {
|
|
|
|
- // 'patentMessage':String,
|
|
|
|
- // 'publicNo':String,
|
|
|
|
- // 'signPatentNo':String,
|
|
|
|
- // 'reportId':{
|
|
|
|
- // default:null
|
|
|
|
- // },
|
|
|
|
-
|
|
|
|
- // },
|
|
|
|
|
|
+ props:['patentMessage','patentNo','signPatentNo','reportId','type','isTrue',"taskId","patentStatus2A",'showEvidence'],
|
|
|
|
+
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
// visible2:false,
|
|
// visible2:false,
|
|
@@ -169,8 +161,7 @@ export default {
|
|
componentName: 'PatentBasic',
|
|
componentName: 'PatentBasic',
|
|
activeOption: 'PatentField',
|
|
activeOption: 'PatentField',
|
|
loading: false,
|
|
loading: false,
|
|
- patentNo:"",
|
|
|
|
- productPublicNo:"",
|
|
|
|
|
|
+ // patentNo:"",
|
|
menuList: [
|
|
menuList: [
|
|
{
|
|
{
|
|
value: 'PatentBasic',
|
|
value: 'PatentBasic',
|
|
@@ -254,15 +245,11 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- this.patentNo = this.$route.query.patentNo
|
|
|
|
- // productPublicNo接收产品相关专利的专利号
|
|
|
|
- this.productPublicNo = this.$route.query.publicNo
|
|
|
|
- // console.log(this.patentMessage)
|
|
|
|
- // this.onChange(this.patentMessage)
|
|
|
|
|
|
+ // this.patentNo = this.$route.query.patentNo
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
|
|
|
|
- publicNo(val) {
|
|
|
|
|
|
+ patentNo(val) {
|
|
// console.log(val);
|
|
// console.log(val);
|
|
if (this.fix != true) {
|
|
if (this.fix != true) {
|
|
this.getPatent(val)
|
|
this.getPatent(val)
|
|
@@ -288,34 +275,24 @@ export default {
|
|
fix(val) {
|
|
fix(val) {
|
|
this.$emit('on-change', val)
|
|
this.$emit('on-change', val)
|
|
},
|
|
},
|
|
- // visible2(val){
|
|
|
|
- // if(val){
|
|
|
|
- // this.$emit('getVisible',true)
|
|
|
|
- // this.visible2 = false
|
|
|
|
- // }
|
|
|
|
- // },
|
|
|
|
patentStatus2(val) {
|
|
patentStatus2(val) {
|
|
let value = {
|
|
let value = {
|
|
- patentNo: this.publicNo,
|
|
|
|
|
|
+ patentNo: this.patentNo,
|
|
patentStatus2:this.patentStatus2
|
|
patentStatus2:this.patentStatus2
|
|
}
|
|
}
|
|
this.$emit("patentStatusEmit",value)
|
|
this.$emit("patentStatusEmit",value)
|
|
},
|
|
},
|
|
patentStatus2A(val) {
|
|
patentStatus2A(val) {
|
|
- if (this.publicNo==val.patentNo) {
|
|
|
|
|
|
+ if (this.patentNo==val.patentNo) {
|
|
this.patentStatus2=val.patentStatus2
|
|
this.patentStatus2=val.patentStatus2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- if(this.publicNo || this.productPublicNo){
|
|
|
|
- let publicNo=this.publicNo?this.publicNo:this.productPublicNo
|
|
|
|
- this.getPatent(publicNo)
|
|
|
|
|
|
+ if(this.patentNo){
|
|
|
|
+ let patentNo=this.patentNo
|
|
|
|
+ this.getPatent(patentNo)
|
|
}
|
|
}
|
|
- // if(this.signPatentNo){
|
|
|
|
- // console.log(this.signPatentNo)
|
|
|
|
- // this.getContrastList()
|
|
|
|
- // }
|
|
|
|
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -392,7 +369,7 @@ export default {
|
|
this.fix = true
|
|
this.fix = true
|
|
},
|
|
},
|
|
changePageTitle() {
|
|
changePageTitle() {
|
|
- document.title = `${this.patent.publicNo} ${this.patent.name || ''}`
|
|
|
|
|
|
+ document.title = `${this.patent.patentNo} ${this.patent.name || ''}`
|
|
},
|
|
},
|
|
// async onChange(data) {
|
|
// async onChange(data) {
|
|
// await this.getPatent(data.id)
|
|
// await this.getPatent(data.id)
|
|
@@ -405,18 +382,14 @@ export default {
|
|
// this.patentId = data.id
|
|
// this.patentId = data.id
|
|
// this.changePageTitle()
|
|
// this.changePageTitle()
|
|
// },
|
|
// },
|
|
- async getPatent(publicNo) {
|
|
|
|
- // console.log(publicNo)
|
|
|
|
|
|
+ async getPatent(patentNo) {
|
|
this.loading = true
|
|
this.loading = true
|
|
- const response = await this.$api.PatentByPatentNo({patentNo : publicNo})
|
|
|
|
|
|
+ const response = await this.$api.PatentByPatentNo({patentNo : patentNo})
|
|
// console.log(response)
|
|
// console.log(response)
|
|
this.patent = response.data
|
|
this.patent = response.data
|
|
if(this.taskId){
|
|
if(this.taskId){
|
|
this.getPatentStatus(response.data.patentNo)
|
|
this.getPatentStatus(response.data.patentNo)
|
|
}
|
|
}
|
|
- // if (this.publicNo == this.patent.publicNo) {
|
|
|
|
- // this.showcard = false
|
|
|
|
- // }
|
|
|
|
const country = getPatentCountry(this.patent.patentNo)
|
|
const country = getPatentCountry(this.patent.patentNo)
|
|
let change = false
|
|
let change = false
|
|
if (country !== 'CN') {
|
|
if (country !== 'CN') {
|
|
@@ -426,9 +399,8 @@ export default {
|
|
this.$set(this.patent, 'change2', change)
|
|
this.$set(this.patent, 'change2', change)
|
|
this.loading = false
|
|
this.loading = false
|
|
this.changePageTitle()
|
|
this.changePageTitle()
|
|
- if(this.reportId){
|
|
|
|
- this.getPiZhuContrastList(this.patent.publicNo)
|
|
|
|
- }
|
|
|
|
|
|
+ this.getPiZhuContrastList(this.patent.patentNo)
|
|
|
|
+
|
|
|
|
|
|
},
|
|
},
|
|
getPiZhuContrastList(val) {
|
|
getPiZhuContrastList(val) {
|
|
@@ -441,9 +413,9 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
let params = {
|
|
let params = {
|
|
- patentNo: val?val:this.patent.publicNo,
|
|
|
|
- id: this.reportId,
|
|
|
|
- createFrom:this.reportId?2:0
|
|
|
|
|
|
+ patentNo: val?val:this.patent.patentNo,
|
|
|
|
+ id: (this.reportId && !isNaN(this.reportId)) ?this.reportId:null,
|
|
|
|
+ createFrom:(this.reportId && !isNaN(this.reportId)) ?2:0
|
|
}
|
|
}
|
|
this.$api.scratchWordsQuery(params).then(response => {
|
|
this.$api.scratchWordsQuery(params).then(response => {
|
|
if (response.code==200) {
|
|
if (response.code==200) {
|
|
@@ -458,24 +430,7 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- // async getPatent(id) {
|
|
|
|
- // this.loading = true
|
|
|
|
- // const response = await this.$api.getPatentById(id, { projectId: this.projectId })
|
|
|
|
- // // console.log(this.publicNo)
|
|
|
|
- // this.patent = response.data
|
|
|
|
- // if (this.publicNo == this.patent.publicNo) {
|
|
|
|
- // this.showcard = false
|
|
|
|
- // }
|
|
|
|
- // const country = getPatentCountry(this.patent.patentNo)
|
|
|
|
- // let change = false
|
|
|
|
- // if (country !== 'CN') {
|
|
|
|
- // change = true
|
|
|
|
- // }
|
|
|
|
- // this.$set(this.patent, 'change', change)
|
|
|
|
- // this.$set(this.patent, 'change2', change)
|
|
|
|
- // this.loading = false
|
|
|
|
- // this.changePageTitle()
|
|
|
|
- // },
|
|
|
|
|
|
+
|
|
handleSelect2(index, path) {
|
|
handleSelect2(index, path) {
|
|
|
|
|
|
},
|
|
},
|
|
@@ -518,7 +473,7 @@ export default {
|
|
if(val == '0'){
|
|
if(val == '0'){
|
|
var a = {
|
|
var a = {
|
|
taskID:this.taskId,
|
|
taskID:this.taskId,
|
|
- patentNo:this.publicNo
|
|
|
|
|
|
+ patentNo:this.patentNo
|
|
}
|
|
}
|
|
this.$api.updatePatentStatus(a).then(response=>{
|
|
this.$api.updatePatentStatus(a).then(response=>{
|
|
if(response.code == 200){
|
|
if(response.code == 200){
|