update code
parent
378d7b7e74
commit
717f630524
|
@ -604,7 +604,7 @@ export default {
|
||||||
},
|
},
|
||||||
/** 下载附件 */
|
/** 下载附件 */
|
||||||
handleDownload(row) {
|
handleDownload(row) {
|
||||||
this.files = row.measureFiles.split(",");
|
this.files = row.detectionFile.split(",");
|
||||||
this.files.forEach((item) => {
|
this.files.forEach((item) => {
|
||||||
this.$download.resource(item);
|
this.$download.resource(item);
|
||||||
});
|
});
|
||||||
|
|
|
@ -172,7 +172,7 @@
|
||||||
<el-table-column label="检测报告" align="center" prop="updateTime" width="80">
|
<el-table-column label="检测报告" align="center" prop="updateTime" width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button v-if="scope.row.checkState == '2'" size="mini" type="text" icon="el-icon-paperclip"
|
<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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width" width="200">
|
<el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width" width="200">
|
||||||
|
@ -481,6 +481,12 @@ export default {
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
doDown(row){
|
||||||
|
this.files = row.detectionFile.split(",");
|
||||||
|
this.files.forEach((item) => {
|
||||||
|
this.$download.resource(item);
|
||||||
|
});
|
||||||
|
},
|
||||||
fileInput(files) {
|
fileInput(files) {
|
||||||
let fileUrls = "";
|
let fileUrls = "";
|
||||||
if (files.length > 0) {
|
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) {
|
handleAuditinfo(row) {
|
||||||
row.title = "材料取样复试";
|
row.title = "材料取样复试";
|
||||||
|
|
Loading…
Reference in New Issue