From 34b929d352514573297bb9a6d4e2fa726744aa47 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?=
<15040126243@163.com>
Date: Mon, 26 Aug 2024 17:56:35 +0800
Subject: [PATCH 1/5] =?UTF-8?q?add=20=E5=A2=9E=E5=8A=A0=20=E5=90=8C?=
=?UTF-8?q?=E6=AD=A5=E7=A7=9F=E6=88=B7=E5=AD=97=E5=85=B8=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/system/tenant/index.ts | 8 ++++++++
src/views/system/dict/index.vue | 13 +++++++++++++
2 files changed, 21 insertions(+)
diff --git a/src/api/system/tenant/index.ts b/src/api/system/tenant/index.ts
index 4380dbe1..7b7b93f0 100644
--- a/src/api/system/tenant/index.ts
+++ b/src/api/system/tenant/index.ts
@@ -91,3 +91,11 @@ export function syncTenantPackage(tenantId: string | number, packageId: string |
params: data
});
}
+
+// 同步租户字典
+export function syncTenantDict() {
+ return request({
+ url: '/system/tenant/syncTenantDict',
+ method: 'get',
+ });
+}
diff --git a/src/views/system/dict/index.vue b/src/views/system/dict/index.vue
index d44a04af..4ad70d09 100644
--- a/src/views/system/dict/index.vue
+++ b/src/views/system/dict/index.vue
@@ -49,6 +49,9 @@
刷新缓存
+
+ 同步租户字典
+
@@ -109,11 +112,15 @@