update code

dev_xds
haha 2024-05-14 00:48:13 +08:00
parent 378d7b7e74
commit 717f630524
2 changed files with 9 additions and 10 deletions

View File

@ -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);
});

View File

@ -172,7 +172,7 @@
<el-table-column label="检测报告" align="center" prop="updateTime" width="80">
<template slot-scope="scope">
<el-button v-if="scope.row.checkState == '2'" size="mini" type="text" icon="el-icon-paperclip"
@click="handledownload(scope.row)" v-hasPermi="['project:surProjectSpecial:list']">下载检测报告</el-button>
@click="doDown(scope.row)" v-hasPermi="['project:surProjectSpecial:list']">下载检测报告</el-button>
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width" width="200">
@ -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 = "材料取样复试";