{{ toast.message }}

🔐 授权验证

{{ authError }}

🎉 公事记账簿 👤 {{ currentUser }}

当前公事:{{ currentAffair || '请选择公事' }}
{{ affair.name }}
{{ affair.type }}
没有找到匹配的公事

正在加载数据...

{{ error }}

💰 收礼记录

收礼记录列表 ({{ filteredGifts.length }}条)

{{ gift.giver }} ¥{{ gift.amount }} {{ gift.relationship }} {{ gift.attended || '参加' }} {{ gift.note }}

暂无收礼记录

💸 支出记录

支出记录列表 ({{ filteredExpenses.length }}条)

{{ expense.item }} ¥{{ expense.amount }}
{{ expense.note }}

暂无支出记录

ℹ️ 基本信息

当前公事信息

公事名称:{{ currentAffair }}

公事类型:{{ getCurrentAffairType() }}

{{ networkStatus === 'online' ? '🟢 API连接正常' : networkStatus === 'testing' ? '🟡 正在检测...' : networkStatus === 'unknown' ? '⚪ 未检测' : '🔴 API连接异常' }}
{{ networkStatus === 'online' ? '✅ 服务器响应正常,可以正常使用所有功能' : networkStatus === 'testing' ? '⏳ 正在检测网络连接状态...' : networkStatus === 'unknown' ? 'ℹ️ 页面已就绪,正在检测网络连接...' : '❌ 无法连接到服务器,请检查网络连接' }}
💡 保存说明 {{ showSaveHelp ? '收起' : '展开' }}

• 一键保存所有信息

• 名称修改自动同步

⚠️ 删除需授权码确认

🗂️ 数据管理

📊 导出功能

📥 导入功能

选择JSON文件导入数据
💡 导出说明 {{ showExportHelp ? '收起' : '展开' }}

JSON数据:包含所有公事的完整数据,用于备份和恢复

Excel表格:当前公事的表格格式,包含详细记录和统计数据

Word文档:当前公事的正式报告格式,适合打印和存档

📊 统计信息

💰 收礼总额

¥{{ totalGifts }}

{{ gifts.length }} 笔记录

💸 支出总额

¥{{ totalExpenses }}

{{ expenses.length }} 笔记录

📈 账面余额

¥{{ netIncome }}

{{ netIncome >= 0 ? '结余' : '亏损' }}

参与情况统计
参加
{{ attendanceStats.attended }}
{{ attendanceStats.total > 0 ? Math.round(attendanceStats.attended / attendanceStats.total * 100) : 0 }}%
未参加
{{ attendanceStats.notAttended }}
{{ attendanceStats.total > 0 ? Math.round(attendanceStats.notAttended / attendanceStats.total * 100) : 0 }}%
委托参加
{{ attendanceStats.delegated }}
{{ attendanceStats.total > 0 ? Math.round(attendanceStats.delegated / attendanceStats.total * 100) : 0 }}%

添加新公事

编辑收礼记录

编辑支出记录

导出兼容格式JSON数据

选择要导出的公事,支持多选。导出的数据格式兼容人情往来记账本。