diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 4a7a91e..11ce23f 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -28,6 +28,9 @@ 导入 + + 导出 + 更新坐标 @@ -389,6 +392,12 @@ export default { this.$modal.msgSuccess("删除成功") }).catch(() => {}) }, + /** 导出按钮操作 */ + handleExport() { + this.download('system/dept/export', { + ...this.queryParams + }, `行政区划_${new Date().getTime()}.xlsx`) + }, /* 导入EXCEL组件 */ handleImport() { this.upload.title = "行政区划导入"