feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,6 +17,12 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
ExternalLink as ActionExternalLink,
|
||||
BarChart3 as ActionBarChart3,
|
||||
Bell as ActionBell,
|
||||
Plus as ActionPlus,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import TableEmpty from '../../components/common/table/TableEmpty';
|
||||
import TableToolbar from '../../components/common/table/TableToolbar';
|
||||
import {
|
||||
@@ -27,7 +33,7 @@ import { ConsolePageActions } from '../../components/console/ConsolePageContaine
|
||||
import React, { useEffect, useState, useCallback, useRef } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { Plus, Search, ExternalLink, BarChart3, Bell } from 'lucide-react';
|
||||
import { Search } from 'lucide-react';
|
||||
import {
|
||||
Table,
|
||||
Button,
|
||||
@@ -689,12 +695,12 @@ const AdminOrganizations = () => {
|
||||
if (isRoot()) {
|
||||
return (
|
||||
<button
|
||||
className='inline-flex items-center gap-1 text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 hover:underline cursor-pointer bg-transparent border-none p-0 font-inherit text-left'
|
||||
className='app-action-button inline-flex items-center gap-1 text-blue-600 dark:text-blue-400 hover:text-blue-700 dark:hover:text-blue-300 hover:underline cursor-pointer bg-transparent border-none p-0 font-inherit text-left'
|
||||
onClick={() => handleEnterOrg(record.id)}
|
||||
title={t('进入企业中心')}
|
||||
>
|
||||
<span className='truncate'>{text}</span>
|
||||
<ExternalLink size={12} className='flex-shrink-0' />
|
||||
<ActionExternalLink size={12} className='flex-shrink-0' />
|
||||
</button>
|
||||
);
|
||||
}
|
||||
@@ -1013,13 +1019,16 @@ const AdminOrganizations = () => {
|
||||
{isAdmin() && (
|
||||
<ConsolePageActions>
|
||||
{CLOUD_BRAIN_UI_ENABLED && (
|
||||
<Button icon={<BarChart3 size={16} />} onClick={openEffectUsage}>
|
||||
<Button
|
||||
icon={<ActionBarChart3 size={16} />}
|
||||
onClick={openEffectUsage}
|
||||
>
|
||||
{t('企业使用统计')}
|
||||
</Button>
|
||||
)}
|
||||
{isRoot() && (
|
||||
<Button
|
||||
icon={<Bell size={16} />}
|
||||
icon={<ActionBell size={16} />}
|
||||
onClick={() => setAlertSettingsVisible(true)}
|
||||
>
|
||||
{t('通知设置')}
|
||||
@@ -1028,7 +1037,7 @@ const AdminOrganizations = () => {
|
||||
<Button
|
||||
className='console-create-action'
|
||||
type='primary'
|
||||
icon={<Plus size={16} />}
|
||||
icon={<ActionPlus size={16} />}
|
||||
onClick={() => {
|
||||
resetCreateForm();
|
||||
setCreateModalVisible(true);
|
||||
|
||||
Reference in New Issue
Block a user