From f4a1cc72d968b1745dd0d57b4faeb4b18b0303da Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: Wed, 27 Nov 2024 10:11:34 +0800
Subject: [PATCH] chore:
https://gitee.com/dapppp/ruoyi-plus-vben5/issues/IB7ANL
---
.../src/views/system/dict/type/index.vue | 67 +++----------------
.../src/views/system/tenant/index.vue | 19 ++++++
2 files changed, 27 insertions(+), 59 deletions(-)
diff --git a/apps/web-antd/src/views/system/dict/type/index.vue b/apps/web-antd/src/views/system/dict/type/index.vue
index db193103..e4cddbec 100644
--- a/apps/web-antd/src/views/system/dict/type/index.vue
+++ b/apps/web-antd/src/views/system/dict/type/index.vue
@@ -1,21 +1,12 @@
@@ -183,19 +139,12 @@ const couldSyncTenantDict = computed(() => {
-
-
-
-
- 更多
-
+
+ 刷新缓存
+
{
return hasAccessByRoles(['superadmin']);
});
+
+function handleSyncTenantDict() {
+ Modal.confirm({
+ title: '提示',
+ iconType: 'warning',
+ content: '确认同步租户字典?',
+ onOk: async () => {
+ await dictSyncTenant();
+ await tableApi.query();
+ },
+ });
+}
@@ -147,6 +160,12 @@ const isSuperAdmin = computed(() => {
+
+ 同步租户字典
+