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