Files
easygoadmin-wiki/EasyGoAdmin_Gin_AntdVue/zh/modules/level.md
T
2026-10-25 17:24:27 +08:00

33 lines
1008 B
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.
# 6.5 职级管理
:::tip 概述
职级(gin_level,租户级)是组织人事的基础字典型模块:标准 CRUD + 启停状态 + 导入导出,适合作为理解"简单模块完整形态"的参照。
:::
## 功能清单
| 接口 | 说明 |
|---|---|
| Page / List / Detail | 标准查询 |
| Add / Update | 标准维护 |
| Status | 启停单列更新(手写) |
| Delete / BatchDelete | 软删除 |
| Import / Export | Excel 导入导出 |
## 模块形态特点
- **无关联表**:职级是扁平定义表,不挂用户/角色
- **导入导出**:与 example 模块同款契约(ReadSheet 逐行校验 / WriteSheet 输出 URL)
- **租户级**:写侧补 tenant_id,读侧隔离
职级与用户的关联由用户表承载(如需),本模块只管定义与排序。
## 管理界面
`system/level`:列表 + 状态开关 + 导入导出按钮。
## 相关
- [6.6 岗位管理](/zh/modules/position.html)(同形态模块)
- [7.4 数据导入导出](/zh/tools/excel.html)