Browse Source

遗漏的健康报告跳转

mw_666 3 years ago
parent
commit
003d4158ef
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/HealthControl/Health10.vue

+ 4 - 2
src/views/HealthControl/Health10.vue

@@ -92,7 +92,8 @@
     </div>
     <HealthReport
       :show="healthReportShow"
-      :params="{ wtId: this.wtId, recorddate: this.recorddate }"
+      :params="reportparams"
+	  ref="eport"
       @closed="
         (res) => {
           this.healthReportShow = false;
@@ -167,8 +168,9 @@ export default {
               return "<div style='border: 1px solid #182238;background: #303f6e;width: 70%;margin: 0 auto;color:#FFF;cursor: pointer;'>查看报告</div>";
             },
             click(e, row) {
-              that.recorddate = row.date;
+              // that.recorddate = row.date;
               that.healthReportShow = true;
+			  that.$refs.eport.getReport(that.wtId,row.date);
             },
           },
         ],