فهرست منبع

修改添加无效理由选择历史特征问题

zhuliu 1 سال پیش
والد
کامیت
2aa929f441

+ 1 - 1
src/views/components/identificationCode/index.vue

@@ -86,7 +86,7 @@ export default {
         window.open(router.href, '_blank')
       } else {//侵权
         var patentNo = this.getPatent(row.projectId,row.id)
-        var router = this.$router.push(
+        var router = this.$router.resolve(
           {
             path: '/patentDetails/' + patentNo,
             query: {

+ 10 - 2
src/views/report/InvalidResponse/components/dialog/addEvidenceReason.vue

@@ -433,8 +433,16 @@ export default {
     },
     //获取特征历史的值
     getFeature(val){
-        this.features = val
-        this.getSpanArr(this.features)
+        if(val && val.length>0){
+            var arr = []
+            val.forEach(item=>{
+                item.ifFeatureHistory = true
+                arr.push(item)
+            })
+            console.log(arr)
+            this.features = arr
+            this.getSpanArr(this.features)
+        }
     },
     //选择历史无效记录
     chooseHistory(row){