refactor(系统设置): 扫码登陆权限以及加数据
This commit is contained in:
parent
76601cf43c
commit
fca0a98267
|
@ -20,6 +20,7 @@ const Setting: AppRouteRecordRaw = {
|
|||
'SYSTEM_PARAMETER_SETTING_DISPLAY:READ',
|
||||
'SYSTEM_PARAMETER_SETTING_AUTH:READ',
|
||||
'SYSTEM_PARAMETER_SETTING_MEMORY_CLEAN:READ',
|
||||
'SYSTEM_PARAMETER_SETTING_QRCODE:READ',
|
||||
'SYSTEM_TEST_RESOURCE_POOL:READ',
|
||||
'SYSTEM_AUTH:READ',
|
||||
'SYSTEM_PLUGIN:READ',
|
||||
|
@ -48,6 +49,7 @@ const Setting: AppRouteRecordRaw = {
|
|||
'SYSTEM_PARAMETER_SETTING_DISPLAY:READ',
|
||||
'SYSTEM_PARAMETER_SETTING_AUTH:READ',
|
||||
'SYSTEM_PARAMETER_SETTING_MEMORY_CLEAN:READ',
|
||||
'SYSTEM_PARAMETER_SETTING_QRCODE:READ',
|
||||
'SYSTEM_TEST_RESOURCE_POOL:READ',
|
||||
'SYSTEM_AUTH:READ',
|
||||
'SYSTEM_PLUGIN:READ',
|
||||
|
@ -98,6 +100,7 @@ const Setting: AppRouteRecordRaw = {
|
|||
'SYSTEM_PARAMETER_SETTING_DISPLAY:READ',
|
||||
'SYSTEM_PARAMETER_SETTING_AUTH:READ',
|
||||
'SYSTEM_PARAMETER_SETTING_MEMORY_CLEAN:READ',
|
||||
'SYSTEM_PARAMETER_SETTING_QRCODE:READ',
|
||||
],
|
||||
isTopMenu: true,
|
||||
},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<a-radio-group v-model:active-key="activeName" type="button" class="tabPlatform" @change="handleClick">
|
||||
<a-radio v-for="item of orgOptions" :key="item.value" :value="item.value" :v-show="item.label">
|
||||
{{ t('project.messageManagement' + item.value) }}
|
||||
{{ t('project.messageManagement.' + item.value) }}
|
||||
</a-radio>
|
||||
<!-- <a-tab-pane key="lark" :title="t('project.messageManagement.LARK')"></a-tab-pane>
|
||||
<a-tab-pane key="larksuite" :title="t('project.messageManagement.LARK_SUITE')"></a-tab-pane>-->
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
state: 'fit2cloud-wecom-qr',
|
||||
redirect_type: WWLoginRedirectType.callback,
|
||||
panel_size: WWLoginPanelSizeType.small,
|
||||
scope: 'snsapi_privateinfo',
|
||||
},
|
||||
onCheckWeComLogin: obj.value,
|
||||
async onLoginSuccess({ code }: any) {
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
{
|
||||
key: 'qrCodeConfig',
|
||||
title: t('system.config.qrCodeConfig'),
|
||||
permission: ['SYSTEM_PARAMETER_SETTING_DISPLAY:READ'],
|
||||
permission: ['SYSTEM_PARAMETER_SETTING_QRCODE:READ'],
|
||||
},
|
||||
{ key: 'authConfig', title: t('system.config.authConfig'), permission: ['SYSTEM_PARAMETER_SETTING_AUTH:READ'] },
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue