From d2f5b3ed75affb7df1a00cbee27f5da69a92c4d2 Mon Sep 17 00:00:00 2001 From: zzl <961867786@qq.com> Date: Wed, 3 Sep 2025 16:01:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E6=94=BF=E5=8C=BA=E5=88=92=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/dept/index.vue | 9 +++++++++ 1 file changed, 9 insertions(+) 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 = "行政区划导入"