diff --git a/docs/en-US/handbook/ui/blocks/block-settings/data-scope.md b/docs/en-US/handbook/ui/blocks/block-settings/data-scope.md index dca330239..81709d257 100644 --- a/docs/en-US/handbook/ui/blocks/block-settings/data-scope.md +++ b/docs/en-US/handbook/ui/blocks/block-settings/data-scope.md @@ -1,34 +1,40 @@ -# 设置数据范围 +# Setting Data Scope -## 介绍 +## Introduction -设置数据范围是指为数据区块定义默认筛选条件,用户可以根据不同的需求灵活调整区块的数据范围。 +Setting the data scope involves defining default filter conditions for data blocks, allowing users to adjust data ranges based on different needs or views. -## 使用手册 +## User Manual ![20240407180322](https://static-docs.nocobase.com/20240407180322.png) -筛选字段支持选择本表字段、关系表字段(最多三层关系)。 +`Filter fields` support selecting fields from the current table and related tables (up to three levels deep). ![20240422113637](https://static-docs.nocobase.com/20240422113637.png) -### 操作符 +### Operators -不同类型的字段支持不同的操作符,例如文本字段支持等于、不等于、包含等操作符,数字字段支持大于、小于等操作符,日期字段则支持在范围内、在特定日期之前等操作符。 +Different types of fields support different operators. For example: + +- Text fields support operators like `is`, `is empty`, and `contains`. +- Number fields support operators like `greater than` and `less than`. +- Date fields support operators like `within range` and `before a specific date` ![20240424154003](https://static-docs.nocobase.com/20240424154003.png) -### 静态值 +### Static Values -示例:订单「状态」为「已发货」。 +Static values are those that are fixed. For example: +- Order `Status` is `Shipped` -### 变量值 +## Variable Values -示例:「发货日期」早于「昨天」。 +Variable values can change dynamically based on conditions. For example: +- `Delivery Date` is before `Yesterday` ![20240422090134](https://static-docs.nocobase.com/20240422090134.png) @@ -36,4 +42,4 @@ -更多关于变量内容参考 [变量](/handbook/ui/variables) +For more information about variables, refer to [Variables](/handbook/ui/variables).