素材批量上传功能
This commit is contained in:
@@ -3,7 +3,7 @@ import {
|
||||
Button, Card, Space, Table, Tag, Typography, message, Modal, Form, Input, Select, InputNumber,
|
||||
} from 'antd';
|
||||
import {
|
||||
HistoryOutlined, ReloadOutlined, PlusOutlined, EyeOutlined, EditOutlined, DeleteOutlined,
|
||||
MenuOutlined, ReloadOutlined, PlusOutlined, EyeOutlined, EditOutlined, DeleteOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import { getOauthAppList, createOauthApp, getOauthApp, updateOauthApp, deleteOauthApp } from '../api';
|
||||
import { formatDate } from '../utils/formatDate';
|
||||
@@ -41,7 +41,7 @@ const AdminOauthAppList: React.FC = () => {
|
||||
setApps(res.items || []);
|
||||
setTotal(res.total || 0);
|
||||
} catch {
|
||||
message.error('加载授权应用列表失败');
|
||||
message.error('加载应用管理列表失败');
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
@@ -119,7 +119,7 @@ const AdminOauthAppList: React.FC = () => {
|
||||
const handleDelete = (id: string) => {
|
||||
Modal.confirm({
|
||||
title: '确认删除',
|
||||
content: '确定要删除这个授权应用吗?',
|
||||
content: '确定要删除这个应用管理吗?',
|
||||
okText: '删除',
|
||||
okType: 'danger',
|
||||
cancelText: '取消',
|
||||
@@ -206,8 +206,8 @@ const AdminOauthAppList: React.FC = () => {
|
||||
<Card variant="outlined" style={{ borderRadius: 12, border: '1px solid #f0f0f5' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: 16 }}>
|
||||
<Space>
|
||||
<HistoryOutlined style={{ fontSize: 18, color: '#6366f1' }} />
|
||||
<Typography.Text strong style={{ fontSize: 16 }}>授权应用列表</Typography.Text>
|
||||
<MenuOutlined style={{ fontSize: 18, color: '#6366f1' }} />
|
||||
<Typography.Text strong style={{ fontSize: 16 }}>应用管理列表</Typography.Text>
|
||||
</Space>
|
||||
<Space>
|
||||
<Button icon={<ReloadOutlined />} onClick={() => load()}>刷新</Button>
|
||||
@@ -231,7 +231,7 @@ const AdminOauthAppList: React.FC = () => {
|
||||
</Card>
|
||||
|
||||
<Modal
|
||||
title="创建授权应用"
|
||||
title="创建应用管理"
|
||||
open={createModalVisible}
|
||||
onOk={handleCreate}
|
||||
onCancel={() => {
|
||||
@@ -299,7 +299,7 @@ const AdminOauthAppList: React.FC = () => {
|
||||
</Modal>
|
||||
|
||||
<Modal
|
||||
title="授权应用详情"
|
||||
title="应用管理详情"
|
||||
open={detailModalVisible}
|
||||
onCancel={() => {
|
||||
setDetailModalVisible(false);
|
||||
@@ -333,7 +333,7 @@ const AdminOauthAppList: React.FC = () => {
|
||||
</Modal>
|
||||
|
||||
<Modal
|
||||
title="更新授权应用"
|
||||
title="更新应用管理"
|
||||
open={updateModalVisible}
|
||||
onOk={handleSaveUpdate}
|
||||
onCancel={() => {
|
||||
|
||||
Reference in New Issue
Block a user