> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 年级

> 本文介绍了K12校园中选年级组件的使用场景、基础功能（包括多选模式和数据填充）以及其数据来源。该组件支持选择多个年级，并能够自动填充年级的基础属性如所在校区、所属学段等，适用于需要选择年级的各种应用场景。

## 1. 使用场景

选年级组件可用于K12校园中需要选择年级的应用场景，

## 2. 基础功能

### 2.1 多选模式

支持选择多个年级，当仅需要选择一个年级时，可以关闭该按钮。

| **表单设计态**                                                                                                                | **表单运行态**                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| ![](https://yida-support.oss-cn-shanghai.aliyuncs.com/static/png/1632880437801-b1676932-559a-48a3-9b08-2f8bed38cdf2.png) | ![](https://yida-support.oss-cn-shanghai.aliyuncs.com/static/png/1632880467050-7aa7920f-6db8-4b3d-9dab-acdcb70eab6c.png) |

### 2.2 数据填充

数据填充可以将年级的基础属性填充到宜搭应用的组件中，自动生成表单数据，年级的属性包括：

* 所在校区

* 所属学段

* 入学年份

| **表单设计态**                                                                                                                                                                                                                                              | **表单运行态**                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ![](https://yida-support.oss-cn-shanghai.aliyuncs.com/static/png/1632880484485-7f4fa280-df38-4c40-a8af-f1814d880211.png)<br />![](https://yida-support.oss-cn-shanghai.aliyuncs.com/static/png/1632880515081-f08fb6f4-2638-440b-86c0-84fc2cdff1fe.png) | ![](https://yida-support.oss-cn-shanghai.aliyuncs.com/static/png/1632880626064-c5a5c4ac-d76d-4ec6-b4ee-109b91084acc.png)<br />![](https://yida-support.oss-cn-shanghai.aliyuncs.com/static/png/1632880640369-e1ab33e5-26a4-4fe3-bc16-028559cc159b.png) |

## 3. 数据来源

使用家校通讯录中统一的年级主数据
