Prechádzať zdrojové kódy

非专利文献添加对比记录

zhuliu 1 rok pred
rodič
commit
62427450a6

+ 26 - 2
src/views/project/patentDetails/components/notPatentDetails.vue

@@ -3,7 +3,7 @@
     <el-container>
         <el-header style="height: auto;">
         <div style="width:100%">
-          <div style="display:flex;justify-content: space-between;">
+          <div style="display:flex;justify-content: space-between;padding:0 10px;">
             <div>
               <div style="text-align: start;padding-left: 10px;position: relative;">
                 <img src="@/assets/visual/fixed.png" width="20px" height="20px" v-if="fix === true && value == true" @click="qx" style="" />
@@ -48,7 +48,13 @@ export default {
     },
     reportType:{
         
-    }
+    },
+    projectId:{
+
+    },
+    signPatentNo:{
+
+    },
   },
   data() {
     return {
@@ -94,6 +100,24 @@ export default {
         })
     },
     addContrast(){
+      var a = {}
+        // a.patentNo = currentSelectObj.patentNo//专利号
+        a.signPatentNo = this.signPatentNo//标的专利号
+        a.text = ''//选中的文本
+        a.projectId = this.projectId//项目Id
+        a.column = ''//选中文本所在栏位
+        a.position = ''//选中文本开始位置
+        a.id = null//对比记录Id
+        a.remark = null//备注
+        a.markType = 2//高亮类型
+        a.markColor = '#ff0000'//高亮颜色
+        a.permissionType = 1//高亮权限
+        // a.color = this.currentSelectObj.color
+        a.createFrom = this.outside ? 0 : this.projectType//来源0默认(专利)1专题库2报告
+        a.literatureId = this.evidence ? this.evidence.id : null
+        a.patentTitle=this.evidence.name
+
+        this.$store.commit("SET_PATENT_INDEX", a)
         this.$refs.contrast.open()
     }
   },