|
@@ -7,7 +7,7 @@
|
|
|
</div>
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
<el-tab-pane label="标的专利" name="patent">
|
|
|
- <ContrastIndex v-bind="$attrs" v-on="$listeners" :reportId="reportId" :evidenceFlieId="evidence.id" :evidence="evidence" @on-change='changefix' :publicNo="signPatentNo" :signPatentNo="signPatentNo" :reportType="reportType" :showEvidence="!showEvidence" @openOpinioncontrast="openOpinioncontrast"></ContrastIndex>
|
|
|
+ <ContrastIndex v-bind="$attrs" v-on="$listeners" :reportId="reportId" :evidenceFlieId="getEvidenceId()" :evidence="evidence1" @on-change='changefix' :publicNo="signPatentNo" :signPatentNo="signPatentNo" :reportType="reportType" :showEvidence="!showEvidence" @openOpinioncontrast="openOpinioncontrast"></ContrastIndex>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="无效请求书" name="InvalidRequest">
|
|
|
<check-File ref="checkFile"></check-File>
|
|
@@ -19,7 +19,7 @@
|
|
|
<img src="@/assets/visual/fixed.png" width="20px" height="20px" @click="qx" v-if="fix===true" />
|
|
|
<img src="@/assets/visual/unfixed.png" width="20px" height="20px" @click="gd" v-if="fix===false" />
|
|
|
</div>
|
|
|
- <ContrastIndex v-if="type == 1" v-bind="$attrs" v-on="$listeners" :reportId="reportId" :evidenceFlieId="evidence.id" :evidence="evidence" @on-change='changefix' :publicNo="evidence.proofConditions" :signPatentNo="signPatentNo" :reportType="reportType" :showEvidence="showEvidence" @openOpinioncontrast="openOpinioncontrast"></ContrastIndex>
|
|
|
+ <ContrastIndex v-if="type == 1" v-bind="$attrs" v-on="$listeners" :reportId="reportId" :evidenceFlieId="getEvidenceId()" :evidence="evidence1" @on-change='changefix' :publicNo="evidence1.proofConditions" :signPatentNo="signPatentNo" :reportType="reportType" :showEvidence="showEvidence" @openOpinioncontrast="openOpinioncontrast"></ContrastIndex>
|
|
|
<check-File v-else ref="checkFile1"></check-File>
|
|
|
</div>
|
|
|
<Add-Opinion ref="addOpinion"></Add-Opinion>
|
|
@@ -36,7 +36,7 @@ export default {
|
|
|
checkFile,
|
|
|
AddOpinion
|
|
|
},
|
|
|
- props: ['isEvidence','evidence','reportId','signPatentNo','reportType'],
|
|
|
+ props: ['isEvidence','evidence','reportId','signPatentNo','reportType','EvidenceList'],
|
|
|
data() {
|
|
|
return {
|
|
|
activeName:'patent',
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
showEvidence:this.isEvidence,
|
|
|
type:1,
|
|
|
url:'',
|
|
|
+ evidence1:{},
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -54,6 +55,7 @@ export default {
|
|
|
},
|
|
|
'evidence'(val){
|
|
|
if(!this.fix){
|
|
|
+ this.evidence1 = JSON.parse(JSON.stringify(val))
|
|
|
this.type = val.type
|
|
|
this.showEvidence = true
|
|
|
this.getDetails(val)
|
|
@@ -72,6 +74,31 @@ export default {
|
|
|
// })
|
|
|
},
|
|
|
methods: {
|
|
|
+ //获取证据文献id
|
|
|
+ getEvidenceId(){
|
|
|
+ // var row = this.EvidenceList.find(item=>{
|
|
|
+ // if(!this.fix){
|
|
|
+ // console.log(12)
|
|
|
+ // return item.proofConditions == this.evidence1.proofConditions
|
|
|
+ // }else{
|
|
|
+ // console.log(1)
|
|
|
+ // return item.proofConditions == this.evidence.proofConditions
|
|
|
+ // }
|
|
|
+
|
|
|
+ // })
|
|
|
+ if(!this.fix){
|
|
|
+ var row = this.EvidenceList.find(item=>{
|
|
|
+ return item.proofConditions == this.evidence1.proofConditions
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ var row = this.EvidenceList.find(item=>{
|
|
|
+ return item.proofConditions == this.evidence1.proofConditions
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if(row){
|
|
|
+ return row.id
|
|
|
+ }
|
|
|
+ },
|
|
|
// 划词陈述意见
|
|
|
openOpinioncontrast(val) {
|
|
|
var form = {}
|