iloom-flatten/.microcompact/mpoz0xpj/functions.Edit:2.txt

25 lines
1.8 KiB
Plaintext

The file /home/project/src/pages/washing/Dashboard.tsx has been updated. Made 1 replacement.
Here's the result of running `cat -n` on a snippet of the edited file:
19→ processing: { label: '处理中', color: 'text-purple-600', bgColor: 'bg-purple-50', icon: TrendingUp },
20→ completed: { label: '已完成', color: 'text-emerald-600', bgColor: 'bg-emerald-50', icon: Package }
21→};
22→
23→const getQuickActions = (isMaster: boolean) => {
24→ const actions = [
25→ { id: 'plans', icon: FileText, label: '计划总览', path: '/washing/plans', gradient: 'from-violet-400 to-fuchsia-400', description: '查看所有计划' },
26→ { id: 'pending', icon: Package, label: '待处理坯布', path: '/washing/pending', gradient: 'from-amber-500 to-orange-500', description: '处理待水洗坯布' },
27→ { id: 'completed', icon: CheckCircle, label: '已完成坯布', path: '/washing/completed', gradient: 'from-emerald-500 to-green-500', description: '查看已完成水洗' },
28→ { id: 'finished', icon: Warehouse, label: '成品仓库', path: '/washing/finished-warehouse', gradient: 'from-violet-400 to-fuchsia-400', description: '管理成品库存' },
29→ { id: 'payment', icon: CreditCard, label: '待结款', path: '/washing/payments', gradient: 'from-rose-500 to-pink-500', description: '查看待结款项' }
30→ ];
31→ if (isMaster) {
32→ actions.push({ id: 'members', icon: Users, label: '账号管理', path: '/members', gradient: 'from-fuchsia-400 to-purple-400', description: '管理团队账号' });
33→ }
34→ return actions;
35→};
36→
37→const containerVariants = {
38→ hidden: { opacity: 0 },
39→ visible: { opacity: 1, transition: { staggerChildren: 0.1 } }
40→};