feat: 合并代码后 系统设置 ui样式优化、bug修复、全局统一图标对齐等
This commit is contained in:
@@ -17,6 +17,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import {
|
||||
Eye as ActionEye,
|
||||
Check as ActionCheck,
|
||||
X as ActionX,
|
||||
Ban as ActionBan,
|
||||
RotateCw as ActionRotateCw,
|
||||
} from '@/components/common/icons/ActionIcons';
|
||||
import {
|
||||
ConsoleCard,
|
||||
ConsoleSearchBar,
|
||||
@@ -35,7 +42,7 @@ import {
|
||||
Spin,
|
||||
Typography,
|
||||
} from '@/components/ui';
|
||||
import { Search, Eye, Check, X, RotateCw, Ban } from 'lucide-react';
|
||||
import { Search } from 'lucide-react';
|
||||
import { API, showError, showSuccess } from '../../helpers';
|
||||
import {
|
||||
INVOICE_STATUS,
|
||||
@@ -298,7 +305,7 @@ const AdminInvoice = () => {
|
||||
<Button
|
||||
size='small'
|
||||
theme='borderless'
|
||||
icon={<Eye size={14} />}
|
||||
icon={<ActionEye size={14} />}
|
||||
onClick={() => handleViewDetail(record.id)}
|
||||
/>
|
||||
{record.status === INVOICE_STATUS.PENDING && (
|
||||
@@ -307,7 +314,7 @@ const AdminInvoice = () => {
|
||||
size='small'
|
||||
theme='borderless'
|
||||
type='primary'
|
||||
icon={<Check size={14} />}
|
||||
icon={<ActionCheck size={14} />}
|
||||
onClick={() => {
|
||||
setApproveId(record.id);
|
||||
setApproveVisible(true);
|
||||
@@ -319,7 +326,7 @@ const AdminInvoice = () => {
|
||||
size='small'
|
||||
theme='borderless'
|
||||
type='danger'
|
||||
icon={<X size={14} />}
|
||||
icon={<ActionX size={14} />}
|
||||
onClick={() => {
|
||||
setRejectId(record.id);
|
||||
setRejectVisible(true);
|
||||
@@ -335,7 +342,7 @@ const AdminInvoice = () => {
|
||||
size='small'
|
||||
theme='borderless'
|
||||
type='danger'
|
||||
icon={<Ban size={14} />}
|
||||
icon={<ActionBan size={14} />}
|
||||
onClick={() => handleFailCancel(record.id)}
|
||||
>
|
||||
{t('取消')}
|
||||
@@ -346,7 +353,7 @@ const AdminInvoice = () => {
|
||||
<Button
|
||||
size='small'
|
||||
theme='borderless'
|
||||
icon={<RotateCw size={14} />}
|
||||
icon={<ActionRotateCw size={14} />}
|
||||
onClick={() => handleRetry(record.id)}
|
||||
>
|
||||
{t('重试')}
|
||||
@@ -355,7 +362,7 @@ const AdminInvoice = () => {
|
||||
size='small'
|
||||
theme='borderless'
|
||||
type='danger'
|
||||
icon={<Ban size={14} />}
|
||||
icon={<ActionBan size={14} />}
|
||||
onClick={() => handleFailCancel(record.id)}
|
||||
>
|
||||
{t('取消')}
|
||||
|
||||
Reference in New Issue
Block a user