feat: 提交教师专业发展前台(profession-view)工程源码(Vue3 + Vite + view-ui-plus)
build / build (push) Successful in 4m13s
build / build (push) Successful in 4m13s
This commit is contained in:
@@ -1,3 +1,30 @@
|
||||
# profession-front
|
||||
# 教师专业发展 - 前台展示(profession-view)
|
||||
|
||||
managed by projman
|
||||
> 教师任教学科教案归纳及学习资料总结 —— 前台展示端。
|
||||
> 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》。
|
||||
|
||||
Reference in New Issue
Block a user