Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
acb14621
提交
acb14621
编写于
2月 16, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhujiamin 发布系统代码 [TrainSys,网页端]
上级
60a26399
变更
4
展开全部
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
520 行增加
和
123 行删除
+520
-123
TEST.json
.../ibizlab/trainsys/PSMODULES/Test/PSDATAENTITIES/TEST.json
+37
-3
TestRules.json
...SYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
+161
-40
TESTTestRulesEditView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
+161
-40
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+161
-40
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSMODULES/Test/PSDATAENTITIES/TEST.json
浏览文件 @
acb14621
...
...
@@ -1318,10 +1318,10 @@
"dEFName"
:
"FIELD3"
,
"maxValue"
:
15
,
"minValue"
:
5
,
"name"
:
"[字符长度] 大于
5 且 小
于 15"
,
"name"
:
"[字符长度] 大于
等于 5 且 小于等
于 15"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"includeMaxValue"
:
fals
e
,
"includeMinValue"
:
fals
e
"includeMaxValue"
:
tru
e
,
"includeMinValue"
:
tru
e
}
],
"ruleInfo"
:
"5<=field3字符长度<=15"
},
...
...
@@ -1421,6 +1421,40 @@
"type"
:
"DEFAULT"
}
],
"getAllPSDEFValueRules"
:
[
{
"codeName"
:
"ValueRule5"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5"
,
"name"
:
"field4值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD4"
,
"name"
:
"[系统值规则]URL"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule17"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule17.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"name"
:
"URL"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"regExCode"
:
"[a-zA-z]+://(
\\
w+(-
\\
w+)*)(
\\
.(
\\
w+(-
\\
w+)*))*(
\\
?
\\
S*)?"
,
"ruleInfo"
:
"内容必须为有效URL格式"
,
"ruleType"
:
"REG"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"内容必须为有效URL格式"
}
],
"ruleInfo"
:
"内容必须为有效URL格式"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/ValueRule5"
,
"ruleInfo"
:
"内容必须为有效URL格式"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
{
"codeName"
:
"Default"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD4/psdefvaluerules/Default"
,
"name"
:
"默认规则"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
浏览文件 @
acb14621
...
...
@@ -40,62 +40,73 @@
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
3
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"name"
:
"field
2
值规则"
,
"codeName"
:
"ValueRule
5
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"name"
:
"field
4
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"REGEX"
,
"dEFName"
:
"FIELD2"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"regExCode"
:
"^[0-9]*$"
,
"ruleInfo"
:
"只能写数字"
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD4"
,
"name"
:
"[系统值规则]URL"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule17"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule17.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"name"
:
"URL"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule17"
,
"regExCode"
:
"[a-zA-z]+://(
\\
w+(-
\\
w+)*)(
\\
.(
\\
w+(-
\\
w+)*))*(
\\
?
\\
S*)?"
,
"ruleInfo"
:
"内容必须为有效URL格式"
,
"ruleType"
:
"REG"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"内容必须为有效URL格式"
}
],
"ruleInfo"
:
"
只能写数字
"
"ruleInfo"
:
"
内容必须为有效URL格式
"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"ruleInfo"
:
"
只能写数字
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
4/psdefvaluerules/ValueRule5
"
,
"ruleInfo"
:
"
内容必须为有效URL格式
"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field
2
"
,
"getPSDEFormItemName"
:
"field
4
"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
4
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"name"
:
"field
3
值规则"
,
"codeName"
:
"ValueRule
2
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"name"
:
"field值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"
STRINGLENGTH
"
,
"dEFName"
:
"FIELD
3
"
,
"maxValue"
:
15
,
"minValue"
:
5
,
"name"
:
"[
字符长度] 大于 5 且 小于 15
"
,
"ruleInfo"
:
"
5<=field3字符长度<=15
"
,
"includeMaxValue"
:
fals
e
,
"includeMinValue"
:
fals
e
"condType"
:
"
VALUERANGE2
"
,
"dEFName"
:
"FIELD"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[
数值范围] 大于等于 10.0 且 小于等于 20.0
"
,
"ruleInfo"
:
"
10<=field<=20
"
,
"includeMaxValue"
:
tru
e
,
"includeMinValue"
:
tru
e
}
],
"ruleInfo"
:
"
5<=field3字符长度<=15
"
"ruleInfo"
:
"
10<=field<=20
"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"ruleInfo"
:
"
5<=field3字符长度<=15
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"ruleInfo"
:
"
10<=field<=20
"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field
3
"
,
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
...
...
@@ -132,33 +143,62 @@
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule
2
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"name"
:
"field值规则"
,
"codeName"
:
"ValueRule
3
"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
2/psdefvaluerules/ValueRule3
"
,
"name"
:
"field
2
值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"VALUERANGE2"
,
"dEFName"
:
"FIELD"
,
"maxValue"
:
20.0
,
"minValue"
:
10.0
,
"name"
:
"[数值范围] 大于等于 10.0 且 小于等于 20.0"
,
"ruleInfo"
:
"10<=field<=20"
,
"condType"
:
"REGEX"
,
"dEFName"
:
"FIELD2"
,
"name"
:
"[正则式](^[0-9]*$)"
,
"regExCode"
:
"^[0-9]*$"
,
"ruleInfo"
:
"只能写数字"
}
],
"ruleInfo"
:
"只能写数字"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD2/psdefvaluerules/ValueRule3"
,
"ruleInfo"
:
"只能写数字"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field2"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule4"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4"
,
"name"
:
"field3值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"STRINGLENGTH"
,
"dEFName"
:
"FIELD3"
,
"maxValue"
:
15
,
"minValue"
:
5
,
"name"
:
"[字符长度] 大于等于 5 且 小于等于 15"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"
10<=field<=20
"
"ruleInfo"
:
"
5<=field3字符长度<=15
"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
/psdefvaluerules/ValueRule2
"
,
"ruleInfo"
:
"
10<=field<=20
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD
3/psdefvaluerules/ValueRule4
"
,
"ruleInfo"
:
"
5<=field3字符长度<=15
"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field"
,
"getPSDEFormItemName"
:
"field
3
"
,
"valueRuleType"
:
"DEFVALUERULE"
}
],
"getPSDEFormItems"
:
[
{
...
...
@@ -233,6 +273,13 @@
"name"
:
"FIELD3"
,
"codeName"
:
"Field3"
}
},
{
"id"
:
"field4"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"FIELD4"
,
"codeName"
:
"Field4"
}
},
{
"id"
:
"testid"
,
"hidden"
:
true
,
...
...
@@ -555,6 +602,80 @@
"rTMOSFilePath"
:
"psdeformdetail_grouppanels/grouppanel4"
,
"infoGroupMode"
:
false
,
"showCaption"
:
true
},
{
"actionGroupExtractMode"
:
"ITEM"
,
"caption"
:
"系统值规则"
,
"codeName"
:
"grouppanel5"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"GROUPPANEL"
,
"mOSFilePath"
:
"psdeformdetail_grouppanels/grouppanel5"
,
"name"
:
"grouppanel5"
,
"getPSDEFormDetails"
:
[
{
"codeName"
:
"rawitem5"
,
"contentType"
:
"RAW"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"RAWITEM"
,
"mOSFilePath"
:
"psdeformdetail_rawitems/rawitem5"
,
"name"
:
"rawitem5"
,
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSRawItem"
:
{
"caption"
:
"有效url"
,
"contentType"
:
"RAW"
,
"name"
:
"rawitem5"
},
"rTMOSFilePath"
:
"psdeformdetail_rawitems/rawitem5"
,
"rawContent"
:
"有效url"
,
"rawItemHeight"
:
-1.0
,
"rawItemWidth"
:
-1.0
,
"showCaption"
:
true
},
{
"caption"
:
"属性4"
,
"codeName"
:
"field4"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/field4"
,
"name"
:
"field4"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"FIELD4"
,
"codeName"
:
"Field4"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"maxLength"
:
100
,
"name"
:
"field4"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/field4"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_grouppanels/grouppanel5"
,
"infoGroupMode"
:
false
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
浏览文件 @
acb14621
此差异已折叠。
点击以展开。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
acb14621
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录