src/views/experiment/checkTheReport/index.vue
@@ -177,18 +177,20 @@ TestReport }, methods: { async queryReportByRCode(code) { async queryReportByRCode(code,name) { const resp = await getReportData({ code: code }); this.reportData = resp.data; this.reportData.preparerName = name; this.dialogVisible = true; console.log(this.reportData); }, //查看报告按钮 previewFun(row) { this.reportType = row.type; this.queryReportByRCode(row.reportCode); this.queryReportByRCode(row.reportCode,row.name); }, handleSelectionChange(selection) { this.selectedRows = selection;