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

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

上级 8e7b2016
......@@ -341,6 +341,12 @@
}, {
"id" : "formitem48",
"dataType" : 25
}, {
"id" : "formitem49",
"dataType" : 25
}, {
"id" : "formitem50",
"dataType" : 25
}, {
"id" : "testid",
"hidden" : true,
......@@ -2594,6 +2600,76 @@
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "值项编辑器",
"codeName" : "formitem49",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem49",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorType" : "PICKER",
"name" : "formitem49",
"getPSAppDEACMode" : {
"modelref" : true,
"id" : "Default"
},
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TESTGRID.json"
},
"getPSEditorItems" : [ {
"name" : "formitem50"
} ],
"valueItemName" : "formitem50",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueItemName" : "formitem50",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "值项",
"codeName" : "formitem50",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem50",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "formitem50"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
......
......@@ -20,6 +20,46 @@
"name" : "engine"
} ],
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "newdata",
"getPSAppUILogic" : {
"actionAfterWizard" : "DEFAULT",
"logicType" : "PREDEFINED",
"name" : "新建数据",
"getNewDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTGRIDUsr4EditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTGRIDUsr4EditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTGRIDUsr4EditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_NEWDATA",
"getWizardPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTGRIDUsr4EditView.json",
"viewType" : "DEEDITVIEW"
}
},
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : true
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "opendata",
......@@ -75,204 +115,129 @@
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"defaultContent" : "查看",
"lanResTag" : "TBB.TEXT.*.VIEW",
"defaultContent" : "新建",
"lanResTag" : "TBB.TEXT.*.NEW",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.VIEW]",
"name" : "工具栏按钮文本[*.NEW]",
"refFlag" : true
},
"caption" : "查看",
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem5",
"name" : "tbitem3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem5"
"id" : "toolbar_tbitem3"
},
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"defaultContent" : "查看",
"lanResTag" : "TBB.TEXT.*.VIEW",
"defaultContent" : "新建",
"lanResTag" : "TBB.TEXT.*.NEW",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.VIEW]",
"name" : "工具栏按钮文本[*.NEW]",
"refFlag" : true
},
"caption" : "查看",
"codeName" : "View",
"fullCodeName" : "View",
"name" : "表格界面_查看操作",
"caption" : "新建",
"codeName" : "New",
"fullCodeName" : "New",
"name" : "表格界面_新建操作",
"getPSSysImage" : {
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
"glyph" : "xf0f6@FontAwesome",
"cssClass" : "fa fa-file-text-o"
},
"predefinedType" : "GRIDVIEW_VIEWACTION",
"predefinedType" : "GRIDVIEW_NEWACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "查看",
"lanResTag" : "TBB.TOOLTIP.*.VIEW",
"defaultContent" : "新建",
"lanResTag" : "TBB.TOOLTIP.*.NEW",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.VIEW]",
"name" : "工具栏按钮提示[*.NEW]",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "View",
"uIActionTag" : "New",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "查看",
"tooltip" : "新建",
"getTooltipPSLanguageRes" : {
"defaultContent" : "查看",
"lanResTag" : "TBB.TOOLTIP.*.VIEW",
"defaultContent" : "新建",
"lanResTag" : "TBB.TOOLTIP.*.NEW",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.VIEW]",
"name" : "工具栏按钮提示[*.NEW]",
"refFlag" : true
},
"uIActionTarget" : "SINGLEKEY",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem7",
"spanMode" : false
}, {
"caption" : "行编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem24",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem24"
},
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"getPSUIAction" : {
"caption" : "行编辑",
"codeName" : "ToggleRowEdit",
"fullCodeName" : "ToggleRowEdit",
"name" : "表格界面_行编辑开关操作",
"getPSSysImage" : {
"glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-table"
},
"predefinedType" : "GRIDVIEW_ROWEDITACTION",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"tooltip" : "行编辑",
"enableToggleMode" : true,
"hiddenItem" : true,
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "新建行",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem25",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem25"
},
"getPSSysImage" : {
"glyph" : "xf067@FontAwesome",
"cssClass" : "fa fa-plus"
},
"getPSUIAction" : {
"caption" : "新建行",
"codeName" : "NewRow",
"fullCodeName" : "NewRow",
"name" : "表格界面_新建行",
"getPSSysImage" : {
"glyph" : "xf067@FontAwesome",
"cssClass" : "fa fa-plus"
},
"predefinedType" : "GRIDVIEW_NEWROWACTION",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "NewRow",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "新建行",
"showCaption" : false,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem26",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"defaultContent" : "导出",
"lanResTag" : "TBB.TEXT.*.EXPORT",
"defaultContent" : "编辑",
"lanResTag" : "TBB.TEXT.*.EDIT",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.EXPORT]",
"name" : "工具栏按钮文本[*.EDIT]",
"refFlag" : true
},
"caption" : "导出",
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem13",
"name" : "tbitem4",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem13"
"id" : "toolbar_tbitem4"
},
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"defaultContent" : "导出",
"lanResTag" : "TBB.TEXT.*.EXPORT",
"defaultContent" : "编辑",
"lanResTag" : "TBB.TEXT.*.EDIT",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.EXPORT]",
"name" : "工具栏按钮文本[*.EDIT]",
"refFlag" : true
},
"caption" : "导出",
"codeName" : "ExportExcel",
"fullCodeName" : "ExportExcel",
"name" : "表格界面_导出操作(Excel)",
"caption" : "编辑",
"codeName" : "Edit",
"fullCodeName" : "Edit",
"name" : "表格界面_编辑操作",
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
"glyph" : "xf044@FontAwesome",
"cssClass" : "fa fa-edit"
},
"predefinedType" : "GRIDVIEW_EXPORTACTION",
"predefinedType" : "GRIDVIEW_EDITACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "导出",
"lanResTag" : "TBB.TOOLTIP.*.EXPORT",
"defaultContent" : "编辑",
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.EXPORT]",
"name" : "工具栏按钮提示[*.EDIT]",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "ExportExcel",
"uIActionTag" : "Edit",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导出",
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"defaultContent" : "导出",
"lanResTag" : "TBB.TOOLTIP.*.EXPORT",
"defaultContent" : "编辑",
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.EXPORT]",
"name" : "工具栏按钮提示[*.EDIT]",
"refFlag" : true
},
"uIActionTarget" : "SINGLEKEY",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem10",
"name" : "tbitem7",
"spanMode" : false
}, {
"caption" : "其它",
......@@ -322,232 +287,10 @@
"tooltip" : "导出数据模型",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "数据导入",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem23",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem23"
},
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"getPSUIAction" : {
"caption" : "数据导入",
"codeName" : "Import",
"fullCodeName" : "Import",
"name" : "表格界面_数据导入栏",
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"predefinedType" : "GRIDVIEW_IMPORTBAR",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Import",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "数据导入",
"showCaption" : true,
"showIcon" : true
} ],
"tooltip" : "其它",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem17",
"spanMode" : false
}, {
"getCapPSLanguageRes" : {
"defaultContent" : "查找",
"lanResTag" : "TBB.TEXT.*.FILTER",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.FILTER]",
"refFlag" : true
},
"caption" : "过滤",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem19",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem19"
},
"getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"defaultContent" : "查找",
"lanResTag" : "TBB.TEXT.*.FILTER",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.FILTER]",
"refFlag" : true
},
"caption" : "过滤",
"codeName" : "ToggleFilter",
"fullCodeName" : "ToggleFilter",
"name" : "表格界面_搜索栏",
"getPSSysImage" : {
"glyph" : "xf0b0@FontAwesome",
"cssClass" : "fa fa-filter"
},
"predefinedType" : "GRIDVIEW_SEARCHBAR",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "查找",
"lanResTag" : "TBB.TOOLTIP.*.FILTER",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.FILTER]",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "ToggleFilter",
"uIActionType" : "DEUIACTION",
"enableToggleMode" : true
},
"tooltip" : "过滤",
"getTooltipPSLanguageRes" : {
"defaultContent" : "查找",
"lanResTag" : "TBB.TOOLTIP.*.FILTER",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.FILTER]",
"refFlag" : true
},
"enableToggleMode" : true,
"showCaption" : true,
"showIcon" : true
}, {
"getCapPSLanguageRes" : {
"defaultContent" : "帮助",
"lanResTag" : "TBB.TEXT.*.HELP",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.HELP]",
"refFlag" : true
},
"caption" : "帮助",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem18",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem18"
},
"getPSSysImage" : {
"glyph" : "xf128@FontAwesome",
"cssClass" : "fa fa-question"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"defaultContent" : "帮助",
"lanResTag" : "TBB.TEXT.*.HELP",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.HELP]",
"refFlag" : true
},
"caption" : "帮助",
"codeName" : "Help",
"fullCodeName" : "Help",
"name" : "表格界面_帮助操作",
"getPSSysImage" : {
"glyph" : "xf128@FontAwesome",
"cssClass" : "fa fa-question"
},
"predefinedType" : "GRIDVIEW_HELPACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "帮助",
"lanResTag" : "TBB.TOOLTIP.*.HELP",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.HELP]",
"refFlag" : true
},
"uIActionMode" : "SYS",
"uIActionTag" : "Help",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "帮助",
"getTooltipPSLanguageRes" : {
"defaultContent" : "帮助",
"lanResTag" : "TBB.TOOLTIP.*.HELP",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.HELP]",
"refFlag" : true
},
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "保存行",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction1",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction1"
},
"getPSSysImage" : {
"glyph" : "xf0c7@FontAwesome",
"cssClass" : "fa fa-save"
},
"getPSUIAction" : {
"caption" : "保存行",
"codeName" : "SaveRow",
"fullCodeName" : "SaveRow",
"name" : "表格界面_保存行",
"getPSSysImage" : {
"glyph" : "xf0c7@FontAwesome",
"cssClass" : "fa fa-save"
},
"predefinedType" : "GRIDVIEW_SAVEROWACTION",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "SaveRow",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "保存行",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "数据导入",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"getPSUIAction" : {
"caption" : "数据导入",
"codeName" : "Import",
"fullCodeName" : "Import",
"name" : "表格界面_数据导入栏",
"getPSSysImage" : {
"glyph" : "xf093@FontAwesome",
"cssClass" : "fa fa-upload"
},
"predefinedType" : "GRIDVIEW_IMPORTBAR",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Import",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "数据导入",
"showCaption" : true,
"showIcon" : true
} ],
"xDataControlName" : "grid",
"modelid" : "C414E7D7-05F9-40AB-A743-3A4A2400FBA9",
......@@ -1292,11 +1035,11 @@
"width" : 1600,
"xDataControlName" : "grid",
"enableDP" : true,
"enableExport" : true,
"enableFilter" : true,
"enableImport" : true,
"enableExport" : false,
"enableFilter" : false,
"enableImport" : false,
"enableQuickGroup" : true,
"enableRowEdit" : true,
"enableRowEdit" : false,
"enableSearch" : true,
"readOnly" : true,
"rowEditDefault" : true,
......
......@@ -464,6 +464,12 @@
}, {
"id" : "formitem48",
"dataType" : 25
}, {
"id" : "formitem49",
"dataType" : 25
}, {
"id" : "formitem50",
"dataType" : 25
}, {
"id" : "testid",
"hidden" : true,
......@@ -2717,6 +2723,76 @@
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "值项编辑器",
"codeName" : "formitem49",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem49",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"AC" : "TRUE",
"PICKUPVIEW" : "TRUE"
},
"editorType" : "PICKER",
"name" : "formitem49",
"getPSAppDEACMode" : {
"modelref" : true,
"id" : "Default"
},
"getPSAppDEDataSet" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TESTGRID.json"
},
"getPSEditorItems" : [ {
"name" : "formitem50"
} ],
"valueItemName" : "formitem50",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueItemName" : "formitem50",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "值项",
"codeName" : "formitem50",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "formitem50",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "formitem50"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册