feat: 添加图表库依赖和测试路由

- 新增 @antv/g6 和 echarts 依赖以支持图表功能
- 添加 /test 路由用于新页面开发
- 移除 index.vue 中的模拟数据注释
This commit is contained in:
2026-01-29 15:55:25 +08:00
parent 97b072a331
commit 41aa2585f9
4 changed files with 1279 additions and 28 deletions

View File

@@ -15,7 +15,9 @@
"format": "prettier --write --experimental-cli src/"
},
"dependencies": {
"@antv/g6": "^5.0.51",
"@tailwindcss/vite": "^4.1.18",
"echarts": "^6.0.0",
"pinia": "^3.0.4",
"tailwindcss": "^4.1.18",
"vue": "^3.5.26",

1298
247_Contry/pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,6 +7,11 @@ const router = createRouter({
path: '/',
name: 'index',
component: () => import('@/views/index/index.vue'),
},
{
path: '/test',
name: 'test',
component: () => import('@/views/contory/test.vue'),
}
],
})

View File

@@ -35,8 +35,6 @@ const navItems = [
{ id: 'system', label: '系统设置', icon: 'ph-gear' }
];
// --- 业务数据 Mock ---
// 1. 销售阶段 (SOP)
const salesStages = [
{ id: 'connect', name: '1. 浅建联 (加微/破冰)', desc: '初步接触,建立信任,发送欢迎语' },