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