feat: Add TokenRecords finance management system

- Created new finance application based on Vue Vben Admin
- Implemented transaction management, category management, and loan tracking
- Added person management for tracking financial relationships
- Integrated budget management and financial analytics
- Added data import/export functionality
- Implemented responsive design for mobile support
- Added comprehensive testing with Playwright

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
你的用户名
2025-08-06 20:09:48 +08:00
parent b93e22c45a
commit 4b4616de1e
193 changed files with 17756 additions and 16 deletions

42
simple-test.js Normal file
View File

@@ -0,0 +1,42 @@
import { chromium } from 'playwright';
(async () => {
const browser = await chromium.launch({
headless: true,
slowMo: 100
});
const page = await browser.newPage();
try {
console.log('1. 访问系统...');
await page.goto('http://localhost:5667');
await page.waitForTimeout(2000);
console.log('2. 当前URL:', page.url());
// 直接导航到交易页面
console.log('3. 访问交易管理页面...');
await page.goto('http://localhost:5667/finance/transaction');
await page.waitForTimeout(2000);
// 截图
await page.screenshot({ path: 'transaction-page.png', fullPage: true });
console.log('4. 截图已保存为 transaction-page.png');
// 查找新建按钮
const buttons = await page.locator('button').all();
console.log(`5. 找到 ${buttons.length} 个按钮`);
for (const button of buttons) {
const text = await button.textContent();
console.log(` 按钮: ${text}`);
}
} catch (error) {
console.error('错误:', error);
} finally {
await browser.close();
console.log('测试完成');
}
})();