Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
a0935a15
提交
a0935a15
编写于
3月 29, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [TrainSys,网页端]
上级
b9cd70cf
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
719 行增加
和
449 行删除
+719
-449
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+4
-4
TEST.json
...bizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json
+122
-0
TestRules.json
...SYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
+135
-135
TESTCustomGridView.json
...ainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTCustomGridView.json
+62
-36
TESTTestRulesEditView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
+135
-135
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+261
-139
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
a0935a15
...
...
@@ -1219,16 +1219,16 @@
"mOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
},
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
}
],
"rTMOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json
浏览文件 @
a0935a15
...
...
@@ -2189,6 +2189,128 @@
"modelref"
:
true
,
"id"
:
"Begin"
}
},
{
"codeName"
:
"gridBeforeLoad"
,
"defaultParamName"
:
"Default"
,
"logicName"
:
"表格加载前"
,
"mOSFilePath"
:
"pssysapps/Web/psappdataentities/TEST/psappdeuilogics/gridBeforeLoad"
,
"name"
:
"表格加载前"
,
"getPSDEUILogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"leftPos"
:
360
,
"logicNodeType"
:
"BEGIN"
,
"mOSFilePath"
:
"psappdeuilogicnodes/Begin"
,
"name"
:
"开始"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"PREPAREJSPARAM1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
}
],
"rTMOSFilePath"
:
"psappdeuilogicnodes/Begin"
,
"topPos"
:
290
,
"parallelOutput"
:
true
},
{
"codeName"
:
"PREPAREJSPARAM1"
,
"leftPos"
:
320
,
"logicNodeType"
:
"PREPAREJSPARAM"
,
"mOSFilePath"
:
"psappdeuilogicnodes/PREPAREJSPARAM1"
,
"name"
:
"准备参数"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"END1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"PREPAREJSPARAM1"
}
}
],
"getPSDEUILogicNodeParams"
:
[
{
"dstFieldName"
:
"searchParams"
,
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"grid"
},
"name"
:
"空值(NULL) ==> grid[searchParams]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcValueType"
:
"NULLVALUE"
},
{
"dstFieldName"
:
"searchParams"
,
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"grid"
},
"name"
:
"searchForm[data] ==> grid[searchParams]"
,
"paramAction"
:
"SETPARAMVALUE"
,
"srcFieldName"
:
"data"
,
"getSrcPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"searchForm"
},
"srcValueType"
:
"SRCDLPARAM"
}
],
"rTMOSFilePath"
:
"psappdeuilogicnodes/PREPAREJSPARAM1"
,
"topPos"
:
450
},
{
"codeName"
:
"END1"
,
"leftPos"
:
360
,
"logicNodeType"
:
"END"
,
"mOSFilePath"
:
"psappdeuilogicnodes/END1"
,
"name"
:
"结束"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/END1"
,
"getReturnParam"
:
{
"modelref"
:
true
,
"id"
:
"viewParams"
},
"returnType"
:
"LOGICPARAM"
,
"topPos"
:
610
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"searchForm"
,
"logicName"
:
"搜索表单"
,
"mOSFilePath"
:
"psappdeuilogicparams/searchForm"
,
"name"
:
"搜索表单"
,
"paramTag"
:
"customsearchform"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/searchForm"
,
"ctrlParam"
:
true
},
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"mOSFilePath"
:
"psappdeuilogicparams/Default"
,
"name"
:
"传入变量"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/Default"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"viewParams"
,
"logicName"
:
"查询参数"
,
"mOSFilePath"
:
"psappdeuilogicparams/viewParams"
,
"name"
:
"查询参数"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/viewParams"
,
"entityParam"
:
true
},
{
"codeName"
:
"grid"
,
"logicName"
:
"表格"
,
"mOSFilePath"
:
"psappdeuilogicparams/grid"
,
"name"
:
"表格"
,
"paramTag"
:
"customgrid"
,
"rTMOSFilePath"
:
"psappdeuilogicparams/grid"
,
"ctrlParam"
:
true
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdataentities/TEST/psappdeuilogics/gridBeforeLoad"
,
"getStartPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
}
],
"getAllPSAppViews"
:
[
{
"modelref"
:
true
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
浏览文件 @
a0935a15
...
...
@@ -37,6 +37,110 @@
}
}
],
"getPSDEFormItemVRs"
:
[
{
"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"
:
"5<=field3字符长度<=15"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field3"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule6"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"name"
:
"field5值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule20"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
"ruleInfo"
:
"脚本校验"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"ruleInfo"
:
"脚本校验"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field5"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule2"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"name"
:
"field值规则"
,
"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"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"10<=field<=20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"ruleInfo"
:
"10<=field<=20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
...
...
@@ -169,37 +273,6 @@
},
"getPSDEFormItemName"
:
"field6"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
...
...
@@ -247,6 +320,37 @@
},
"getPSDEFormItemName"
:
"field7"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
...
...
@@ -287,110 +391,6 @@
},
"getPSDEFormItemName"
:
"field4"
,
"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"
:
"5<=field3字符长度<=15"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field3"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule6"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"name"
:
"field5值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule20"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
"ruleInfo"
:
"脚本校验"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"ruleInfo"
:
"脚本校验"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field5"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule2"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"name"
:
"field值规则"
,
"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"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"10<=field<=20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"ruleInfo"
:
"10<=field<=20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
}
],
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTCustomGridView.json
浏览文件 @
a0935a15
...
...
@@ -21,6 +21,7 @@
}
],
"codeName"
:
"Usr0327926428"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"hookEventNames"
:
[
"ONBEFORELOAD"
],
"layoutMode"
:
"FLEX"
,
"logicName"
:
"模拟表格视图布局面板"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/pssysviewlayoutpanels/Usr0327926428"
,
...
...
@@ -29,6 +30,67 @@
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"getPSAppViewLogics"
:
[
{
"eventArg"
:
"deuiaction1"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"customtoolbar_deuiaction1_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"customtoolbar_deuiaction1"
},
"getPSViewCtrlName"
:
"customtoolbar"
},
{
"eventArg"
:
"deuiaction2"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"customtoolbar_deuiaction2_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"customtoolbar_deuiaction2"
},
"getPSViewCtrlName"
:
"customtoolbar"
},
{
"eventNames"
:
"onViewMounted"
,
"logicTrigger"
:
"VIEWEVENT"
,
"logicType"
:
"DEUILOGIC"
,
"name"
:
"LOADGRID"
,
"getPSAppDEUILogic"
:
{
"modelref"
:
true
,
"id"
:
"CustomGridLoad"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}
},
{
"eventNames"
:
"onBeforeLoad"
,
"logicName"
:
"gridBeforeLoad"
,
"logicTrigger"
:
"PANELEVENT"
,
"logicType"
:
"DEUILOGIC"
,
"name"
:
"gridBeforeLoad"
,
"getPSAppDEUILogic"
:
{
"modelref"
:
true
,
"id"
:
"gridBeforeLoad"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"getPSViewCtrlName"
:
"CUSTOMGRID"
}
],
"getPSControlLogics"
:
[
{
"eventNames"
:
"onBeforeLoad"
,
"logicTag"
:
"CUSTOMGRID"
,
"logicType"
:
"APPVIEWLOGIC"
,
"name"
:
"gridBeforeLoad"
,
"getPSAppViewLogic"
:
{
"modelref"
:
true
,
"id"
:
"gridBeforeLoad"
}
}
],
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"layout"
:
"FLEX"
...
...
@@ -151,42 +213,6 @@
"viewProxyMode"
:
true
,
"modelid"
:
"2EB29246-7B58-47FB-B35B-2A6B504A2D1E"
,
"modeltype"
:
"PSSYSVIEWLAYOUTPANEL"
,
"getPSAppViewLogics"
:
[
{
"eventArg"
:
"deuiaction1"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"customtoolbar_deuiaction1_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"customtoolbar_deuiaction1"
},
"getPSViewCtrlName"
:
"customtoolbar"
},
{
"eventArg"
:
"deuiaction2"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"customtoolbar_deuiaction2_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"customtoolbar_deuiaction2"
},
"getPSViewCtrlName"
:
"customtoolbar"
},
{
"eventNames"
:
"onViewMounted"
,
"logicTrigger"
:
"VIEWEVENT"
,
"logicType"
:
"DEUILOGIC"
,
"name"
:
"LOADGRID"
,
"getPSAppDEUILogic"
:
{
"modelref"
:
true
,
"id"
:
"CustomGridLoad"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
}
}
],
"getPSAppViewRefs"
:
[
{
"name"
:
"NEWDATA"
,
"realTitle"
:
"测试实体编辑视图"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
浏览文件 @
a0935a15
...
...
@@ -166,6 +166,110 @@
"id"
:
"FORM"
},
"getPSDEFormItemVRs"
:
[
{
"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"
:
"5<=field3字符长度<=15"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field3"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule6"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"name"
:
"field5值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule20"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
"ruleInfo"
:
"脚本校验"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"ruleInfo"
:
"脚本校验"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field5"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule2"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"name"
:
"field值规则"
,
"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"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"10<=field<=20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"ruleInfo"
:
"10<=field<=20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
...
...
@@ -298,37 +402,6 @@
},
"getPSDEFormItemName"
:
"field6"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
...
...
@@ -376,6 +449,37 @@
},
"getPSDEFormItemName"
:
"field7"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"amount值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condOp"
:
"EQ"
,
"condType"
:
"SIMPLE"
,
"dEFName"
:
"AMOUNT"
,
"name"
:
"[常规条件] 等于(=) (100)"
,
"paramType"
:
"SRCENTITYFIELD"
,
"paramValue"
:
"100"
,
"ruleInfo"
:
"amount等于100"
}
],
"ruleInfo"
:
"amount等于100"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"ruleInfo"
:
"amount等于100"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"amount"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
...
...
@@ -416,110 +520,6 @@
},
"getPSDEFormItemName"
:
"field4"
,
"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"
:
"5<=field3字符长度<=15"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4"
,
"ruleInfo"
:
"5<=field3字符长度<=15"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field3"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule6"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"name"
:
"field5值规则"
,
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"dEFName"
:
"FIELD5"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"getPSSysValueRule"
:
{
"codeName"
:
"ValueRule20"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
"ruleInfo"
:
"脚本校验"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6"
,
"ruleInfo"
:
"脚本校验"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field5"
,
"valueRuleType"
:
"DEFVALUERULE"
},
{
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule2"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"name"
:
"field值规则"
,
"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"
,
"includeMaxValue"
:
true
,
"includeMinValue"
:
true
}
],
"ruleInfo"
:
"10<=field<=20"
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2"
,
"ruleInfo"
:
"10<=field<=20"
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"getPSDEFormItemName"
:
"field"
,
"valueRuleType"
:
"DEFVALUERULE"
}
],
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
a0935a15
...
...
@@ -2400,16 +2400,16 @@
"mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息",
"name" : "视图消息
2
",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg
2
"
"id" : "ViewMsg
3
"
}
}, {
"name" : "视图消息
2
",
"name" : "视图消息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg
3
"
"id" : "ViewMsg
2
"
}
} ],
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
...
...
@@ -18007,6 +18007,110 @@
"id" : "FORM"
},
"getPSDEFormItemVRs" : [ {
"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" : "5<=field3字符长度<=15"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule2",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"name" : "field值规则",
"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",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "10<=field<=20"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"ruleInfo" : "10<=field<=20",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
...
...
@@ -18139,37 +18243,6 @@
},
"getPSDEFormItemName" : "field6",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "amount值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "EQ",
"condType" : "SIMPLE",
"dEFName" : "AMOUNT",
"name" : "[常规条件] 等于(=) (100)",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "100",
"ruleInfo" : "amount等于100"
} ],
"ruleInfo" : "amount等于100"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "amount等于100",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
...
...
@@ -18217,6 +18290,37 @@
},
"getPSDEFormItemName" : "field7",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "amount值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condOp" : "EQ",
"condType" : "SIMPLE",
"dEFName" : "AMOUNT",
"name" : "[常规条件] 等于(=) (100)",
"paramType" : "SRCENTITYFIELD",
"paramValue" : "100",
"ruleInfo" : "amount等于100"
} ],
"ruleInfo" : "amount等于100"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"ruleInfo" : "amount等于100",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "amount",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
...
...
@@ -18257,110 +18361,6 @@
},
"getPSDEFormItemName" : "field4",
"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" : "5<=field3字符长度<=15"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"ruleInfo" : "5<=field3字符长度<=15",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field3",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule6",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"name" : "field5值规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"dEFName" : "FIELD5",
"name" : "[系统值规则]脚本值规则测试",
"getPSSysValueRule" : {
"codeName" : "ValueRule20",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
"ruleInfo" : "脚本校验"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD5/psdefvaluerules/ValueRule6",
"ruleInfo" : "脚本校验",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field5",
"valueRuleType" : "DEFVALUERULE"
}, {
"checkMode" : 3,
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"codeName" : "ValueRule2",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"name" : "field值规则",
"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",
"includeMaxValue" : true,
"includeMinValue" : true
} ],
"ruleInfo" : "10<=field<=20"
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD/psdefvaluerules/ValueRule2",
"ruleInfo" : "10<=field<=20",
"checkDefault" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableFront" : true
},
"getPSDEFormItemName" : "field",
"valueRuleType" : "DEFVALUERULE"
} ],
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
...
...
@@ -28786,6 +28786,128 @@
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "gridBeforeLoad",
"defaultParamName" : "Default",
"logicName" : "表格加载前",
"mOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdeuilogics/gridBeforeLoad",
"name" : "表格加载前",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 360,
"logicNodeType" : "BEGIN",
"mOSFilePath" : "psappdeuilogicnodes/Begin",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"rTMOSFilePath" : "psappdeuilogicnodes/Begin",
"topPos" : 290,
"parallelOutput" : true
}, {
"codeName" : "PREPAREJSPARAM1",
"leftPos" : 320,
"logicNodeType" : "PREPAREJSPARAM",
"mOSFilePath" : "psappdeuilogicnodes/PREPAREJSPARAM1",
"name" : "准备参数",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
}
} ],
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "searchParams",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "grid"
},
"name" : "空值(NULL) ==> grid[searchParams]",
"paramAction" : "SETPARAMVALUE",
"srcValueType" : "NULLVALUE"
}, {
"dstFieldName" : "searchParams",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "grid"
},
"name" : "searchForm[data] ==> grid[searchParams]",
"paramAction" : "SETPARAMVALUE",
"srcFieldName" : "data",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "searchForm"
},
"srcValueType" : "SRCDLPARAM"
} ],
"rTMOSFilePath" : "psappdeuilogicnodes/PREPAREJSPARAM1",
"topPos" : 450
}, {
"codeName" : "END1",
"leftPos" : 360,
"logicNodeType" : "END",
"mOSFilePath" : "psappdeuilogicnodes/END1",
"name" : "结束",
"rTMOSFilePath" : "psappdeuilogicnodes/END1",
"getReturnParam" : {
"modelref" : true,
"id" : "viewParams"
},
"returnType" : "LOGICPARAM",
"topPos" : 610
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "searchForm",
"logicName" : "搜索表单",
"mOSFilePath" : "psappdeuilogicparams/searchForm",
"name" : "搜索表单",
"paramTag" : "customsearchform",
"rTMOSFilePath" : "psappdeuilogicparams/searchForm",
"ctrlParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"mOSFilePath" : "psappdeuilogicparams/Default",
"name" : "传入变量",
"rTMOSFilePath" : "psappdeuilogicparams/Default",
"default" : true,
"entityParam" : true
}, {
"codeName" : "viewParams",
"logicName" : "查询参数",
"mOSFilePath" : "psappdeuilogicparams/viewParams",
"name" : "查询参数",
"rTMOSFilePath" : "psappdeuilogicparams/viewParams",
"entityParam" : true
}, {
"codeName" : "grid",
"logicName" : "表格",
"mOSFilePath" : "psappdeuilogicparams/grid",
"name" : "表格",
"paramTag" : "customgrid",
"rTMOSFilePath" : "psappdeuilogicparams/grid",
"ctrlParam" : true
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdataentities/TEST/psappdeuilogics/gridBeforeLoad",
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"getAllPSAppViews" : [ {
"modelref" : true,
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录