feat: 实现心理健康评估系统核心功能
添加心理健康评估系统前端核心组件和功能,包括: 1. 评估表单发送与展示功能 2. 客户信息分析页面 3. 智能回复系统集成 4. 企业微信SDK集成 5. 响应式设计和移动端适配 实现与后端API的交互逻辑,包括客户信息获取、表单提交和智能回复生成
This commit is contained in:
40
src/router/index.ts
Normal file
40
src/router/index.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import HomePage from '../components/HomePage.vue'
|
||||
import AnalysisPage from '../components/AnalysisPage.vue'
|
||||
import SmartReplyPage from '../components/SmartReplyPage.vue'
|
||||
// 引入你的发送档案表组件 (根据你的截图文件名)
|
||||
import SendPage from '../components/SendPage.vue'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
component: HomePage,
|
||||
meta: { title: '发送评估表' }
|
||||
},
|
||||
{
|
||||
path: '/analysis',
|
||||
name: 'Analysis',
|
||||
component: AnalysisPage,
|
||||
meta: { title: '客户信息分析' }
|
||||
},
|
||||
{
|
||||
path: '/send-archive',
|
||||
name: 'SendArchive',
|
||||
component: SendPage,
|
||||
meta: { title: '发送档案表' }
|
||||
},
|
||||
{
|
||||
path: '/smart-reply',
|
||||
name: 'SmartReply',
|
||||
component: SmartReplyPage,
|
||||
meta: { title: '智能回复' }
|
||||
}
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes
|
||||
})
|
||||
|
||||
export default router
|
||||
Reference in New Issue
Block a user