工作组
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div style="min-width: 1100px">
|
||||
<div class="main-box">
|
||||
<a-card :bordered="false">
|
||||
<!--查询区域begin-->
|
||||
<div class="table-page-search-wrapper">
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<!-- 操作按钮区域-->
|
||||
<div class="table-operator">
|
||||
<a-button type="primary" @click="batchDistribute">批量下载</a-button>
|
||||
<a-button type="primary" @click="batchDownloadFile">批量下载</a-button>
|
||||
</div>
|
||||
<!-- 操作按钮区域-end-->
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
</template>
|
||||
|
||||
<span slot="action" class="action-span-cell" slot-scope="text, record" >
|
||||
<a @click="handleDistribute(record.id)">批量下载</a>
|
||||
<a @click="downloadFile(record)">下载</a>
|
||||
</span>
|
||||
</a-table>
|
||||
</div>
|
||||
@@ -62,6 +62,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
||||
import { downloadFile } from '@api/manage'
|
||||
|
||||
export default {
|
||||
name: 'DataDownload',
|
||||
@@ -115,7 +116,15 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {}
|
||||
methods: {
|
||||
downloadFile(record) {
|
||||
console.log(record.fileId, record.fileName)
|
||||
downloadFile(`sys/common/download/${record.fileId}`, record.fileName)
|
||||
},
|
||||
batchDownloadFile() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="less">
|
||||
|
||||
Reference in New Issue
Block a user