文档更改08 Date&Time

maym 于 2025/04/30 10:00 最后修改

从版本 7.2
yufei li编辑
在2025/02/14 02:14上
修改评论: Update document after refactoring.
到版本
maym编辑
在2025/04/30 10:00上
修改评论: 该版本没有评论

摘要

细节

页面属性
标题
... ... @@ -1,1 +1,1 @@
1 -08 时间日期
1 +08 Date&Time
文档作者
... ... @@ -1,1 +1,1 @@
1 -XWiki.YufeiLi
1 +XWiki.maym
内容
... ... @@ -1,38 +1,43 @@
1 -**功能简介**
1 +**Feature Overview**
2 2  
3 -时间日期控件用于选择具体的日期和时间。
3 +The Date and Time widget is used for selecting specific dates and times.
4 4  
5 -**使用场景**
5 +**Use Cases**
6 6  
7 -适合用于选择会议时间、生日、到期日期等场景。
7 +It is suitable for scenarios like selecting meeting times, birthdays, expiration dates, etc.
8 8  
9 -**设置方式**
9 +**Setting Method**
10 10  
11 -点击基础字段中的时间日期控件 或者 拖拽时间日期控件到画布中,用户可以选择日期和时间格式。
11 +Click on the Date and Time widget in the basic fields or drag and drop the Date and Time widget onto the canvas. Users can then select the date and time format.
12 12  
13 -**控件属性**
14 14  
14 +**Widget Properties**
15 15  
16 -(% style="width:720px" %)
17 -|(% style="width:122px" %)控件属性|(% style="width:151px" %)设置项|(% style="width:444px" %)设置项说明
18 -|(% rowspan="6" style="width:122px" %)基础属性|(% style="width:151px" %)控件名称|(% style="width:444px" %)用于区分不同的控件
19 -|(% style="width:151px" %)显示控件名称|(% style="width:444px" %)用于控制在填单时是否显示控件名称
20 -|(% style="width:151px" %)控件宽度|(% style="width:444px" %)用于控制在填单时当前控件的显示宽度
21 -|(% style="width:151px" %)占位提示|(% style="width:444px" %)用于引导填写者填写内容
22 -|(% style="width:151px" %)帮助文字|(% style="width:444px" %)填单时出现问号悬浮可以显示帮助文字
23 -|(% style="width:151px" %)字段权限|(% style="width:444px" %)(((
24 -可见权限:可见、有条件可见、不可见;
16 +(% style="width:1184px" %)
17 +|(% style="width:155px" %)**Widget Properties**|(% style="width:156px" %)**Settings Options**|(% style="width:871px" %)**Settings Options Description**
18 +|(% rowspan="6" style="width:155px" %)Basic Properties|(% style="width:156px" %)Name|(% style="width:871px" %)Used to distinguish different widgets.
19 +|(% style="width:156px" %)Display Name|(% style="width:871px" %)Used to control whether the widget name is displayed when filling out the form.
20 +|(% style="width:156px" %)Width|(% style="width:871px" %)Used to control the display width of the current widget when filling out the form.
21 +|(% style="width:156px" %)Placeholder|(% style="width:871px" %)Used to guide the filler in entering content.
22 +|(% style="width:156px" %)Help Text|(% style="width:871px" %)A question mark hover appears when filling out the form, which can display help text.
23 +|(% style="width:156px" %)Permissions|(% style="width:871px" %)(((
24 +Visibility Permissions: Visible, Conditionally Visible, Invisible;
25 25  
26 -编辑权限(前提是有可见权限):可编辑、不可编辑;
26 +Edit Permissions (precondition: visibility permissions): Editable, Non-editable;
27 27  
28 -必填权限(前提是有编辑权限):必填、有条件必填、不必填;
28 +Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory;
29 29  
30 -字段权限仅在非流程表单中生效;
30 +Field permissions only take effect in non-process forms;
31 31  
32 -另外有条件可见和有条件必填在流程表单和非流程表单中都生效;
32 +Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms.
33 33  )))
34 -|(% rowspan="3" style="width:122px" %)特殊属性|(% style="width:151px" %)时间格式|(% style="width:444px" %)下拉单选框,默认值:年-月-日 时:分:秒
35 -可选项如右图:
36 -|(% style="width:151px" %)默认值|(% style="width:444px" %)支持用户自定义一个固定的时间
37 -支持用户利用公式函数得到一个动态计算来的时间
38 -|(% style="width:151px" %)可选范围|(% style="width:444px" %)可以动态根据表单中的控件,设置本时间日期控件的可选事件范围
34 +|(% rowspan="4" style="width:155px" %)Special Properties|(% style="width:156px" %)Time Format|(% style="width:871px" %)Dropdown Single-Select Box, Default Value: YYYY-MM-DD HH:mm:ss
35 +As shown in the figure below:
36 +[[image:1740723518483-931.png]]
37 +|(% style="width:156px" %)Default Value(assigned only when the control is loaded for the first time)|(% style="width:871px" %)(((
38 +Customization: Configure a fixed time;
39 +
40 +Formula calculation: Obtain a dynamically calculated time value through a formula function
41 +)))
42 +|(% style="width:156px" %)Formula value|(% style="width:871px" %)Dynamically obtain the result calculated by the formula when the value of the control used in the formula changes, and obtain the default value based on the formula calculation
43 +|(% style="width:156px" %)Optional Range|(% style="width:871px" %)Can dynamically set the selectable event range of this date and time widget based on the controls in the form.
1740723518483-931.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.YufeiLi
大小
... ... @@ -1,0 +1,1 @@
1 +8.0 KB
内容