1:用户管理页面优化 2:角色管理页面优化 3:分配角色权限优化

This commit is contained in:
2025-10-11 12:19:34 +08:00
parent 65e2d4b92f
commit 96da469bef
13 changed files with 382 additions and 335 deletions
+9 -9
View File
@@ -281,16 +281,16 @@ const Welcome: React.FC = () => {
// 订单状态:1. 待支付 2. 已取消 3. 支付成功 4. 设备执行中 5. 素材上传中 6. 素材上传完成 7. 用户已下载完成 8. 退款中 9. 退款成功 10. 退款失败
// Tag 颜色使用 antd v4 预设色
const STATUS_OPTIONS: { value: number; label: string; color?: string }[] = [
{ value: 1, label: '待支付', color: 'gold' },
{ value: 2, label: '已取消' },
{ value: 3, label: '支付成功', color: 'green' },
{ value: 4, label: '设备执行中', color: 'blue' },
{ value: 0, label: '待支付' },
{ value: 1, label: '排队中', color: 'gold' },
{ value: 2, label: '已取消', color: 'red'},
{ value: 3, label: '设备执行完成', color: 'green' },
{ value: 4, label: '正在服务中', color: 'blue' },
{ value: 5, label: '素材上传中', color: 'geekblue' },
{ value: 6, label: '素材上传完成', color: 'cyan' },
{ value: 7, label: '用户已下载完成', color: 'purple' },
{ value: 8, label: '退款中', color: 'orange' },
{ value: 9, label: '退款成功', color: 'lime' },
{ value: 10, label: '退款失败', color: 'red' },
{ value: 6, label: '任务完成', color: 'purple' },
{ value: 7, label: '退款中', color: 'orange' },
{ value: 8, label: '退款成功', color: 'lime' },
{ value: 9, label: '退款失败', color: 'red' },
];
const PAY_TYPE_OPTIONS: { value: number; label: string; color?: string }[] = [