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

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

上级 b2226f8f
......@@ -176,6 +176,27 @@
}, {
"id" : "formitem1",
"dataType" : 25
}, {
"id" : "formitem3",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
}, {
"id" : "formitem4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
}, {
"id" : "formitem5",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "其它",
......@@ -623,6 +644,133 @@
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TESTGRIDNAME"
},
"caption" : "测试表格名称",
"codeName" : "formitem3",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem3",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
},
"getPSEditor" : {
"editorType" : "HTMLEDITOR",
"name" : "formitem3"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : 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\":\"plmweb.base__recent_visite\"}",
"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\":\"plmweb.base__recent_visite\"}",
"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" : {
"childColMD" : 24,
......
......@@ -667,6 +667,27 @@
}, {
"id" : "formitem1",
"dataType" : 25
}, {
"id" : "formitem3",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
}, {
"id" : "formitem4",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
}, {
"id" : "formitem5",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "其它",
......@@ -1114,6 +1135,133 @@
},
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.TESTGRIDNAME"
},
"caption" : "测试表格名称",
"codeName" : "formitem3",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem3",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "TESTGRIDNAME",
"codeName" : "TESTGRIDName"
},
"getPSEditor" : {
"editorType" : "HTMLEDITOR",
"name" : "formitem3"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : 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\":\"plmweb.base__recent_visite\"}",
"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\":\"plmweb.base__recent_visite\"}",
"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" : {
"childColMD" : 24,
......
......@@ -296,6 +296,10 @@
"getPSSysCss" : {
"cssName" : "test"
},
"getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"getPSUIActionGroup" : {
"codeName" : "Usr0803774731",
"name" : "门户界面行为组",
......
......@@ -2886,6 +2886,30 @@
},
"pluginCode" : "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",
"containerType" : "PANELFIELD",
......@@ -6786,7 +6810,7 @@
"pluginCode" : "COMMENT",
"pluginType" : "EDITOR_CUSTOMSTYLE",
"rTObjectName" : "IBizHtmlComment",
"rTObjectRepo" : "@ibiz-template-plm/html-comment@0.0.3-dev.59",
"rTObjectRepo" : "@ibiz-template-plm/html-comment@0.0.3-dev.274",
"refMode" : "EDITORSTYPE",
"runtimeObject" : true
}, {
......@@ -54,7 +54,7 @@
"pluginCode" : "COMMENT",
"pluginType" : "EDITOR_CUSTOMSTYLE",
"rTObjectName" : "IBizHtmlComment",
"rTObjectRepo" : "@ibiz-template-plm/html-comment@0.0.3-dev.59",
"rTObjectRepo" : "@ibiz-template-plm/html-comment@0.0.3-dev.274",
"refMode" : "EDITORSTYPE",
"runtimeObject" : true
}, {
......
......@@ -1134,6 +1134,20 @@
},
"styleCode" : "COMMENT_PROJECT",
"replaceDefault" : false
}, {
"codeName" : "COLLAPSE",
"dynaModelFilePath" : "PSSYSEDITORSTYLES/COLLAPSE.json",
"editorHeight" : -1.0,
"editorType" : "HTMLEDITOR",
"editorWidth" : -1.0,
"name" : "折叠富文本",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "COMMENT",
"runtimeObject" : true
},
"styleCode" : "COLLAPSE",
"replaceDefault" : false
}, {
"codeName" : "LUCKYSHEET",
"dynaModelFilePath" : "PSSYSEDITORSTYLES/LUCKYSHEET.json",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册