Files
profession-web/README.md
T

32 lines
1.6 KiB
Markdown
Raw 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-console)
> 教师任教学科教案归纳及学习资料总结 —— 后台管理端。
> 2026-09-24:由 dorm-notice 模板改名为 profession-console,并按历史项目 `ProfessionOld` 的页面逻辑**重写**为专业发展后台页面(模板 dorm 业务已删除)。
## 页面(对照历史后台页面节点)
| 路由 | modId | 页面 | 历史参考 |
|---|---|---|---|
| /points | 100 | 应用设置(全局积分+积分指标树) | Profession_PointsSetting / points |
| /term | 101 | 学期设置(合格线/推送提醒) | Profession_TermSetting |
| /field | 110 | 自定义字段(6 类字段+选项编辑) | Profession_Field |
| /module | 120 | 栏目设置(字段绑定/积分/区局下发只读) | Profession_Moudule2 |
| /topmodule | 150 | 上级栏目(排序/启停) | Profession_TopModule |
| /stats | 140 | 校级统计(5 tab+动态列+明细+导出+打包下载) | Profession_tongji |
| /areastats | 141 | 局端统计(超管/区局跨校) | Profession_AreatongjiAll |
## 接口
`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:8082(当前运行端口),/api 代理 → http://localhost:8107
npm run build
```
modId 菜单对齐与后端配置见《E:\YHXT\java\Profession\重构任务计划.md》。