ruanqi 3 years ago
parent
commit
22c815d346
  1. 18
      src/views/modules/eam/eam_device_list.vue

18
src/views/modules/eam/eam_device_list.vue

@ -111,7 +111,7 @@
:height="secondHeight"
border
v-loading="dataListLoading"
style="width: 95%; ">
style="width: 100%; ">
<!-- <el-table-column
fixed="left"
header-align="center"
@ -132,7 +132,7 @@
:show-overflow-tooltip="item.showOverflowTooltip"
:align="item.align"
:fixed="item.fixed==''?false:item.fixed"
:width="item.columnWidth"
:min-width="item.columnWidth"
:label="item.columnLabel">
<template slot-scope="scope">
<span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span>
@ -140,6 +140,17 @@
style="width: 100px; height: 80px"/></span>
</template>
</el-table-column>
<el-table-column
fixed="right"
header-align="center"
align="center"
width="100"
label="操作">
<template slot-scope="scope">
<a :href="'http://192.168.1.130:80/file/'+scope.row.url" :download="scope.row.fileName">下载</a>
<a @click="downloadFile(scope.row.url)" >下载2</a>
</template>
</el-table-column>
</el-table>
</el-tab-pane>
<!-- 设备备件 -->
@ -3110,6 +3121,9 @@
})
return this.exportList;
},
downloadFile(url){
},
startDownload() {
// this.exportData = this.dataList

Loading…
Cancel
Save