From 7bdc84b5844d2a481e2f17cdd2c8204fd4a403ee Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 29 九月 2025 16:48:31 +0800
Subject: [PATCH] 业务管理相关页面添加`批号`查询条件
---
src/views/CNAS/systemManagement/internalAuditManagement/components/ViewTestRecord.vue | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/src/views/CNAS/systemManagement/internalAuditManagement/components/ViewTestRecord.vue b/src/views/CNAS/systemManagement/internalAuditManagement/components/ViewTestRecord.vue
index fac2da1..1e18c9d 100644
--- a/src/views/CNAS/systemManagement/internalAuditManagement/components/ViewTestRecord.vue
+++ b/src/views/CNAS/systemManagement/internalAuditManagement/components/ViewTestRecord.vue
@@ -99,7 +99,6 @@
this.tableLoading = true
getInternalCorrectFileList({ correctId: this.info.correctId }).then(res => {
this.tableLoading = false
- if (res.code === 201) return
this.tableData = res.data
}).catch(err => {
this.tableLoading = false
@@ -116,21 +115,13 @@
},
// 涓嬭浇
upload(row) {
- let url = '';
- if (row.type == 1) {
- url = this.javaApi + '/img/' + row.fileUrl
- this.$download.saveAs(url, row.fileName)
- } else {
- url = this.javaApi + '/word/' + row.fileUrl
- this.$download.saveAs(url, row.fileName)
- }
+ this.$download.saveAs(row.fileUrl, row.fileName)
},
// 鍒犻櫎
delete(row) {
this.tableLoading = true
delInternalCorrectFile({ correctFileId: row.correctFileId }).then(res => {
this.tableLoading = false
- if (res.code === 201) return
this.$message.success('鍒犻櫎鎴愬姛')
this.searchTableList()
}).catch(err => {
--
Gitblit v1.9.3