提交 9b9e4546 编写于 作者: ibizdev's avatar ibizdev

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

上级 74bd7351
...@@ -55,12 +55,6 @@ ...@@ -55,12 +55,6 @@
git clone -b master $para2 trainsys/ git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/ cd trainsys/
mvn clean package -Ptrainsys
mvn install -Ptrainsys
cd trainsys-provider
mvn -Ptrainsys docker:build
mvn -Ptrainsys docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/trainsys-provider-trainsys.yaml ebsx --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -140,30 +140,6 @@ ...@@ -140,30 +140,6 @@
"refTag" : "FETCH" "refTag" : "FETCH"
} ], } ],
"getAllPSAppDEUIActions" : [ { "getAllPSAppDEUIActions" : [ {
"actionTarget" : "NONE",
"caption" : "全部折叠",
"codeName" : "ALLCOLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLCOLLAPSE",
"name" : "全部折叠",
"scriptCode" : "view.callUIAction('AllCollapse');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLCOLLAPSE",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "全部展开",
"codeName" : "ALLEXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLEXPAND",
"name" : "全部展开",
"scriptCode" : "view.callUIAction('AllExpand');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLEXPAND",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "添加全部", "caption" : "添加全部",
"codeName" : "AddAll", "codeName" : "AddAll",
"fullCodeName" : "AddAll", "fullCodeName" : "AddAll",
...@@ -183,18 +159,6 @@ ...@@ -183,18 +159,6 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "AddSelection", "uIActionTag" : "AddSelection",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "折叠",
"codeName" : "COLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
"uIActionType" : "DEUIACTION"
}, { }, {
"caption" : "取消", "caption" : "取消",
"codeName" : "Cancel", "codeName" : "Cancel",
...@@ -215,6 +179,26 @@ ...@@ -215,6 +179,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "CancelChanges", "uIActionTag" : "CancelChanges",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "收缩",
"codeName" : "Collapse",
"fullCodeName" : "Collapse",
"name" : "收缩",
"predefinedType" : "UTIL_COLLAPSE",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Collapse",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部收缩",
"codeName" : "CollapseAll",
"fullCodeName" : "CollapseAll",
"name" : "全部收缩",
"predefinedType" : "UTIL_COLLAPSEALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "CollapseAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"actionTarget" : "SINGLEKEY", "actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -267,18 +251,6 @@ ...@@ -267,18 +251,6 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "CreateObject", "uIActionTag" : "CreateObject",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "展开",
"codeName" : "EXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
"uIActionType" : "DEUIACTION"
}, { }, {
"actionTarget" : "SINGLEKEY", "actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -320,6 +292,26 @@ ...@@ -320,6 +292,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Exit", "uIActionTag" : "Exit",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "展开",
"codeName" : "Expand",
"fullCodeName" : "Expand",
"name" : "展开",
"predefinedType" : "UTIL_EXPAND",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Expand",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部展开",
"codeName" : "ExpandAll",
"fullCodeName" : "ExpandAll",
"name" : "全部展开",
"predefinedType" : "UTIL_EXPANDALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExpandAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT" "lanResTag" : "TBB.TEXT.*.EXPORT"
...@@ -888,18 +880,6 @@ ...@@ -888,18 +880,6 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Synchronize", "uIActionTag" : "Synchronize",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "切换",
"codeName" : "TOGGLE",
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
"uIActionType" : "DEUIACTION"
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER" "lanResTag" : "TBB.TEXT.*.FILTER"
......
...@@ -445,30 +445,6 @@ ...@@ -445,30 +445,6 @@
"rSMode" : 2 "rSMode" : 2
} ], } ],
"getAllPSAppDEUIActions" : [ { "getAllPSAppDEUIActions" : [ {
"actionTarget" : "NONE",
"caption" : "全部折叠",
"codeName" : "ALLCOLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLCOLLAPSE",
"name" : "全部折叠",
"scriptCode" : "view.callUIAction('AllCollapse');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLCOLLAPSE",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "全部展开",
"codeName" : "ALLEXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLEXPAND",
"name" : "全部展开",
"scriptCode" : "view.callUIAction('AllExpand');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLEXPAND",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "添加全部", "caption" : "添加全部",
"codeName" : "AddAll", "codeName" : "AddAll",
"fullCodeName" : "AddAll", "fullCodeName" : "AddAll",
...@@ -488,18 +464,6 @@ ...@@ -488,18 +464,6 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "AddSelection", "uIActionTag" : "AddSelection",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "折叠",
"codeName" : "COLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
"uIActionType" : "DEUIACTION"
}, { }, {
"caption" : "取消", "caption" : "取消",
"codeName" : "Cancel", "codeName" : "Cancel",
...@@ -520,6 +484,26 @@ ...@@ -520,6 +484,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "CancelChanges", "uIActionTag" : "CancelChanges",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "收缩",
"codeName" : "Collapse",
"fullCodeName" : "Collapse",
"name" : "收缩",
"predefinedType" : "UTIL_COLLAPSE",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Collapse",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部收缩",
"codeName" : "CollapseAll",
"fullCodeName" : "CollapseAll",
"name" : "全部收缩",
"predefinedType" : "UTIL_COLLAPSEALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "CollapseAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"actionTarget" : "SINGLEKEY", "actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -572,18 +556,6 @@ ...@@ -572,18 +556,6 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "CreateObject", "uIActionTag" : "CreateObject",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "展开",
"codeName" : "EXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
"uIActionType" : "DEUIACTION"
}, { }, {
"actionTarget" : "SINGLEKEY", "actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -625,6 +597,26 @@ ...@@ -625,6 +597,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Exit", "uIActionTag" : "Exit",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "展开",
"codeName" : "Expand",
"fullCodeName" : "Expand",
"name" : "展开",
"predefinedType" : "UTIL_EXPAND",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Expand",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部展开",
"codeName" : "ExpandAll",
"fullCodeName" : "ExpandAll",
"name" : "全部展开",
"predefinedType" : "UTIL_EXPANDALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExpandAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT" "lanResTag" : "TBB.TEXT.*.EXPORT"
...@@ -1179,18 +1171,6 @@ ...@@ -1179,18 +1171,6 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Synchronize", "uIActionTag" : "Synchronize",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "切换",
"codeName" : "TOGGLE",
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
"uIActionType" : "DEUIACTION"
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER" "lanResTag" : "TBB.TEXT.*.FILTER"
......
...@@ -362,30 +362,6 @@ ...@@ -362,30 +362,6 @@
"templCode2" : "{\"template\":\"function anonymous(\\n) {\\nwith(this){return _c('div',{staticClass:\\\"plugin\\\"},[_v(\\\"插件\\\")])}\\n}\",\"script\":\"\\r\\nexport default {\\r\\n\\r\\n}\\r\\n\",\"style\":\"\\r\\n.plugin {\\r\\n color: red;\\r\\n}\\r\\n\"}" "templCode2" : "{\"template\":\"function anonymous(\\n) {\\nwith(this){return _c('div',{staticClass:\\\"plugin\\\"},[_v(\\\"插件\\\")])}\\n}\",\"script\":\"\\r\\nexport default {\\r\\n\\r\\n}\\r\\n\",\"style\":\"\\r\\n.plugin {\\r\\n color: red;\\r\\n}\\r\\n\"}"
} ], } ],
"getAllPSAppDEUIActions" : [ { "getAllPSAppDEUIActions" : [ {
"actionTarget" : "NONE",
"caption" : "全部折叠",
"codeName" : "ALLCOLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLCOLLAPSE",
"name" : "全部折叠",
"scriptCode" : "view.callUIAction('AllCollapse');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLCOLLAPSE",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "全部展开",
"codeName" : "ALLEXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "ALLEXPAND",
"name" : "全部展开",
"scriptCode" : "view.callUIAction('AllExpand');",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "ALLEXPAND",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "添加全部", "caption" : "添加全部",
"codeName" : "AddAll", "codeName" : "AddAll",
"fullCodeName" : "AddAll", "fullCodeName" : "AddAll",
...@@ -405,18 +381,6 @@ ...@@ -405,18 +381,6 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "AddSelection", "uIActionTag" : "AddSelection",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "折叠",
"codeName" : "COLLAPSE",
"frontProcessType" : "OTHER",
"fullCodeName" : "COLLAPSE",
"name" : "折叠",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Collapse', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Collapse', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('Collapse', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "COLLAPSE",
"uIActionType" : "DEUIACTION"
}, { }, {
"caption" : "取消", "caption" : "取消",
"codeName" : "Cancel", "codeName" : "Cancel",
...@@ -437,6 +401,26 @@ ...@@ -437,6 +401,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "CancelChanges", "uIActionTag" : "CancelChanges",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "收缩",
"codeName" : "Collapse",
"fullCodeName" : "Collapse",
"name" : "收缩",
"predefinedType" : "UTIL_COLLAPSE",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Collapse",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部收缩",
"codeName" : "CollapseAll",
"fullCodeName" : "CollapseAll",
"name" : "全部收缩",
"predefinedType" : "UTIL_COLLAPSEALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "CollapseAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"actionTarget" : "SINGLEKEY", "actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -489,18 +473,6 @@ ...@@ -489,18 +473,6 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "CreateObject", "uIActionTag" : "CreateObject",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "展开",
"codeName" : "EXPAND",
"frontProcessType" : "OTHER",
"fullCodeName" : "EXPAND",
"name" : "展开",
"scriptCode" : "\r\nconst grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('Expand', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('Expand', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\n\r\nview.callUIAction('Expand', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "EXPAND",
"uIActionType" : "DEUIACTION"
}, { }, {
"actionTarget" : "SINGLEKEY", "actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -542,6 +514,26 @@ ...@@ -542,6 +514,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Exit", "uIActionTag" : "Exit",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "展开",
"codeName" : "Expand",
"fullCodeName" : "Expand",
"name" : "展开",
"predefinedType" : "UTIL_EXPAND",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Expand",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部展开",
"codeName" : "ExpandAll",
"fullCodeName" : "ExpandAll",
"name" : "全部展开",
"predefinedType" : "UTIL_EXPANDALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExpandAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT" "lanResTag" : "TBB.TEXT.*.EXPORT"
...@@ -1096,18 +1088,6 @@ ...@@ -1096,18 +1088,6 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Synchronize", "uIActionTag" : "Synchronize",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "切换",
"codeName" : "TOGGLE",
"frontProcessType" : "OTHER",
"fullCodeName" : "TOGGLE",
"name" : "切换",
"scriptCode" : "const grid = view.getController('grid');\r\nif (grid) {\r\n const selectedData = grid.state.selectedData;\r\n const group = selectedData.find(x => x.isGroupData);\r\n view.callUIAction('ToggleExpansion', {tag: group.srfkey});\r\n return;\r\n}\r\nif (data.length > 0) {\r\n const option = data[0];\r\n if (option.srfnodeid) {\r\n view.callUIAction('ToggleExpansion', {tag: option.srfnodeid});\r\n return;\r\n }\r\n}\r\nview.callUIAction('ToggleExpansion', {tag: params.srfgroupid});",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "TOGGLE",
"uIActionType" : "DEUIACTION"
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.FILTER" "lanResTag" : "TBB.TEXT.*.FILTER"
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
"name" : "calendarexpbar", "name" : "calendarexpbar",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}, },
"getPSAppViewRefs" : [ { "getPSAppViewRefs" : [ {
"name" : "EXPITEM:calendarbookitem", "name" : "EXPITEM:calendarbookitem",
...@@ -363,6 +363,124 @@ ...@@ -363,6 +363,124 @@
"name" : "calendarexpbar_calendar", "name" : "calendarexpbar_calendar",
"modelid" : "C10C79E5-8EFD-4A5E-B0C6-E5DC49DA3E89", "modelid" : "C10C79E5-8EFD-4A5E-B0C6-E5DC49DA3E89",
"modeltype" : "PSSYSCALENDAR" "modeltype" : "PSSYSCALENDAR"
}, {
"codeName" : "CalendarExpViewcalendarexpbar_toolbar",
"controlType" : "TOOLBAR",
"logicName" : "学生表格视图_工具栏",
"name" : "calendarexpbar_toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : {
"id" : "calendarexpbar_toolbar"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "calendarexpbar_toolbar_deuiaction1"
},
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"codeName" : "New",
"fullCodeName" : "New",
"name" : "表格界面_新建操作",
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"predefinedType" : "GRIDVIEW_NEWACTION",
"refreshMode" : 1,
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW"
},
"uIActionMode" : "SYS",
"uIActionTag" : "New",
"uIActionType" : "DEUIACTION",
"reloadData" : true
},
"tooltip" : "新建",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.NEW"
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "seperator1",
"getPSControlLogics" : [ {
"itemName" : "seperator1",
"logicTag" : "calendarexpbar_toolbar",
"logicType" : "SCRIPT",
"name" : "logic",
"scriptCode" : "false",
"triggerType" : "ITEMVISIBLE"
} ]
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "calendarexpbar_toolbar_deuiaction2"
},
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"codeName" : "Edit",
"fullCodeName" : "Edit",
"name" : "表格界面_编辑操作",
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"predefinedType" : "GRIDVIEW_EDITACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EDIT"
},
"uIActionTarget" : "SINGLEKEY",
"showCaption" : true,
"showIcon" : true
} ],
"modelid" : "EA055F0F-4292-4BD9-85F4-82D57C5D8655",
"modeltype" : "PSDETOOLBAR"
} ], } ],
"xDataControlName" : "calendarexpbar_calendar", "xDataControlName" : "calendarexpbar_calendar",
"enableCounter" : true, "enableCounter" : true,
......
...@@ -1641,6 +1641,26 @@ ...@@ -1641,6 +1641,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "CancelChanges", "uIActionTag" : "CancelChanges",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "收缩",
"codeName" : "Collapse",
"fullCodeName" : "Collapse",
"name" : "收缩",
"predefinedType" : "UTIL_COLLAPSE",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Collapse",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部收缩",
"codeName" : "CollapseAll",
"fullCodeName" : "CollapseAll",
"name" : "全部收缩",
"predefinedType" : "UTIL_COLLAPSEALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "CollapseAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"actionTarget" : "SINGLEKEY", "actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -1746,6 +1766,26 @@ ...@@ -1746,6 +1766,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Exit", "uIActionTag" : "Exit",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "展开",
"codeName" : "Expand",
"fullCodeName" : "Expand",
"name" : "展开",
"predefinedType" : "UTIL_EXPAND",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Expand",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部展开",
"codeName" : "ExpandAll",
"fullCodeName" : "ExpandAll",
"name" : "全部展开",
"predefinedType" : "UTIL_EXPANDALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExpandAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT" "lanResTag" : "TBB.TEXT.*.EXPORT"
...@@ -36728,59 +36768,48 @@ ...@@ -36728,59 +36768,48 @@
"codeName" : "Usr0822434654", "codeName" : "Usr0822434654",
"name" : "测试折叠行为组", "name" : "测试折叠行为组",
"getPSUIActionGroupDetails" : [ { "getPSUIActionGroupDetails" : [ {
"caption" : "折叠", "caption" : "收缩",
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "ud009acb", "name" : "u3fa3a61",
"addSeparator" : false, "addSeparator" : false,
"showCaption" : true, "showCaption" : true,
"showIcon" : true, "showIcon" : true,
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "COLLAPSE" "id" : "Collapse"
} }
}, { }, {
"caption" : "展开", "caption" : "全部收缩",
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u829c1c1", "name" : "ucd03b62",
"addSeparator" : false, "addSeparator" : false,
"showCaption" : true, "showCaption" : true,
"showIcon" : true, "showIcon" : true,
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "EXPAND" "id" : "CollapseAll"
} }
}, { }, {
"caption" : "全部折叠", "caption" : "展开",
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u622015b", "name" : "u64f00a7",
"addSeparator" : false, "addSeparator" : false,
"showCaption" : true, "showCaption" : true,
"showIcon" : true, "showIcon" : true,
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "ALLCOLLAPSE" "id" : "Expand"
} }
}, { }, {
"caption" : "全部展开", "caption" : "全部展开",
"detailType" : "DEUIACTION", "detailType" : "DEUIACTION",
"name" : "u50499ea", "name" : "u2e9f042",
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true,
"getPSUIAction" : {
"modelref" : true,
"id" : "ALLEXPAND"
}
}, {
"caption" : "切换",
"detailType" : "DEUIACTION",
"name" : "u6b026f4",
"addSeparator" : false, "addSeparator" : false,
"showCaption" : true, "showCaption" : true,
"showIcon" : true, "showIcon" : true,
"getPSUIAction" : { "getPSUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "TOGGLE" "id" : "ExpandAll"
} }
} ] } ]
}, { }, {
...@@ -1442,6 +1442,26 @@ ...@@ -1442,6 +1442,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "CancelChanges", "uIActionTag" : "CancelChanges",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "收缩",
"codeName" : "Collapse",
"fullCodeName" : "Collapse",
"name" : "收缩",
"predefinedType" : "UTIL_COLLAPSE",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Collapse",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部收缩",
"codeName" : "CollapseAll",
"fullCodeName" : "CollapseAll",
"name" : "全部收缩",
"predefinedType" : "UTIL_COLLAPSEALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "CollapseAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"actionTarget" : "SINGLEKEY", "actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -1547,6 +1567,26 @@ ...@@ -1547,6 +1567,26 @@
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Exit", "uIActionTag" : "Exit",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, {
"caption" : "展开",
"codeName" : "Expand",
"fullCodeName" : "Expand",
"name" : "展开",
"predefinedType" : "UTIL_EXPAND",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Expand",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "全部展开",
"codeName" : "ExpandAll",
"fullCodeName" : "ExpandAll",
"name" : "全部展开",
"predefinedType" : "UTIL_EXPANDALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExpandAll",
"uIActionType" : "DEUIACTION"
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT" "lanResTag" : "TBB.TEXT.*.EXPORT"
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<profiles> <profiles>
<profile> <profile>
<id>trainsys</id> <id>runtime</id>
<build> <build>
<resources> <resources>
<resource> <resource>
......
...@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar
EXPOSE 50000 EXPOSE 8081
ADD trainsys-provider.jar /trainsys-provider.jar ADD trainsys-provider.jar /trainsys-provider.jar
...@@ -22,32 +22,7 @@ spec: ...@@ -22,32 +22,7 @@ spec:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 50000 - containerPort: 8081
env:
- name: SPRING_CLOUD_NACOS_DISCOVERY_IP
value: "172.16.240.140"
- name: SERVER_PORT
value: "50000"
- name: SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR
value: "172.16.240.140:8848"
- name: SPRING_REDIS_HOST
value: "127.0.0.1"
- name: SPRING_REDIS_PORT
value: "6379"
- name: SPRING_REDIS_DATABASE
value: "0"
- name: SPRING_DATASOURCE_USERNAME
value: "a_LAB01_d23cc850e"
- name: SPRING_DATASOURCE_PASSWORD
value: "f9Df4556"
- name: SPRING_DATASOURCE_URL
value: "jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8"
- name: SPRING_DATASOURCE_DRIVER-CLASS-NAME
value: "com.mysql.jdbc.Driver"
- name: SPRING_DATASOURCE_DEFAULTSCHEMA
value: "a_LAB01_d23cc850e"
- name: NACOS
value: "172.16.240.140:8848"
--- ---
apiVersion: v1 apiVersion: v1
...@@ -60,9 +35,9 @@ spec: ...@@ -60,9 +35,9 @@ spec:
type: NodePort type: NodePort
ports: ports:
- name: http - name: http
port: 50000 port: 8081
targetPort: 50000 targetPort: 8081
nodePort: 50000 nodePort: 8081
protocol: TCP protocol: TCP
selector: selector:
app: trainsys-provider app: trainsys-provider
......
...@@ -3,23 +3,9 @@ services: ...@@ -3,23 +3,9 @@ services:
trainsys-provider: trainsys-provider:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
ports: ports:
- "50000:50000" - "8081:8081"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.140
- SERVER_PORT=50000
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.140:8848
- SPRING_CLOUD_NACOS_CONFIG_SERVER-ADDR=172.16.240.140:8848
- SPRING_REDIS_HOST=127.0.0.1
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_d23cc850e
- SPRING_DATASOURCE_PASSWORD=f9Df4556
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_d23cc850e
- NACOS=172.16.240.140:8848
deploy: deploy:
resources: resources:
limits: limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册