From c5f36ed4b20d1108339ddc08790d72e1bb39f8c3 Mon Sep 17 00:00:00 2001
From: liuyu <839621039@qq.com>
Date: Thu, 14 Mar 2024 08:56:49 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E7=AE=A1=E7=90=86=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/role/index.vue | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 12f9f293..1b1e4aa1 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -11,6 +11,14 @@
v-hasPermi="['system:role:create']"
@click="handleCreate()"
/>
+
+
@@ -174,10 +182,11 @@ defineOptions({ name: 'SystemRole' })
const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗
// 列表相关的变量
-const [registerTable, { reload, deleteData }] = useXTable({
+const [registerTable, { reload, deleteData, exportList }] = useXTable({
allSchemas: allSchemas,
getListApi: RoleApi.getRolePageApi,
- deleteApi: RoleApi.deleteRoleApi
+ deleteApi: RoleApi.deleteRoleApi,
+ exportListApi: RoleApi.exportRole
})
// ========== CRUD 相关 ==========