Browse Source

协同任务头部报告名称修改

zhuhao 2 năm trước cách đây
mục cha
commit
f6160043fd
1 tập tin đã thay đổi với 15 bổ sung11 xóa
  1. 15 11
      RMS-FrontEnd/src/views/task/MyHandle.vue

+ 15 - 11
RMS-FrontEnd/src/views/task/MyHandle.vue

@@ -405,15 +405,18 @@
         this.$api.reTaskPatents(queryParams).then(res => {
           //console.log(res);
           if (res.code == 200) {
-            var b = {
-                taskId:row.id,
-                type:row.type,
-                reportId:row.reportId,
-                patentNo:res.data.records[0].patentNo,
-                reportType : row.reportType,
-                reportStatus:""
-            }
-            this.$s.setSession('params',b)
+            // var b = {
+            //     taskId:row.id,
+            //     type:row.type,
+            //     reportId:row.reportId,
+            //     patentNo:res.data.records[0].patentNo,
+            //     reportType : row.reportType,
+            //     reportStatus:""
+            // }
+            // this.$s.setSession('params', b)
+            row.patentNo = res.data.records[0].patentNo
+            row.taskId = row.id
+            this.$s.setSession('params',row)
             var a = this.$router.resolve({
               path: '/FTOContrast/' + res.data.records[0].id,
               query: {
@@ -426,7 +429,6 @@
         })
          
       } else {
-		this.$s.setSession('params', row)
         var a = this.$router.resolve({
           path: '/Incomplete',
           query: {
@@ -434,12 +436,14 @@
             reportId:row.reportId,
             type:row.type,
             reportType:row.reportType,
-            signPatentNo:row.signPatentNo,
+            signPatentNo: row.signPatentNo,
+            reportName:row.reportName,
             // coordination: this.coordination
           }
           // path: '/Incomplete'+`taskId=470&reportId=350&type=3&reportType=${}`,
           // path: '/customer_review',
         })
+        this.$s.setSession('params', row)
         window.open(a.href, "_blank")
       }
     },