update code
parent
378d7b7e74
commit
717f630524
|
@ -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);
|
||||
});
|
||||
|
|
|
@ -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) {
|
||||
|
@ -682,13 +688,6 @@ export default {
|
|||
});
|
||||
});
|
||||
},
|
||||
/** 下载附件 */
|
||||
handleDownload(row) {
|
||||
this.files = row.measureFiles.split(",");
|
||||
this.files.forEach((item) => {
|
||||
this.$download.resource(item);
|
||||
});
|
||||
},
|
||||
/** 审批日志 */
|
||||
handleAuditinfo(row) {
|
||||
row.title = "材料取样复试";
|
||||
|
|
Loading…
Reference in New Issue