家乐 黎 于 2025/03/19 03:04 最后修改

从版本 2.1
家乐 黎编辑
在2025/03/19 02:21上
修改评论: 该版本没有评论
到版本
家乐 黎编辑
在2025/03/19 03:04上
修改评论: 该版本没有评论

摘要

细节

页面属性
内容
... ... @@ -1,37 +1,42 @@
1 -=== 1、功能简介 ===
1 +=== 1、**Function Overview** ===
2 2  
3 -设置表单中的某些字段不能重复。
3 +Custom data deduplication check will be performed upon form submission.
4 4  
5 5  
6 -=== 2、使用场景 ===
6 +=== 2、**Use Cases** ===
7 7  
8 -例如:在门店管理系统中,门店信息表在新增/编辑门店时需要确保门店名称不能重复;
8 +For instance, when adding new materials, the material name must be unique and cannot be duplicated.
9 9  
10 10  ==== ====
11 11  
12 -=== 3、设置方式 ===
12 +=== 3、**Setting Approach** ===
13 13  
14 -[[image:image (35).png]]
14 +[[image:1742351188619-868.png]]
15 15  
16 16  
17 17  
18 +1. The duplicate removal field starts with no fields, meaning that if there are no designated fields for duplicate removal, the current form does not perform any duplicate check.
19 +1. It supports selecting business fields from the main table of the current form (i.e., fields generated by user-dragged controls onto the page). Fields from tables or referenced forms cannot be selected.
20 +1. It supports the selection of multiple fields for duplicate removal.
21 +1. The allowed field types for selection include: single-line input, numeric, dropdown selection, radio button, date, time range, toggle switch, calculated formula, personnel, department, region, and data association.
22 +1. When multiple fields are selected for duplicate removal, it checks whether the concatenated result of multiple single-line input control values is duplicated. For example, both Single Line Input A and Single Line Input B have data duplication removal enabled as shown in the figure below:
23 +
24 +=== Explanation: ===
25 +
18 18  * (((
19 -1.去重字段中初始没有任何字段,也就是没有任务去重字段时当前表单就不用做去重校验;
27 +**Existing Data**:
28 +
29 +* Single Line Input A: A1, A2, A3
30 +* Single Line Input B: B1, B2, B3
31 +* Concatenation Result: A1B1, A2B2, A3B3
20 20  )))
21 21  * (((
22 -2.支持选择当前表单中主表的业务字段(也就是用户手动拖拽到页面中的控件生成的字段),表格、引用表单中的字段不可以选择;
34 +**New Data**:
35 +
36 +* Single Line Input A: A1, A1, A2
37 +* Single Line Input B: B2, B1, B1
38 +* Concatenation Result: A1B2, A1B1, A2B1
39 +* Is Duplicated: No, Yes, No
23 23  )))
24 -* (((
25 -3.支持选择多个字段;
26 -)))
27 -* (((
28 -4.允许被选择的字段类型有:单行输入、数值、下拉选择、单选、日期、时间范围、开关、计算公式、人员、部门、地区和数据关联;
29 -)))
30 -* (((
31 -5.选择了多个去重字段时,校验多个单行输入控件值的拼接结果是否重复,比如下图单行输入A和单行输入B都开启了数据去重:
32 -)))
33 33  
34 -[[image:1729668297730-889.png]](% contenteditable="false" style="background-image:url(http://192.168.102.35:8080/webjars/wiki%3Axwiki/xwiki-platform-ckeditor-webjar/16.8.0/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="拖曳以移動" width="15"]]
35 -
36 -
37 -
42 +(% contenteditable="false" style="background-image:url(http://192.168.102.35:8080/webjars/wiki%3Axwiki/xwiki-platform-ckeditor-webjar/16.8.0/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="拖曳以移動" width="15"]]
1742351188619-868.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.lijl02
大小
... ... @@ -1,0 +1,1 @@
1 +56.5 KB
内容