@@ -82,7 +82,7 @@
plain
icon="el-icon-download ws"
size="mini"
- @click="handleAdd"
+ @click="handleExport"
v-hasPermi="['system:zymlexport']"
>导出</el-button
>
@@ -622,6 +622,13 @@ export default {
this.getList();
},
methods: {
+ handleExport() {
+ this.download(
+ "system/zyml/export",
+ {},
+ `zyml_${new Date().getTime()}.xlsx`
+ );
+ },
handleRowOnEnd(evt) {
setTimeout(() => {
// 输出移动后每行的数据及索引