fix(系统设置): 修改授权管理文案问题

This commit is contained in:
xinxin.wu 2024-08-15 13:52:24 +08:00 committed by 刘瑞斌
parent 8fb6230632
commit 2b1e078f49
7 changed files with 12 additions and 8 deletions

View File

@ -313,7 +313,7 @@ export const pathMap: PathMapItem[] = [
}, },
{ {
key: 'SETTING_SYSTEM_AUTHORIZED_MANAGEMENT', // 系统设置-系统-授权管理 key: 'SETTING_SYSTEM_AUTHORIZED_MANAGEMENT', // 系统设置-系统-授权管理
locale: 'menu.settings.system.authorizedManagement', locale: 'License',
route: RouteEnum.SETTING_SYSTEM_AUTHORIZED_MANAGEMENT, route: RouteEnum.SETTING_SYSTEM_AUTHORIZED_MANAGEMENT,
permission: [], permission: [],
level: MENU_LEVEL[0], level: MENU_LEVEL[0],

View File

@ -162,7 +162,7 @@ const Setting: AppRouteRecordRaw = {
name: SettingRouteEnum.SETTING_SYSTEM_AUTHORIZED_MANAGEMENT, name: SettingRouteEnum.SETTING_SYSTEM_AUTHORIZED_MANAGEMENT,
component: () => import('@/views/setting/system/authorizedManagement/index.vue'), component: () => import('@/views/setting/system/authorizedManagement/index.vue'),
meta: { meta: {
locale: 'menu.settings.system.authorizedManagement', locale: 'License',
roles: ['SYSTEM_AUTH:READ'], roles: ['SYSTEM_AUTH:READ'],
isTopMenu: true, isTopMenu: true,
}, },

View File

@ -222,6 +222,7 @@
slotName: 'userRoleIdNameMap', slotName: 'userRoleIdNameMap',
dataIndex: 'userRoleIdNameMap', dataIndex: 'userRoleIdNameMap',
showInTable: true, showInTable: true,
isTag: true,
showDrag: true, showDrag: true,
width: 300, width: 300,
}, },

View File

@ -61,7 +61,7 @@
</li> </li>
<li> <li>
<MsButton v-permission="['SYSTEM_AUTH:READ+UPDATE']" class="font-medium" @click="authChecking"> <MsButton v-permission="['SYSTEM_AUTH:READ+UPDATE']" class="font-medium" @click="authChecking">
{{ t('system.authorized.authorityChecking') }} {{ t('system.authorized.authorityUpdate') }}
</MsButton> </MsButton>
</li> </li>
</ul> </ul>
@ -71,7 +71,7 @@
<MsDrawer <MsDrawer
v-model:visible="authDrawer" v-model:visible="authDrawer"
:title="t('system.authorized.authorityChecking')" :title="t('system.authorized.authorityChecking')"
:ok-text="t('system.authorized.authorization')" :ok-text="t('common.update')"
:ok-loading="drawerLoading" :ok-loading="drawerLoading"
:width="680" :width="680"
@confirm="confirmHandler" @confirm="confirmHandler"

View File

@ -1,12 +1,13 @@
export default { export default {
'system.authorized.customerName': 'Customer Name', 'system.authorized.customerName': 'Customer Name',
'system.authorized.authorizationTime': 'Authorization time', 'system.authorized.authorizationTime': 'Expiration date',
'system.authorized.productName': 'Product Name', 'system.authorized.productName': 'Product Name',
'system.authorized.productionVersion': 'Production Version', 'system.authorized.productionVersion': 'Production Version',
'system.authorized.authorizedVersion': 'The authorized version', 'system.authorized.authorizedVersion': 'Version',
'system.authorized.authorizationsCount': 'Number of authorizations', 'system.authorized.authorizationsCount': 'Number of authorizations',
'system.authorized.authorizationStatus': 'Authorization status', 'system.authorized.authorizationStatus': 'Authorization status',
'system.authorized.authorityChecking': 'Import License', 'system.authorized.authorityChecking': 'Import License',
'system.authorized.authorityUpdate': 'Update License',
'system.authorized.valid': 'valid', 'system.authorized.valid': 'valid',
'system.authorized.invalid': 'invalid', 'system.authorized.invalid': 'invalid',
'system.authorized.failure': 'failure', 'system.authorized.failure': 'failure',

View File

@ -1,12 +1,13 @@
export default { export default {
'system.authorized.customerName': '客户名称', 'system.authorized.customerName': '客户名称',
'system.authorized.authorizationTime': '授权时间', 'system.authorized.authorizationTime': '过期时间',
'system.authorized.productName': '产品名称', 'system.authorized.productName': '产品名称',
'system.authorized.productionVersion': '产品版本', 'system.authorized.productionVersion': '产品版本',
'system.authorized.authorizedVersion': '授权版本', 'system.authorized.authorizedVersion': '版本',
'system.authorized.authorizationsCount': '授权数量', 'system.authorized.authorizationsCount': '授权数量',
'system.authorized.authorizationStatus': '授权状态', 'system.authorized.authorizationStatus': '授权状态',
'system.authorized.authorityChecking': '导入License', 'system.authorized.authorityChecking': '导入License',
'system.authorized.authorityUpdate': '更新License',
'system.authorized.valid': '有效', 'system.authorized.valid': '有效',
'system.authorized.invalid': '无效', 'system.authorized.invalid': '无效',
'system.authorized.failure': '失败', 'system.authorized.failure': '失败',

View File

@ -377,6 +377,7 @@
title: 'system.user.tableColumnUserGroup', title: 'system.user.tableColumnUserGroup',
dataIndex: 'userRoleList', dataIndex: 'userRoleList',
slotName: 'userGroup', slotName: 'userGroup',
isTag: true,
showDrag: true, showDrag: true,
width: 300, width: 300,
}, },