|
@@ -105,7 +105,7 @@
|
|
<el-table-column label="操作" width="220" align="center" sortable>
|
|
<el-table-column label="操作" width="220" align="center" sortable>
|
|
<template slot-scope="scope" v-if="download == 1">
|
|
<template slot-scope="scope" v-if="download == 1">
|
|
<a :href="scope.row.url" :download="scope.row.fileName">
|
|
<a :href="scope.row.url" :download="scope.row.fileName">
|
|
- <el-button size="small" @click="dowloadFile(scope.row.id)">
|
|
|
|
|
|
+ <el-button size="small" @click="dowloadFile(scope.row)">
|
|
下载
|
|
下载
|
|
</el-button>
|
|
</el-button>
|
|
</a>
|
|
</a>
|
|
@@ -910,9 +910,9 @@
|
|
},
|
|
},
|
|
|
|
|
|
//下载
|
|
//下载
|
|
- dowloadFile(id) {
|
|
|
|
|
|
+ dowloadFile(row) {
|
|
this.http.post(this.port.project.dowloadFile, {
|
|
this.http.post(this.port.project.dowloadFile, {
|
|
- id: id
|
|
|
|
|
|
+ id: row.id
|
|
}, res => {
|
|
}, res => {
|
|
this.getOperList();
|
|
this.getOperList();
|
|
}, error => {
|
|
}, error => {
|