提交 838a5a43 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [TrainSys,网页端]

上级 b5c4da33
......@@ -4411,6 +4411,12 @@
"name" : "测试实体实体编辑视图(功能确认表单元素)",
"realModelSubType" : "DEEDITVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "TreeGridView",
"logicName" : "测试实体实体树表格视图",
"name" : "测试实体实体树表格视图",
"realModelSubType" : "DETREEGRIDVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "DEPanelViewLayout",
"logicName" : "实体面板视图布局面板",
......
......@@ -3584,6 +3584,97 @@
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "fieldScript",
"defaultParamName" : "Default",
"logicName" : "参数属性脚本",
"memo" : "参数取值支持xxx.ddd.ccc的写法",
"name" : "参数属性脚本",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"topPos" : 200,
"parallelOutput" : true
}, {
"codeName" : "PREPAREJSPARAM1",
"leftPos" : 540,
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "visible",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"name" : "直接值[false] ==> viewCaptionBarState[visible]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "false",
"srcValueType" : "SRCVALUE"
} ],
"topPos" : 208
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"leftPos" : 329,
"logicNodeType" : "BINDPARAM",
"name" : "绑定标题栏状态",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "layoutPanel.panelItems.view_captionbar.state",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
},
"topPos" : 208
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "viewCaptionBarState",
"logicName" : "面板标题栏容器",
"name" : "面板标题栏容器",
"entityParam" : true
}, {
"codeName" : "view",
"logicName" : "视图控制器",
"name" : "视图控制器",
"activeViewParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "gridBeforeLoad",
"defaultParamName" : "Default",
......
......@@ -20106,6 +20106,97 @@
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "fieldScript",
"defaultParamName" : "Default",
"logicName" : "参数属性脚本",
"memo" : "参数取值支持xxx.ddd.ccc的写法",
"name" : "参数属性脚本",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"topPos" : 200,
"parallelOutput" : true
}, {
"codeName" : "PREPAREJSPARAM1",
"leftPos" : 540,
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "visible",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"name" : "直接值[false] ==> viewCaptionBarState[visible]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "false",
"srcValueType" : "SRCVALUE"
} ],
"topPos" : 208
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"leftPos" : 329,
"logicNodeType" : "BINDPARAM",
"name" : "绑定标题栏状态",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "layoutPanel.panelItems.view_captionbar.state",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
},
"topPos" : 208
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "viewCaptionBarState",
"logicName" : "面板标题栏容器",
"name" : "面板标题栏容器",
"entityParam" : true
}, {
"codeName" : "view",
"logicName" : "视图控制器",
"name" : "视图控制器",
"activeViewParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "gridBeforeLoad",
"defaultParamName" : "Default",
......@@ -3594,6 +3594,97 @@
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "fieldScript",
"defaultParamName" : "Default",
"logicName" : "参数属性脚本",
"memo" : "参数取值支持xxx.ddd.ccc的写法",
"name" : "参数属性脚本",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"topPos" : 200,
"parallelOutput" : true
}, {
"codeName" : "PREPAREJSPARAM1",
"leftPos" : 540,
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "visible",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"name" : "直接值[false] ==> viewCaptionBarState[visible]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "false",
"srcValueType" : "SRCVALUE"
} ],
"topPos" : 208
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"leftPos" : 329,
"logicNodeType" : "BINDPARAM",
"name" : "绑定标题栏状态",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "layoutPanel.panelItems.view_captionbar.state",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
},
"topPos" : 208
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "viewCaptionBarState",
"logicName" : "面板标题栏容器",
"name" : "面板标题栏容器",
"entityParam" : true
}, {
"codeName" : "view",
"logicName" : "视图控制器",
"name" : "视图控制器",
"activeViewParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "gridBeforeLoad",
"defaultParamName" : "Default",
......
......@@ -1400,16 +1400,16 @@
"codeName" : "VMGroup2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息",
"name" : "视图消息2",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg2"
"id" : "ViewMsg3"
}
}, {
"name" : "视图消息2",
"name" : "视图消息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg3"
"id" : "ViewMsg2"
}
} ]
}, {
......
......@@ -3983,6 +3983,97 @@
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "fieldScript",
"defaultParamName" : "Default",
"logicName" : "参数属性脚本",
"memo" : "参数取值支持xxx.ddd.ccc的写法",
"name" : "参数属性脚本",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"topPos" : 200,
"parallelOutput" : true
}, {
"codeName" : "PREPAREJSPARAM1",
"leftPos" : 540,
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "visible",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"name" : "直接值[false] ==> viewCaptionBarState[visible]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "false",
"srcValueType" : "SRCVALUE"
} ],
"topPos" : 208
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"leftPos" : 329,
"logicNodeType" : "BINDPARAM",
"name" : "绑定标题栏状态",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "layoutPanel.panelItems.view_captionbar.state",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
},
"topPos" : 208
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "viewCaptionBarState",
"logicName" : "面板标题栏容器",
"name" : "面板标题栏容器",
"entityParam" : true
}, {
"codeName" : "view",
"logicName" : "视图控制器",
"name" : "视图控制器",
"activeViewParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "gridBeforeLoad",
"defaultParamName" : "Default",
......
......@@ -19,13 +19,6 @@
"name" : "engine"
} ],
"getPSAppViewLogics" : [ {
"eventNames" : "onSelectionChange",
"logicTrigger" : "CTRLEVENT",
"logicType" : "SCRIPT",
"name" : "TESTSCRIPT",
"getPSViewCtrlName" : "grid",
"scriptCode" : "if(!data?.length){\r\n return;\r\n}\r\nconst result = await util.confirm.success({\r\n title: '标题',\r\n desc: '是否确认删除',\r\n});\r\ndebugger;\r\nif(!result){\r\n return;\r\n}\r\nconst grid = view.getController('grid');\r\nawait grid.remove({data,silent:true});\r\nutil.notification.success({ title: '保存成功' });"
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "newdata",
......@@ -78,7 +71,7 @@
}
} ],
"getPSAppViewRefs" : [ {
"name" : "NEWDATA",
"name" : "OPENDATA",
"realTitle" : "逻辑测试编辑视图",
"getRefPSAppView" : {
"modelref" : true,
......@@ -86,7 +79,7 @@
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA",
"name" : "NEWDATA",
"realTitle" : "逻辑测试编辑视图",
"getRefPSAppView" : {
"modelref" : true,
......@@ -94,7 +87,7 @@
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "OPENDATA",
"name" : "EDITDATA",
"realTitle" : "逻辑测试编辑视图",
"getRefPSAppView" : {
"modelref" : true,
......
......@@ -9382,16 +9382,16 @@
"codeName" : "VMGroup2",
"name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息",
"name" : "视图消息2",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg2"
"id" : "ViewMsg3"
}
}, {
"name" : "视图消息2",
"name" : "视图消息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg3"
"id" : "ViewMsg2"
}
} ]
}, {
......@@ -9409,22 +9409,22 @@
"codeName" : "VMGroup3",
"name" : "视图消息类型测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-错误信息",
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
"id" : "ViewMsg4"
}
}, {
"name" : "消息类型-警告信息",
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg5"
"id" : "ViewMsg6"
}
}, {
"name" : "消息类型-常规信息",
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg4"
"id" : "ViewMsg5"
}
} ]
}, {
......@@ -9441,65 +9441,57 @@
"codeName" : "VMGroup4",
"name" : "视图消息位置测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-视图方",
"name" : "消息位置-视图方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg7"
"id" : "ViewMsg8"
}
}, {
"name" : "消息位置-视图下方",
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg8"
"id" : "ViewMsg9"
}
}, {
"name" : "消息位置-弹出",
"name" : "消息位置-视图上方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg10"
"id" : "ViewMsg7"
}
}, {
"name" : "消息位置-视图内容区",
"name" : "消息位置-弹出",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
"id" : "ViewMsg10"
}
} ]
}, {
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-警告信息",
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg5"
"id" : "ViewMsg4"
},
"position" : "POPUP"
}, {
"name" : "关闭模式-本次删除-上方-警告",
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg13"
"id" : "ViewMsg11"
}
}, {
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
},
"position" : "POPUP"
}, {
"name" : "消息类型-常规信息",
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg4"
},
"position" : "POPUP"
"id" : "ViewMsg9"
}
}, {
"name" : "关闭模式-无删除-上方-常规",
"name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
"id" : "ViewMsg12"
}
}, {
"name" : "消息位置-视图下方",
......@@ -9508,32 +9500,40 @@
"id" : "ViewMsg8"
}
}, {
"name" : "消息位置-视图内容区",
"name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
"id" : "ViewMsg13"
}
}, {
"name" : "关闭模式-默认删除-上方-错误",
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
}
"id" : "ViewMsg5"
},
"position" : "POPUP"
}, {
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
},
"position" : "POPUP"
} ]
}, {
"codeName" : "VMGroup5",
"name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-删除",
"name" : "关闭模式-默认删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
"id" : "ViewMsg12"
}
}, {
"name" : "关闭模式-默认删除",
"name" : "关闭模式-删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
"id" : "ViewMsg11"
}
}, {
"name" : "关闭模式-本次删除",
......@@ -47855,6 +47855,97 @@
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "fieldScript",
"defaultParamName" : "Default",
"logicName" : "参数属性脚本",
"memo" : "参数取值支持xxx.ddd.ccc的写法",
"name" : "参数属性脚本",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
} ],
"topPos" : 200,
"parallelOutput" : true
}, {
"codeName" : "PREPAREJSPARAM1",
"leftPos" : 540,
"logicNodeType" : "PREPAREJSPARAM",
"name" : "准备参数",
"getPSDEUILogicNodeParams" : [ {
"dstFieldName" : "visible",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"name" : "直接值[false] ==> viewCaptionBarState[visible]",
"paramAction" : "SETPARAMVALUE",
"srcValue" : "false",
"srcValueType" : "SRCVALUE"
} ],
"topPos" : 208
}, {
"codeName" : "BINDPARAM1",
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "viewCaptionBarState"
},
"leftPos" : 329,
"logicNodeType" : "BINDPARAM",
"name" : "绑定标题栏状态",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "PREPAREJSPARAM1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "BINDPARAM1"
}
} ],
"srcFieldName" : "layoutPanel.panelItems.view_captionbar.state",
"getSrcPSDEUILogicParam" : {
"modelref" : true,
"id" : "view"
},
"topPos" : 208
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
}, {
"codeName" : "viewCaptionBarState",
"logicName" : "面板标题栏容器",
"name" : "面板标题栏容器",
"entityParam" : true
}, {
"codeName" : "view",
"logicName" : "视图控制器",
"name" : "视图控制器",
"activeViewParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "gridBeforeLoad",
"defaultParamName" : "Default",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册