mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2025-12-30 09:42:25 +00:00
feat: 租户管理 同步租户参数配置
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
# 1.5.2
|
# 1.5.2
|
||||||
|
|
||||||
对应后端版本 单体/微服务: 5.5.0/2.5.0
|
对应后端版本 单体/微服务: 5.5.1/2.5.1
|
||||||
|
|
||||||
|
该版本后端功能值包含一个`同步租户参数配置`功能 旧版本也能升级(使用)
|
||||||
|
|
||||||
**REFACTOR**
|
**REFACTOR**
|
||||||
|
|
||||||
@@ -9,6 +11,7 @@
|
|||||||
**FEATURES**
|
**FEATURES**
|
||||||
|
|
||||||
- 修改流程变量
|
- 修改流程变量
|
||||||
|
- 租户管理 同步租户参数配置
|
||||||
|
|
||||||
**BUG FIX**
|
**BUG FIX**
|
||||||
|
|
||||||
|
|||||||
@@ -125,3 +125,13 @@ export function dictSyncTenant(tenantId?: string) {
|
|||||||
successMessageMode: 'message',
|
successMessageMode: 'message',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 同步租户配置
|
||||||
|
* @returns void
|
||||||
|
*/
|
||||||
|
export function syncTenantConfig() {
|
||||||
|
return requestClient.get<void>('/system/tenant/syncTenantConfig', {
|
||||||
|
successMessageMode: 'message',
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import { Modal, Popconfirm, Space } from 'ant-design-vue';
|
|||||||
import { useVbenVxeGrid, vxeCheckboxChecked } from '#/adapter/vxe-table';
|
import { useVbenVxeGrid, vxeCheckboxChecked } from '#/adapter/vxe-table';
|
||||||
import {
|
import {
|
||||||
dictSyncTenant,
|
dictSyncTenant,
|
||||||
|
syncTenantConfig,
|
||||||
tenantExport,
|
tenantExport,
|
||||||
tenantList,
|
tenantList,
|
||||||
tenantRemove,
|
tenantRemove,
|
||||||
@@ -144,6 +145,18 @@ function handleSyncTenantDict() {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function handleSyncTenantConfig() {
|
||||||
|
Modal.confirm({
|
||||||
|
title: '提示',
|
||||||
|
iconType: 'warning',
|
||||||
|
content: '确认同步租户参数配置?',
|
||||||
|
onOk: async () => {
|
||||||
|
await syncTenantConfig();
|
||||||
|
await tableApi.query();
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -157,6 +170,12 @@ function handleSyncTenantDict() {
|
|||||||
>
|
>
|
||||||
同步租户字典
|
同步租户字典
|
||||||
</a-button>
|
</a-button>
|
||||||
|
<a-button
|
||||||
|
v-access:code="['system:tenant:edit']"
|
||||||
|
@click="handleSyncTenantConfig"
|
||||||
|
>
|
||||||
|
同步租户参数配置
|
||||||
|
</a-button>
|
||||||
<a-button
|
<a-button
|
||||||
v-access:code="['system:tenant:export']"
|
v-access:code="['system:tenant:export']"
|
||||||
@click="handleDownloadExcel"
|
@click="handleDownloadExcel"
|
||||||
|
|||||||
Reference in New Issue
Block a user