|
@@ -113,6 +113,8 @@ export default {
|
|
this.visible = true
|
|
this.visible = true
|
|
},
|
|
},
|
|
close(){
|
|
close(){
|
|
|
|
+ this.checkData = []
|
|
|
|
+ this.checkFeatures = []
|
|
this.visible = false
|
|
this.visible = false
|
|
},
|
|
},
|
|
getFeature(){
|
|
getFeature(){
|
|
@@ -136,8 +138,11 @@ export default {
|
|
FeaturesItem.pProjectId = RightVosItem.projectId
|
|
FeaturesItem.pProjectId = RightVosItem.projectId
|
|
FeaturesItem.pType = RightVosItem.type
|
|
FeaturesItem.pType = RightVosItem.type
|
|
FeaturesItem.pSort = RightVosItem.sort
|
|
FeaturesItem.pSort = RightVosItem.sort
|
|
-
|
|
|
|
- FeaturesItem.conclusion = ''
|
|
|
|
|
|
+
|
|
|
|
+ var d = this.checkData.find(item=>{
|
|
|
|
+ return item.featureId == FeaturesItem.id
|
|
|
|
+ })
|
|
|
|
+ FeaturesItem.conclusion = d?d.conclusion:''
|
|
|
|
|
|
this.hasOwn(FeaturesItem)
|
|
this.hasOwn(FeaturesItem)
|
|
data.push(FeaturesItem)
|
|
data.push(FeaturesItem)
|
|
@@ -157,7 +162,7 @@ export default {
|
|
},
|
|
},
|
|
getData(){
|
|
getData(){
|
|
var mark = this.contextMenu.mark
|
|
var mark = this.contextMenu.mark
|
|
- this.patentNo = mark.patentNo
|
|
|
|
|
|
+ this.patentNo = mark.signPatentNo
|
|
if(this.projectId){
|
|
if(this.projectId){
|
|
if(this.projectId != mark.projectId){
|
|
if(this.projectId != mark.projectId){
|
|
this.projectId = mark.projectId
|
|
this.projectId = mark.projectId
|
|
@@ -167,16 +172,38 @@ export default {
|
|
this.projectId = mark.projectId
|
|
this.projectId = mark.projectId
|
|
this.getFeature()
|
|
this.getFeature()
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ if(mark.assoFeatureList){
|
|
|
|
+ this.checkData = mark.assoFeatureList
|
|
|
|
+
|
|
|
|
+ this.checkFeatures = mark.assoFeatureList.map(item=>item.featureId)
|
|
|
|
+ if(this.features.length>0){
|
|
|
|
+ this.checkData.forEach(item=>{
|
|
|
|
+ var d = this.features.find(i=>{
|
|
|
|
+ return i.featureId == item.featureId
|
|
|
|
+ })
|
|
|
|
+ if(d){
|
|
|
|
+ d.conclusion = item.conclusion
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }else{
|
|
|
|
+ this.checkData = []
|
|
|
|
+ this.checkFeatures = []
|
|
|
|
+ }
|
|
this.form = {
|
|
this.form = {
|
|
literatureId:mark.literatureId,
|
|
literatureId:mark.literatureId,
|
|
- fieldName:mark.scratchField,
|
|
|
|
|
|
+ fieldName:mark.column,
|
|
position:mark.position,
|
|
position:mark.position,
|
|
- markType:mark.scratchType,
|
|
|
|
- markColor:mark.color,
|
|
|
|
|
|
+ markType:mark.markType,
|
|
|
|
+ markColor:mark.markColor,
|
|
evidenceText:mark.text,
|
|
evidenceText:mark.text,
|
|
- id:mark.id
|
|
|
|
|
|
+ id:mark.id,
|
|
|
|
+ common:mark.common,
|
|
|
|
+ fileGuid:mark.fileGuid
|
|
}
|
|
}
|
|
|
|
+ this.form.patentNo = this.patentNo
|
|
|
|
+ this.form.projectId = this.projectId
|
|
},
|
|
},
|
|
submit(){
|
|
submit(){
|
|
this.$refs.splitPage.getCheckList()
|
|
this.$refs.splitPage.getCheckList()
|
|
@@ -220,7 +247,7 @@ export default {
|
|
contrastList.push(this.form)
|
|
contrastList.push(this.form)
|
|
}
|
|
}
|
|
this.$message.success(message)
|
|
this.$message.success(message)
|
|
- this.$store.commit("SET_CONTEXT_MENU",contrastList)
|
|
|
|
|
|
+ this.$store.commit("SET_PATENT_CONTRAST",contrastList)
|
|
},
|
|
},
|
|
//文件上传
|
|
//文件上传
|
|
change(file,fileList){
|
|
change(file,fileList){
|