> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/yoov-plus/worksheet/worksheet-design/field-type.md).

# 字段類型

## **1. 字段类型概览** <a href="#id-1-field-type-overview" id="id-1-field-type-overview"></a>

YOOV PLUS提供20多种字段类型，分为三大类，可满足各类业务数据的管理需求。

| 类别       | 包含字段类型                                            | 主要用途                        |
| -------- | ------------------------------------------------- | --------------------------- |
| **基础字段** | 文本、数字、单选/多选、日期、时间、评分、成员、部门、地区、邮箱、电话               | 用于录入和管理最常见、最基础的业务信息。        |
| **高级字段** | 图片、附件、手写签名、定位、自动编号、子表、关联记录、他表字段、公式、汇总、证件、文本组合、富文本 | 用于实现复杂业务逻辑、数据关联、文件管理和自动化计算。 |
| **其他字段** | 分割线                                               | **仅为布局控件**，用于美化表单界面，对数据无影响。 |

## **2. 字段类型转换** <a href="#id-2-field-type-conversion" id="id-2-field-type-conversion"></a>

“字段类型转换”功能允许您在保留现有数据的前提下，将一个字段更改为功能相似的新类型，以适应业务变化和表单优化需求。

* **重要提示**：部分类型转换**不可逆**，且转换过程中数据可能因格式不符被清空。请在操作前确认风险，谨慎执行。

#### **2.1 如何转换字段类型？** <a href="#id-2.1-how-to-convert-field-type" id="id-2.1-how-to-convert-field-type"></a>

1. 进入目标工作表的 **「编辑表单」** 页面。
2. 在设计区**选中**您需要转换的字段。
3. 点击该字段右上角的 **【…】** 菜单图标。
4. 在下拉菜单中，选择 **「转换字段类型」**，然后选择目标字段类型。
5. **确认转换**：
   * 若转换为 **“文本”** 类型，系统通常会直接完成。
   * 若转换为其他类型，系统会弹出**转换预览页面**，明确展示转换规则及不符合规则将被清空的数据。
   * 仔细核对预览内容，点击 **【确认】** 后，转换立即生效且**不可撤销**。点击 **【取消】** 则不转换。

#### **2.2 主要字段类型转换规则** <a href="#id-2.2-main-field-type-conversion-rules" id="id-2.2-main-field-type-conversion-rules"></a>

以下列出部分常用字段类型的转换逻辑与数据匹配规则，**不符合规则的值在转换后将被清空**。

<table data-header-hidden><thead><tr><th width="207.333251953125"></th><th></th></tr></thead><tbody><tr><td>目标字段类型</td><td>转换规则与数据匹配说明</td></tr><tr><td><strong>地区</strong></td><td>根据字符内容匹配省、市、区/县。若任意层级不匹配，内容清空。</td></tr><tr><td><strong>邮箱</strong></td><td>识别“用户名@邮箱域名”格式。</td></tr><tr><td><strong>电话</strong></td><td>识别区号与号码。若无区号，按默认地区（86/852）处理。</td></tr><tr><td><strong>证件</strong></td><td>识别中华人民共和国居民身份证格式。</td></tr><tr><td><strong>数字</strong></td><td>仅支持最多16位数字（含小数位）。</td></tr><tr><td><strong>评分</strong></td><td>仅支持1-10的整数。</td></tr><tr><td><strong>日期</strong></td><td>支持以 <code>-</code>、<code>/</code>、<code>.</code> 分隔的字符，转换为年月、年月日或年月日时分格式。</td></tr><tr><td><strong>时间</strong></td><td>支持以 <code>:</code> 分隔的字符，转换为时分或时分秒格式。</td></tr><tr><td><strong>单选</strong></td><td>系统将按数据创建时间倒序，自动提取前50个不重复的值作为选项（每个值最长50字符）。<strong>多选转单选时，若原值包含超过1个选项，则清空；仅1个选项则可转换。</strong></td></tr><tr><td><strong>多选</strong></td><td>规则同“单选”，自动提取前50个不重复值作为选项。</td></tr><tr><td><strong>成员</strong></td><td>将原内容与通讯录成员姓名匹配。若姓名重复，默认匹配最新加入的成员。<strong>原值若包含超过1个人员，则清空；仅1人时可转换。</strong></td></tr><tr><td><strong>部门</strong></td><td>将原内容与通讯录部门名称匹配。若部门名重复，默认匹配最新加入的部门。<strong>原值若包含超过1个部门，则清空；仅1个部门时可转换。</strong></td></tr><tr><td><strong>图片</strong></td><td>仅支持图片格式文件。</td></tr></tbody></table>

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.coreway.com/yoov-plus/worksheet/worksheet-design/field-type.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
