no message
Former-commit-id: e90e0bcd2753758022b82eb377b3bebe3dfe1aaa Former-commit-id: 7a80c223ef003a5fe6de230609c2e3526d36292c Former-commit-id: 896d21ce1bbc6e41d9abd70b32d9608161f1d48c
This commit is contained in:
@@ -9,6 +9,10 @@
|
||||
<Icon name="download"></Icon>
|
||||
导出CSV
|
||||
</el-button>
|
||||
<el-button @click="exportExcel">
|
||||
<Icon name="download"></Icon>
|
||||
导出Excel
|
||||
</el-button>
|
||||
</div>
|
||||
<el-table v-bind="table" style="width: 100%" class="dd-mb">
|
||||
<el-table-column
|
||||
@@ -43,6 +47,9 @@ export default {
|
||||
columns: this.table.columns,
|
||||
data: this.table.data
|
||||
})
|
||||
},
|
||||
exportExcel () {
|
||||
this.$export.excel()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user