From 20d9fd24d1c883f414f939403406bc5f555a3689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E7=A0=81-=E6=96=B9=E6=99=93=E8=BE=89?= Date: Mon, 2 Feb 2026 17:45:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AD=A6=E6=A0=A1=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=88=97=E8=A1=A8"=E5=AD=A6=E6=A0=A1=E7=B1=BB=E5=9E=8B"?= =?UTF-8?q?=E5=88=97=E6=94=B9=E4=B8=BA"=E7=B1=BB=E5=9E=8B"=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 用于区分树形层级节点类型:学校/年级/班级 - 使用不同颜色的 el-tag 标签区分显示 - 同步更新需求文档中的字段说明 --- docs/01-需求文档/需求规格说明书_v1.0.md | 2 +- .../ruoyi-ui/src/views/business/school/index.vue | 15 ++++----------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/docs/01-需求文档/需求规格说明书_v1.0.md b/docs/01-需求文档/需求规格说明书_v1.0.md index 41603f3..53ab96c 100644 --- a/docs/01-需求文档/需求规格说明书_v1.0.md +++ b/docs/01-需求文档/需求规格说明书_v1.0.md @@ -238,7 +238,7 @@ | ---- | ---- |:---:| --------------- | | 学校名称 | 文本 | ✓ | 最大长度100字符 | | 学校编码 | 文本 | ✓ | 系统自动生成,唯一 | -| 类型 | 枚举 | ✓ | 学校类型(小学/中学/高中等) | +| 类型 | 枚举 | ✓ | 节点类型:学校/年级/班级(用于区分树形层级) | | 所属区域 | 树形选择 | ✓ | 省-市-区三级 | | 状态 | 开关 | ✓ | 启用/禁用 | | 创建时间 | 日期时间 | - | 系统自动记录 | diff --git a/frontend/ruoyi-ui/src/views/business/school/index.vue b/frontend/ruoyi-ui/src/views/business/school/index.vue index ae3774a..675c195 100644 --- a/frontend/ruoyi-ui/src/views/business/school/index.vue +++ b/frontend/ruoyi-ui/src/views/business/school/index.vue @@ -65,9 +65,11 @@ > - + @@ -131,15 +133,6 @@ import ClassDialog from './components/ClassDialog.vue' import GradeDialog from './components/GradeDialog.vue' import SchoolDialog from './components/SchoolDialog.vue' -// 学校类型映射 -const schoolTypeMap = { - '1': '小学', - '2': '初中', - '3': '高中', - '4': '九年一贯制', - '5': '完全中学' -} - // 区域树相关 const treeRef = ref() const treeFilterText = ref('')