diff --git a/ruoyi-ui/src/views/project/checkDetection/checkDetectionDrawer.vue b/ruoyi-ui/src/views/project/checkDetection/checkDetectionDrawer.vue
index 03f1f124..9fc71de2 100644
--- a/ruoyi-ui/src/views/project/checkDetection/checkDetectionDrawer.vue
+++ b/ruoyi-ui/src/views/project/checkDetection/checkDetectionDrawer.vue
@@ -604,7 +604,7 @@ export default {
},
/** 下载附件 */
handleDownload(row) {
- this.files = row.measureFiles.split(",");
+ this.files = row.detectionFile.split(",");
this.files.forEach((item) => {
this.$download.resource(item);
});
diff --git a/ruoyi-ui/src/views/project/checkDetection/index.vue b/ruoyi-ui/src/views/project/checkDetection/index.vue
index afef0b96..e6bc8af9 100644
--- a/ruoyi-ui/src/views/project/checkDetection/index.vue
+++ b/ruoyi-ui/src/views/project/checkDetection/index.vue
@@ -172,7 +172,7 @@
下载检测报告
+ @click="doDown(scope.row)" v-hasPermi="['project:surProjectSpecial:list']">下载检测报告
@@ -481,6 +481,12 @@ export default {
this.getList();
},
methods: {
+ doDown(row){
+ this.files = row.detectionFile.split(",");
+ this.files.forEach((item) => {
+ this.$download.resource(item);
+ });
+ },
fileInput(files) {
let fileUrls = "";
if (files.length > 0) {
@@ -681,14 +687,7 @@ export default {
}
});
});
- },
- /** 下载附件 */
- handleDownload(row) {
- this.files = row.measureFiles.split(",");
- this.files.forEach((item) => {
- this.$download.resource(item);
- });
- },
+ },
/** 审批日志 */
handleAuditinfo(row) {
row.title = "材料取样复试";