Files

31 lines
1.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 教师专业发展 - 前台展示(profession-view)
> 教师任教学科教案归纳及学习资料总结 —— 前台展示端。
> 2026-09-24:由 dorm-notice 模板改名为 profession-view,并按历史项目 `ProfessionPageOld` 的页面逻辑**重写**为专业发展前台页面(模板 dorm 业务已删除)。
## 页面(对照历史前台页面节点)
| 路由 | modId | 页面 | 历史参考 |
|---|---|---|---|
| /home | 100 | 发展首页(栏目条+最新记录+排行+我的积分) | ProfessionPage_Home |
| /module/list?mouid= | 110 | 栏目文章分页列表 | TeaModuleList |
| /record/new?mouid=&serid= | 120 | 发布/编辑(动态字段+富文本+附件) | TeaBlogCustom |
| /record/detail?serid= | 140 | 详情(正文/字段/附件/评论/访客) | TeaPersonalView2 |
| /timeline?userid= | 130 | 个人空间按年时间轴 | TeachMyselfTimer |
| /area | 160 | 区级视图(超管/区局账号) | ProfessionAreaPage_Home |
## 接口
`src/api/module/profession.ts`:对应后端 `E:\YHXT\java\Profession`(com.yunhai.profession)的
profession / moudule / points / stats / base / file 六个域,路径前缀 `/api/...`,响应 `{code,msg,data}` 由 alova 封装解包。
## 快速开始
```bash
npm install
npm run dev # http://localhost:8081(当前运行端口),/api 代理 → http://localhost:8107
npm run build
```
modId 菜单对齐与后端配置见《E:\YHXT\java\Profession\重构任务计划.md》。