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

检查管理-导出

parent 97533e2f
......@@ -75,6 +75,7 @@
class="fourWordsBtn"
icon="el-icon-delete"
size="mini"
@click="handleExport()"
>批量导出</el-button>
<el-button
class="fourWordsBtn"
......@@ -616,9 +617,19 @@ export default {
},
/** 导出按钮操作 */
handleExport() {
this.download('business/manage/export', {
...this.queryParams
}, `manage_${new Date().getTime()}.xlsx`)
// this.download('business/manage/export', {
// ...this.queryParams
// }, `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