Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
9f3b1f04
提交
9f3b1f04
编写于
3月 21, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhanghengfeng 发布系统代码 [TrainSys,网页端]
上级
49a9c396
变更
10
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
270 行增加
和
286 行删除
+270
-286
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+4
-4
Chart.json
...SYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSCHARTS/Chart.json
+1
-1
Usr0301355514.json
...Web/PSAPPDATAENTITIES/Reginfo/PSCHARTS/Usr0301355514.json
+1
-1
Usr0301410774.json
...Web/PSAPPDATAENTITIES/Reginfo/PSCHARTS/Usr0301410774.json
+0
-8
TestRules.json
...SYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
+86
-86
ReginfoChartView.json
...trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoChartView.json
+1
-1
ReginfoUsr0301140652ChartView.json
...SAPPS/Web/PSAPPDEVIEWS/ReginfoUsr0301140652ChartView.json
+0
-8
ReginfoUsr0301727282ChartView.json
...SAPPS/Web/PSAPPDEVIEWS/ReginfoUsr0301727282ChartView.json
+1
-1
TESTTestRulesEditView.json
...sys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
+86
-86
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+90
-90
未找到文件。
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
9f3b1f04
...
@@ -1214,16 +1214,16 @@
...
@@ -1214,16 +1214,16 @@
"mOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
,
"mOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
,
"name"
:
"视图消息组2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
}
},
{
},
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
}
}
],
}
],
"rTMOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
"rTMOSFilePath"
:
"pssysapps/TemplatePublish/psappviewmsggroups/VMGroup2"
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSCHARTS/Chart.json
浏览文件 @
9f3b1f04
...
@@ -180,7 +180,7 @@
...
@@ -180,7 +180,7 @@
"step"
:
true
,
"step"
:
true
,
"valueField"
:
"AGE"
,
"valueField"
:
"AGE"
,
"enableChartDataSet"
:
true
,
"enableChartDataSet"
:
true
,
"stack"
:
tru
e
"stack"
:
fals
e
}
],
}
],
"getPSDEChartTitle"
:
{
"getPSDEChartTitle"
:
{
"index"
:
0
,
"index"
:
0
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSCHARTS/Usr0301355514.json
浏览文件 @
9f3b1f04
...
@@ -178,7 +178,7 @@
...
@@ -178,7 +178,7 @@
"seriesType"
:
"bar"
,
"seriesType"
:
"bar"
,
"valueField"
:
"AGE"
,
"valueField"
:
"AGE"
,
"enableChartDataSet"
:
true
,
"enableChartDataSet"
:
true
,
"stack"
:
tru
e
"stack"
:
fals
e
}
],
}
],
"getPSDEChartTitle"
:
{
"getPSDEChartTitle"
:
{
"index"
:
0
,
"index"
:
0
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Reginfo/PSCHARTS/Usr0301410774.json
浏览文件 @
9f3b1f04
...
@@ -40,10 +40,6 @@
...
@@ -40,10 +40,6 @@
"getPSChartDataSetFields"
:
[
{
"getPSChartDataSetFields"
:
[
{
"index"
:
0
,
"index"
:
0
,
"name"
:
"NAME"
,
"name"
:
"NAME"
,
"getPSCodeList"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/UsrCodeList0129740128.json"
},
"groupField"
:
true
,
"groupField"
:
true
,
"id"
:
"0"
"id"
:
"0"
},
{
},
{
...
@@ -73,10 +69,6 @@
...
@@ -73,10 +69,6 @@
"getPSDEChartSerieses"
:
[
{
"getPSDEChartSerieses"
:
[
{
"caption"
:
"访问来源"
,
"caption"
:
"访问来源"
,
"catalogField"
:
"NAME"
,
"catalogField"
:
"NAME"
,
"getCatalogPSCodeList"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/UsrCodeList0129740128.json"
},
"eChartsType"
:
"pie"
,
"eChartsType"
:
"pie"
,
"index"
:
0
,
"index"
:
0
,
"name"
:
"pie_0"
,
"name"
:
"pie_0"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST/PSFORMS/TestRules.json
浏览文件 @
9f3b1f04
...
@@ -40,73 +40,32 @@
...
@@ -40,73 +40,32 @@
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule4"
,
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"field3值规则"
,
"name"
:
"amount值规则"
,
"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"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"condOp"
:
"EQ"
,
"dEFName"
:
"FIELD5"
,
"condType"
:
"SIMPLE"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"dEFName"
:
"AMOUNT"
,
"getPSSysValueRule"
:
{
"name"
:
"[常规条件] 等于(=) (100)"
,
"codeName"
:
"ValueRule20"
,
"paramType"
:
"SRCENTITYFIELD"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"paramValue"
:
"100"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"amount等于100"
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
}
],
"ruleInfo"
:
"
脚本校验
"
"ruleInfo"
:
"
amount等于100
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/
FIELD5/psdefvaluerules/ValueRule6
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/
AMOUNT/psdefvaluerules/ValueRule
"
,
"ruleInfo"
:
"
脚本校验
"
,
"ruleInfo"
:
"
amount等于100
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"
field5
"
,
"getPSDEFormItemName"
:
"
amount
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
...
@@ -169,37 +128,6 @@
...
@@ -169,37 +128,6 @@
},
},
"getPSDEFormItemName"
:
"field2"
,
"getPSDEFormItemName"
:
"field2"
,
"valueRuleType"
:
"DEFVALUERULE"
"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
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
...
@@ -391,6 +319,78 @@
...
@@ -391,6 +319,78 @@
},
},
"getPSDEFormItemName"
:
"field4"
,
"getPSDEFormItemName"
:
"field4"
,
"valueRuleType"
:
"DEFVALUERULE"
"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"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"id"
:
"srfupdatedate"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoChartView.json
浏览文件 @
9f3b1f04
...
@@ -459,7 +459,7 @@
...
@@ -459,7 +459,7 @@
"step"
:
true
,
"step"
:
true
,
"valueField"
:
"AGE"
,
"valueField"
:
"AGE"
,
"enableChartDataSet"
:
true
,
"enableChartDataSet"
:
true
,
"stack"
:
tru
e
"stack"
:
fals
e
}
],
}
],
"getPSDEChartTitle"
:
{
"getPSDEChartTitle"
:
{
"index"
:
0
,
"index"
:
0
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoUsr0301140652ChartView.json
浏览文件 @
9f3b1f04
...
@@ -171,10 +171,6 @@
...
@@ -171,10 +171,6 @@
"getPSChartDataSetFields"
:
[
{
"getPSChartDataSetFields"
:
[
{
"index"
:
0
,
"index"
:
0
,
"name"
:
"NAME"
,
"name"
:
"NAME"
,
"getPSCodeList"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/UsrCodeList0129740128.json"
},
"groupField"
:
true
,
"groupField"
:
true
,
"id"
:
"0"
"id"
:
"0"
},
{
},
{
...
@@ -278,10 +274,6 @@
...
@@ -278,10 +274,6 @@
"getPSDEChartSerieses"
:
[
{
"getPSDEChartSerieses"
:
[
{
"caption"
:
"访问来源"
,
"caption"
:
"访问来源"
,
"catalogField"
:
"NAME"
,
"catalogField"
:
"NAME"
,
"getCatalogPSCodeList"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/UsrCodeList0129740128.json"
},
"eChartsType"
:
"pie"
,
"eChartsType"
:
"pie"
,
"index"
:
0
,
"index"
:
0
,
"name"
:
"pie_0"
,
"name"
:
"pie_0"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/ReginfoUsr0301727282ChartView.json
浏览文件 @
9f3b1f04
...
@@ -385,7 +385,7 @@
...
@@ -385,7 +385,7 @@
"seriesType"
:
"bar"
,
"seriesType"
:
"bar"
,
"valueField"
:
"AGE"
,
"valueField"
:
"AGE"
,
"enableChartDataSet"
:
true
,
"enableChartDataSet"
:
true
,
"stack"
:
tru
e
"stack"
:
fals
e
}
],
}
],
"getPSDEChartTitle"
:
{
"getPSDEChartTitle"
:
{
"index"
:
0
,
"index"
:
0
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTestRulesEditView.json
浏览文件 @
9f3b1f04
...
@@ -169,73 +169,32 @@
...
@@ -169,73 +169,32 @@
"checkMode"
:
3
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
"getPSDEFValueRule"
:
{
"getPSDEFValueRule"
:
{
"codeName"
:
"ValueRule4"
,
"codeName"
:
"ValueRule"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4"
,
"mOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule"
,
"name"
:
"field3值规则"
,
"name"
:
"amount值规则"
,
"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"
:
{
"getPSDEFVRGroupCondition"
:
{
"condOp"
:
"AND"
,
"condOp"
:
"AND"
,
"condType"
:
"GROUP"
,
"condType"
:
"GROUP"
,
"name"
:
"默认组"
,
"name"
:
"默认组"
,
"getPSDEFVRConditions"
:
[
{
"getPSDEFVRConditions"
:
[
{
"condType"
:
"SYSVALUERULE"
,
"condOp"
:
"EQ"
,
"dEFName"
:
"FIELD5"
,
"condType"
:
"SIMPLE"
,
"name"
:
"[系统值规则]脚本值规则测试"
,
"dEFName"
:
"AMOUNT"
,
"getPSSysValueRule"
:
{
"name"
:
"[常规条件] 等于(=) (100)"
,
"codeName"
:
"ValueRule20"
,
"paramType"
:
"SRCENTITYFIELD"
,
"dynaModelFilePath"
:
"PSSYSVALUERULES/ValueRule20.json"
,
"paramValue"
:
"100"
,
"mOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"amount等于100"
"name"
:
"脚本值规则测试"
,
"rTMOSFilePath"
:
"pssysvaluerules/ValueRule20"
,
"ruleInfo"
:
"脚本校验"
,
"ruleType"
:
"SCRIPT"
,
"scriptCode"
:
"console.log(data);
\n
console.log(value);
\n
return false;"
,
"enableBackend"
:
true
,
"enableFront"
:
true
},
"ruleInfo"
:
"脚本校验"
}
],
}
],
"ruleInfo"
:
"
脚本校验
"
"ruleInfo"
:
"
amount等于100
"
},
},
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/
FIELD5/psdefvaluerules/ValueRule6
"
,
"rTMOSFilePath"
:
"psmodules/Test/psdataentities/TEST/psdefields/
AMOUNT/psdefvaluerules/ValueRule
"
,
"ruleInfo"
:
"
脚本校验
"
,
"ruleInfo"
:
"
amount等于100
"
,
"checkDefault"
:
false
,
"checkDefault"
:
false
,
"defaultMode"
:
false
,
"defaultMode"
:
false
,
"enableBackend"
:
true
,
"enableBackend"
:
true
,
"enableFront"
:
true
"enableFront"
:
true
},
},
"getPSDEFormItemName"
:
"
field5
"
,
"getPSDEFormItemName"
:
"
amount
"
,
"valueRuleType"
:
"DEFVALUERULE"
"valueRuleType"
:
"DEFVALUERULE"
},
{
},
{
"checkMode"
:
3
,
"checkMode"
:
3
,
...
@@ -298,37 +257,6 @@
...
@@ -298,37 +257,6 @@
},
},
"getPSDEFormItemName"
:
"field2"
,
"getPSDEFormItemName"
:
"field2"
,
"valueRuleType"
:
"DEFVALUERULE"
"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
,
"checkMode"
:
3
,
"name"
:
"表单项值规则"
,
"name"
:
"表单项值规则"
,
...
@@ -520,6 +448,78 @@
...
@@ -520,6 +448,78 @@
},
},
"getPSDEFormItemName"
:
"field4"
,
"getPSDEFormItemName"
:
"field4"
,
"valueRuleType"
:
"DEFVALUERULE"
"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"
}
],
}
],
"getPSDEFormItems"
:
[
{
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"id"
:
"srfupdatedate"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
9f3b1f04
...
@@ -2382,16 +2382,16 @@
...
@@ -2382,16 +2382,16 @@
"mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2",
"mOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2",
"name" : "视图消息组2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息
2
",
"name" : "视图消息",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
3
"
"id" : "ViewMsg
2
"
}
}
}, {
}, {
"name" : "视图消息",
"name" : "视图消息
2
",
"getPSAppViewMsg" : {
"getPSAppViewMsg" : {
"modelref" : true,
"modelref" : true,
"id" : "ViewMsg
2
"
"id" : "ViewMsg
3
"
}
}
} ],
} ],
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
"rTMOSFilePath" : "pssysapps/Web/psappviewmsggroups/VMGroup2"
...
@@ -17952,73 +17952,32 @@
...
@@ -17952,73 +17952,32 @@
"checkMode" : 3,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
"getPSDEFValueRule" : {
"getPSDEFValueRule" : {
"codeName" : "ValueRule4",
"codeName" : "ValueRule",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/FIELD3/psdefvaluerules/ValueRule4",
"mOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/AMOUNT/psdefvaluerules/ValueRule",
"name" : "field3值规则",
"name" : "amount值规则",
"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" : {
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condOp" : "AND",
"condType" : "GROUP",
"condType" : "GROUP",
"name" : "默认组",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"getPSDEFVRConditions" : [ {
"condType" : "SYSVALUERULE",
"condOp" : "EQ",
"dEFName" : "FIELD5",
"condType" : "SIMPLE",
"name" : "[系统值规则]脚本值规则测试",
"dEFName" : "AMOUNT",
"getPSSysValueRule" : {
"name" : "[常规条件] 等于(=) (100)",
"codeName" : "ValueRule20",
"paramType" : "SRCENTITYFIELD",
"dynaModelFilePath" : "PSSYSVALUERULES/ValueRule20.json",
"paramValue" : "100",
"mOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "amount等于100"
"name" : "脚本值规则测试",
"rTMOSFilePath" : "pssysvaluerules/ValueRule20",
"ruleInfo" : "脚本校验",
"ruleType" : "SCRIPT",
"scriptCode" : "console.log(data);\nconsole.log(value);\nreturn false;",
"enableBackend" : true,
"enableFront" : true
},
"ruleInfo" : "脚本校验"
} ],
} ],
"ruleInfo" : "
脚本校验
"
"ruleInfo" : "
amount等于100
"
},
},
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/
FIELD5/psdefvaluerules/ValueRule6
",
"rTMOSFilePath" : "psmodules/Test/psdataentities/TEST/psdefields/
AMOUNT/psdefvaluerules/ValueRule
",
"ruleInfo" : "
脚本校验
",
"ruleInfo" : "
amount等于100
",
"checkDefault" : false,
"checkDefault" : false,
"defaultMode" : false,
"defaultMode" : false,
"enableBackend" : true,
"enableBackend" : true,
"enableFront" : true
"enableFront" : true
},
},
"getPSDEFormItemName" : "
field5
",
"getPSDEFormItemName" : "
amount
",
"valueRuleType" : "DEFVALUERULE"
"valueRuleType" : "DEFVALUERULE"
}, {
}, {
"checkMode" : 3,
"checkMode" : 3,
...
@@ -18081,37 +18040,6 @@
...
@@ -18081,37 +18040,6 @@
},
},
"getPSDEFormItemName" : "field2",
"getPSDEFormItemName" : "field2",
"valueRuleType" : "DEFVALUERULE"
"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,
"checkMode" : 3,
"name" : "表单项值规则",
"name" : "表单项值规则",
...
@@ -18303,6 +18231,78 @@
...
@@ -18303,6 +18231,78 @@
},
},
"getPSDEFormItemName" : "field4",
"getPSDEFormItemName" : "field4",
"valueRuleType" : "DEFVALUERULE"
"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"
} ],
} ],
"getPSDEFormItems" : [ {
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"id" : "srfupdatedate",
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录