Commit 2d93723b authored by 盖献康's avatar 盖献康

检查管理-导出

parent 97533e2f
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
class="fourWordsBtn" class="fourWordsBtn"
icon="el-icon-delete" icon="el-icon-delete"
size="mini" size="mini"
@click="handleExport()"
>批量导出</el-button> >批量导出</el-button>
<el-button <el-button
class="fourWordsBtn" class="fourWordsBtn"
...@@ -616,9 +617,19 @@ export default { ...@@ -616,9 +617,19 @@ export default {
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download('business/manage/export', { // this.download('business/manage/export', {
...this.queryParams // ...this.queryParams
}, `manage_${new Date().getTime()}.xlsx`) // }, `manage_${new Date().getTime()}.xlsx`)
if (this.ids.length !== 0) {
const exportTable = {}
exportTable.treatIds = this.ids
this.download('business/check/export', exportTable, `manage_${new Date().getTime()}.xlsx`).then(res => {
this.$refs.table.clearSelection()
})
} else {
this.$modal.msgError('请选择至少一条数据导出')
return
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment