From 29357b29ab363dae9d9688da1b580479bd7334a7 Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期二, 24 六月 2025 09:52:00 +0800 Subject: [PATCH] 化验师QA换真实上传 --- laboratory/src/views/chemistQa/projectTesting/add.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/laboratory/src/views/chemistQa/projectTesting/add.vue b/laboratory/src/views/chemistQa/projectTesting/add.vue index a352960..b3209f9 100644 --- a/laboratory/src/views/chemistQa/projectTesting/add.vue +++ b/laboratory/src/views/chemistQa/projectTesting/add.vue @@ -177,7 +177,8 @@ }] } if(res.qaTestItemReportList.length > 0){ - this.reportTableData = res.qaTestItemReportList + this.allReportTableData = res.qaTestItemReportList + this.reportTableData = res.qaTestItemReportList.filter(item => item.status != '-1') } } else { this.$message.error(res.msg || '获取详情失败') @@ -249,7 +250,7 @@ }, handleTypeChange(type) { this.currentType = type; - this.getReportList(); + this.getReportList(type); }, handleReportRowClick(row, column, event) { if (column.label === '操作') return @@ -269,9 +270,15 @@ } }) }, - getReportList() { + getReportList(type) { // 获取报告列表数据 // TODO: 调用接口获取数据 + if(type=='list'){ + this.reportTableData = this.allReportTableData.filter(item => item.status != '-1'); + }else{ + this.reportTableData = this.allReportTableData.filter(item => item.status == '-1'); + } + }, handleRevokeApproval(row) { this.currentRow = row; -- Gitblit v1.7.1