提交 3d377075 编写于 作者: ibizdev's avatar ibizdev

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

上级 23dd0718
...@@ -183,6 +183,20 @@ ...@@ -183,6 +183,20 @@
"name" : "TESTGRIDNAME", "name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName" "codeName" : "TESTGRIDName"
} }
}, {
"id" : "formitem4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
}, {
"id" : "formitem5",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
} ], } ],
"getPSDEFormPages" : [ { "getPSDEFormPages" : [ {
"caption" : "其它", "caption" : "其它",
...@@ -659,6 +673,104 @@ ...@@ -659,6 +673,104 @@
}, },
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TESTGRIDNAME"
},
"caption" : "测试表格名称",
"codeName" : "formitem4",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem4",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
},
"getPSEditor" : {
"editorParams" : {
"USERINSCRIPT" : "value.replaceAll(/\\@\\{\\\"(user)?id\\\":\\\"(.+?)\\\",\\\"name\\\":\\\"(.+?)\\\"\\}/g,(x, user, id, name) => {return controller.getNodeInfo({ id, name })}).replaceAll(/\\@\\{userid=(.+?),name=(.+?)\\}/g,(x, id, name) => {return controller.getNodeInfo({ id, name })})",
"QUOTECODELISTMAP" : "{\"type\":\"trainsys.follow_state\"}",
"QUOTEFIELDMAP" : "{\"identifier\":\"show_identifier\",\"name\":\"name\",\"id\":\"id\",\"type\":\"owner_subtype\"}",
"QUOTEPARAMS" : "{\"page\":0,\"size\":20,\"sort\":\"update_time,desc\"}",
"QUOTEINSCRIPT" : "value.replaceAll(/\\#\\{\\\"id\\\":\\\"(.+?)\\\",\\\"name\\\":\\\"(.+?)\\\",\\\"identifier\\\":\\\"(.+?)\\\",\\\"icon\\\":\\\"((.|[\\t\\r\\f\\n\\s])+?)\\\"\\}/g,(x, id, name, identifier, icon) => {return controller.getNodeInfo({ id, name, identifier, icon })}).replaceAll(/\\#\\{id=(.+?),name=(.+?),identifier=(.+?),icon=((.|[\\t\\r\\f\\n\\s])+?)\\}/g,(x, id, name, identifier, icon) => {return controller.getNodeInfo({ id, name, identifier, icon })})",
"USERSCRIPT" : "`@{\"id\":\"${data.id}\",\"name\":\"${data.name}\"}`",
"QUOTESCRIPT" : "`#{\"id\":\"${data.id}\",\"name\":\"${data.name}\",\"identifier\":\"${data.identifier}\",\"icon\":\"${data.icon}\"}`",
"REPLYSCRIPT" : "value?.replace(/@{[^,]*,\"name\":\"(.*?)\"}/g,\"<span class=\\'comment-tag\\'>@$1</span>\").replace(/@{[^,]*,name=(.*?)}/g,\"<span class=\\'comment-tag\\'>@$1</span>\").replace(/#{\"id\":\"(.+?)\",\"name\":\"(.+?)\",\"identifier\":\"(.+?)\",\"icon\":\"((.|[\\t\\r\\f\\n\\s])+?)\"}/g, \"<span class=\\'comment-tag\\'>$4 $3 $2</span>\").replace(/#{id=(.+?),name=(.+?),identifier=(.+?),icon=((.|[\\t\\r\\f\\n\\s])+?)}/g, \"<span class=\\'comment-tag\\'>$4 $3 $2</span>\")",
"USERFIELDMAP" : "{\"id\":\"user_id\",\"name\":\"name\"}",
"USERURL" : "`projects/${context.project}/project_members/fetch_default`",
"QUOTEURL" : "`recents/fetch_recent_access`"
},
"editorStyle" : "COMMENT_PROJECT",
"editorType" : "HTMLEDITOR",
"name" : "formitem4",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "COMMENT",
"runtimeObject" : true
}
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TESTGRIDNAME"
},
"caption" : "测试表格名称",
"codeName" : "formitem5",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem5",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
},
"getPSEditor" : {
"editorParams" : {
"USERINSCRIPT" : "value.replaceAll(/\\@\\{\\\"(user)?id\\\":\\\"(.+?)\\\",\\\"name\\\":\\\"(.+?)\\\"\\}/g,(x, user, id, name) => {return controller.getNodeInfo({ id, name })}).replaceAll(/\\@\\{userid=(.+?),name=(.+?)\\}/g,(x, id, name) => {return controller.getNodeInfo({ id, name })})",
"MAXHEIGHT" : "450",
"QUOTECODELISTMAP" : "{\"type\":\"trainsys.follow_state\"}",
"QUOTEFIELDMAP" : "{\"identifier\":\"show_identifier\",\"name\":\"name\",\"id\":\"id\",\"type\":\"owner_subtype\"}",
"QUOTEPARAMS" : "{\"page\":0,\"size\":20,\"sort\":\"update_time,desc\"}",
"MODE" : "default",
"QUOTEINSCRIPT" : "value.replaceAll(/\\#\\{\\\"id\\\":\\\"(.+?)\\\",\\\"name\\\":\\\"(.+?)\\\",\\\"identifier\\\":\\\"(.+?)\\\",\\\"icon\\\":\\\"((.|[\\t\\r\\f\\n\\s])+?)\\\"\\}/g,(x, id, name, identifier, icon) => {return controller.getNodeInfo({ id, name, identifier, icon })}).replaceAll(/\\#\\{id=(.+?),name=(.+?),identifier=(.+?),icon=((.|[\\t\\r\\f\\n\\s])+?)\\}/g,(x, id, name, identifier, icon) => {return controller.getNodeInfo({ id, name, identifier, icon })})",
"USERSCRIPT" : "`@{\"id\":\"${data.id}\",\"name\":\"${data.name}\"}`",
"QUOTESCRIPT" : "`#{\"id\":\"${data.id}\",\"name\":\"${data.name}\",\"identifier\":\"${data.identifier}\",\"icon\":\"${data.icon}\"}`",
"USERURL" : "`${context.library ? `libraries/${context.library}/library_members/fetch_default` : context.product ? `products/${context.product}/product_members/fetch_default` : context.project ? `projects/${context.project}/project_members/fetch_default` : ''}`",
"USERFIELDMAP" : "{\"id\":\"user_id\",\"name\":\"name\"}",
"INSERTKEYS" : "[{\"index\":66,\"keys\":[\"marker\"]},{\"index\":5,\"keys\":[\"paintformat\"]}]",
"QUOTEURL" : "`recents/fetch_recent_access`"
},
"editorStyle" : "COLLAPSE",
"editorType" : "HTMLEDITOR",
"name" : "formitem5",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "COMMENT",
"runtimeObject" : true
}
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColMD" : 24, "childColMD" : 24,
......
...@@ -674,6 +674,20 @@ ...@@ -674,6 +674,20 @@
"name" : "TESTGRIDNAME", "name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName" "codeName" : "TESTGRIDName"
} }
}, {
"id" : "formitem4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
}, {
"id" : "formitem5",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
} ], } ],
"getPSDEFormPages" : [ { "getPSDEFormPages" : [ {
"caption" : "其它", "caption" : "其它",
...@@ -1150,6 +1164,104 @@ ...@@ -1150,6 +1164,104 @@
}, },
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TESTGRIDNAME"
},
"caption" : "测试表格名称",
"codeName" : "formitem4",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem4",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
},
"getPSEditor" : {
"editorParams" : {
"USERINSCRIPT" : "value.replaceAll(/\\@\\{\\\"(user)?id\\\":\\\"(.+?)\\\",\\\"name\\\":\\\"(.+?)\\\"\\}/g,(x, user, id, name) => {return controller.getNodeInfo({ id, name })}).replaceAll(/\\@\\{userid=(.+?),name=(.+?)\\}/g,(x, id, name) => {return controller.getNodeInfo({ id, name })})",
"QUOTECODELISTMAP" : "{\"type\":\"trainsys.follow_state\"}",
"QUOTEFIELDMAP" : "{\"identifier\":\"show_identifier\",\"name\":\"name\",\"id\":\"id\",\"type\":\"owner_subtype\"}",
"QUOTEPARAMS" : "{\"page\":0,\"size\":20,\"sort\":\"update_time,desc\"}",
"QUOTEINSCRIPT" : "value.replaceAll(/\\#\\{\\\"id\\\":\\\"(.+?)\\\",\\\"name\\\":\\\"(.+?)\\\",\\\"identifier\\\":\\\"(.+?)\\\",\\\"icon\\\":\\\"((.|[\\t\\r\\f\\n\\s])+?)\\\"\\}/g,(x, id, name, identifier, icon) => {return controller.getNodeInfo({ id, name, identifier, icon })}).replaceAll(/\\#\\{id=(.+?),name=(.+?),identifier=(.+?),icon=((.|[\\t\\r\\f\\n\\s])+?)\\}/g,(x, id, name, identifier, icon) => {return controller.getNodeInfo({ id, name, identifier, icon })})",
"USERSCRIPT" : "`@{\"id\":\"${data.id}\",\"name\":\"${data.name}\"}`",
"QUOTESCRIPT" : "`#{\"id\":\"${data.id}\",\"name\":\"${data.name}\",\"identifier\":\"${data.identifier}\",\"icon\":\"${data.icon}\"}`",
"REPLYSCRIPT" : "value?.replace(/@{[^,]*,\"name\":\"(.*?)\"}/g,\"<span class=\\'comment-tag\\'>@$1</span>\").replace(/@{[^,]*,name=(.*?)}/g,\"<span class=\\'comment-tag\\'>@$1</span>\").replace(/#{\"id\":\"(.+?)\",\"name\":\"(.+?)\",\"identifier\":\"(.+?)\",\"icon\":\"((.|[\\t\\r\\f\\n\\s])+?)\"}/g, \"<span class=\\'comment-tag\\'>$4 $3 $2</span>\").replace(/#{id=(.+?),name=(.+?),identifier=(.+?),icon=((.|[\\t\\r\\f\\n\\s])+?)}/g, \"<span class=\\'comment-tag\\'>$4 $3 $2</span>\")",
"USERFIELDMAP" : "{\"id\":\"user_id\",\"name\":\"name\"}",
"USERURL" : "`projects/${context.project}/project_members/fetch_default`",
"QUOTEURL" : "`recents/fetch_recent_access`"
},
"editorStyle" : "COMMENT_PROJECT",
"editorType" : "HTMLEDITOR",
"name" : "formitem4",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "COMMENT",
"runtimeObject" : true
}
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TESTGRIDNAME"
},
"caption" : "测试表格名称",
"codeName" : "formitem5",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem5",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
},
"getPSEditor" : {
"editorParams" : {
"USERINSCRIPT" : "value.replaceAll(/\\@\\{\\\"(user)?id\\\":\\\"(.+?)\\\",\\\"name\\\":\\\"(.+?)\\\"\\}/g,(x, user, id, name) => {return controller.getNodeInfo({ id, name })}).replaceAll(/\\@\\{userid=(.+?),name=(.+?)\\}/g,(x, id, name) => {return controller.getNodeInfo({ id, name })})",
"MAXHEIGHT" : "450",
"QUOTECODELISTMAP" : "{\"type\":\"trainsys.follow_state\"}",
"QUOTEFIELDMAP" : "{\"identifier\":\"show_identifier\",\"name\":\"name\",\"id\":\"id\",\"type\":\"owner_subtype\"}",
"QUOTEPARAMS" : "{\"page\":0,\"size\":20,\"sort\":\"update_time,desc\"}",
"MODE" : "default",
"QUOTEINSCRIPT" : "value.replaceAll(/\\#\\{\\\"id\\\":\\\"(.+?)\\\",\\\"name\\\":\\\"(.+?)\\\",\\\"identifier\\\":\\\"(.+?)\\\",\\\"icon\\\":\\\"((.|[\\t\\r\\f\\n\\s])+?)\\\"\\}/g,(x, id, name, identifier, icon) => {return controller.getNodeInfo({ id, name, identifier, icon })}).replaceAll(/\\#\\{id=(.+?),name=(.+?),identifier=(.+?),icon=((.|[\\t\\r\\f\\n\\s])+?)\\}/g,(x, id, name, identifier, icon) => {return controller.getNodeInfo({ id, name, identifier, icon })})",
"USERSCRIPT" : "`@{\"id\":\"${data.id}\",\"name\":\"${data.name}\"}`",
"QUOTESCRIPT" : "`#{\"id\":\"${data.id}\",\"name\":\"${data.name}\",\"identifier\":\"${data.identifier}\",\"icon\":\"${data.icon}\"}`",
"USERURL" : "`${context.library ? `libraries/${context.library}/library_members/fetch_default` : context.product ? `products/${context.product}/product_members/fetch_default` : context.project ? `projects/${context.project}/project_members/fetch_default` : ''}`",
"USERFIELDMAP" : "{\"id\":\"user_id\",\"name\":\"name\"}",
"INSERTKEYS" : "[{\"index\":66,\"keys\":[\"marker\"]},{\"index\":5,\"keys\":[\"paintformat\"]}]",
"QUOTEURL" : "`recents/fetch_recent_access`"
},
"editorStyle" : "COLLAPSE",
"editorType" : "HTMLEDITOR",
"name" : "formitem5",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "COMMENT",
"runtimeObject" : true
}
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColMD" : 24, "childColMD" : 24,
......
...@@ -2886,6 +2886,30 @@ ...@@ -2886,6 +2886,30 @@
}, },
"pluginCode" : "CLIP_BOARD_SPAN", "pluginCode" : "CLIP_BOARD_SPAN",
"styleCode" : "CLIP_BOARD_SPAN" "styleCode" : "CLIP_BOARD_SPAN"
}, {
"codeName" : "COLLAPSE",
"containerType" : "FORMITEM",
"editorType" : "HTMLEDITOR",
"name" : "折叠富文本",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "COMMENT",
"runtimeObject" : true
},
"pluginCode" : "COMMENT",
"styleCode" : "COLLAPSE"
}, {
"codeName" : "COMMENT_PROJECT",
"containerType" : "FORMITEM",
"editorType" : "HTMLEDITOR",
"name" : "HTML(评论)(项目)",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "COMMENT",
"runtimeObject" : true
},
"pluginCode" : "COMMENT",
"styleCode" : "COMMENT_PROJECT"
}, { }, {
"codeName" : "COMMENT_PROJECT", "codeName" : "COMMENT_PROJECT",
"containerType" : "PANELFIELD", "containerType" : "PANELFIELD",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册