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

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

上级 5feb4c48
...@@ -312,984 +312,6 @@ ...@@ -312,984 +312,6 @@
}, },
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"codeName" : "druipart1",
"dRItemTag" : "UsrDRItem0122993093",
"detailStyle" : "DEFAULT",
"detailType" : "DRUIPART",
"name" : "druipart1",
"getPSAppView" : {
"accUserMode" : 2,
"getCapPSLanguageRes" : {
"lanResTag" : "DE.LNAME.PHONE"
},
"caption" : "手机",
"codeName" : "phonePhoneGridView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneGridView.json",
"gridRowActiveMode" : 2,
"name" : "phonePhoneGridView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSAppModule" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Ungroup.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "GridView",
"name" : "engine"
} ],
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "newdata",
"getPSAppUILogic" : {
"actionAfterWizard" : "DEFAULT",
"logicType" : "PREDEFINED",
"name" : "新建数据",
"getNewDataPSAppView" : {
"openMode" : "DRAWER_RIGHT",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"openMode" : "DRAWER_RIGHT",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_NEWDATA",
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : false
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"openMode" : "DRAWER_RIGHT",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"openMode" : "DRAWER_RIGHT",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewRefs" : [ {
"name" : "NEWDATA",
"realOpenMode" : "DRAWER_RIGHT",
"realTitle" : "手机主编辑视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA",
"realOpenMode" : "DRAWER_RIGHT",
"realTitle" : "手机主编辑视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "OPENDATA",
"realOpenMode" : "DRAWER_RIGHT",
"realTitle" : "手机主编辑视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSControls" : [ {
"codeName" : "PhoneGridViewtoolbar",
"controlType" : "TOOLBAR",
"logicName" : "工具栏模板(默认表格界面)",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem3"
},
"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
}, {
"buttonStyle" : "STYLE2",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem4",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem4"
},
"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
}, {
"itemType" : "SEPERATOR",
"name" : "seperator3"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.COPY"
},
"caption" : "拷贝",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem6",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem6"
},
"getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-copy"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.COPY"
},
"caption" : "拷贝",
"codeName" : "Copy",
"fullCodeName" : "Copy",
"name" : "表格界面_拷贝操作",
"getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-copy"
},
"predefinedType" : "GRIDVIEW_COPYACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.COPY"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Copy",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "拷贝",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.COPY"
},
"uIActionTarget" : "SINGLEKEY",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem7"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem8",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem8"
},
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"codeName" : "Remove",
"fullCodeName" : "Remove",
"name" : "表格界面_删除操作",
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"predefinedType" : "GRIDVIEW_REMOVEACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "删除",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"uIActionTarget" : "MULTIKEY",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem9"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT"
},
"caption" : "导出",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem13",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem13"
},
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT"
},
"caption" : "导出",
"codeName" : "ExportExcel",
"fullCodeName" : "ExportExcel",
"name" : "表格界面_导出操作(Excel)",
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
},
"predefinedType" : "GRIDVIEW_EXPORTACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EXPORT"
},
"uIActionMode" : "SYS",
"uIActionTag" : "ExportExcel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导出",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EXPORT"
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem10"
}, {
"caption" : "其它",
"itemType" : "ITEMS",
"name" : "tbitem16",
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF"
},
"caption" : "导出数据模型test",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem21",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem21"
},
"getPSSysImage" : {
"glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-download"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF"
},
"caption" : "导出数据模型",
"codeName" : "ExportModel",
"fullCodeName" : "ExportModel",
"name" : "表格界面_导出数据模型",
"getPSSysImage" : {
"glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-download"
},
"predefinedType" : "GRIDVIEW_EXPORTXMLACTION",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExportModel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导出数据模型test",
"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",
"getPSControlLogics" : [ {
"itemName" : "tbitem17",
"logicTag" : "toolbar",
"logicType" : "SCRIPT",
"name" : "logic",
"scriptCode" : "false",
"triggerType" : "ITEMVISIBLE"
} ]
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.HELP"
},
"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" : {
"lanResTag" : "TBB.TEXT.*.HELP"
},
"caption" : "帮助",
"codeName" : "Help",
"fullCodeName" : "Help",
"name" : "表格界面_帮助操作",
"getPSSysImage" : {
"glyph" : "xf128@FontAwesome",
"cssClass" : "fa fa-question"
},
"predefinedType" : "GRIDVIEW_HELPACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.HELP"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Help",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "帮助",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.HELP"
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "seperator7"
}, {
"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" : "b912ff540f5614f63914a38067d84728",
"modeltype" : "PSDETOOLBAR"
}, {
"aggMode" : "PAGE",
"codeName" : "MainPhone",
"columnEnableFilter" : 2,
"columnEnableLink" : 2,
"controlType" : "GRID",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone/PSGRIDS/MainPhone.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch",
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
},
"groupMode" : "NONE",
"logicName" : "手机主表格",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlAttributes" : [ {
"attrName" : "rowStyle",
"attrValue" : "({ row, rowIndex }) => {\r\n\tif (rowIndex % 2 === 1) {\r\n\t\treturn { color: 'red', backgroundColor: 'yellow' }\r\n\t}\r\n}",
"name" : "rowStyle"
}, {
"attrName" : "cellStyle",
"attrValue" : "({ row, column, rowIndex, columnIndex }) => {\r\n\tif (rowIndex % 2 !== 1) {\r\n\t\treturn { color: 'blue', backgroundColor: 'green' }\r\n\t}\r\n}",
"name" : "cellStyle"
}, {
"attrName" : "rowClassName",
"attrValue" : "({ row, rowIndex }) => {\r\n\treturn 'row-test'\r\n}",
"name" : "rowClassName"
} ],
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "GRID"
},
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEGridColumns" : [ {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PHONENAME"
},
"caption" : "手机名称",
"codeName" : "phonename",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "phonename",
"excelCaption" : "手机名称",
"getFilterPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "n_phonename_like"
},
"name" : "phonename",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
},
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
}, {
"aggMode" : "SUM",
"align" : "CENTER",
"cLConvertMode" : "NONE",
"caption" : "低价",
"codeName" : "lowprice",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lowprice",
"excelCaption" : "低价",
"name" : "lowprice",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "LOWPRICE",
"codeName" : "LOWPRICE"
},
"unitName" : "元",
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true,
"enableUnitName" : true
}, {
"aggMode" : "SUM",
"align" : "RIGHT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.MONEY"
},
"caption" : "金额",
"codeName" : "money",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "money",
"excelCaption" : "金额",
"name" : "money",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "MONEY",
"codeName" : "Money"
},
"unitName" : "元",
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true,
"enableUnitName" : true
}, {
"aggMode" : "SUM",
"align" : "LEFT",
"cLConvertMode" : "FRONT",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PHONETYPE"
},
"caption" : "手机型号",
"codeName" : "phonetype",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "phonetype",
"excelCaption" : "手机型号",
"getFilterPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "n_phonetype_eq",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/common__PhoneType.json"
},
"singleSelect" : true
},
"name" : "phonetype",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/common__PhoneType.json"
},
"getPSAppDEField" : {
"name" : "PHONETYPE",
"codeName" : "Phonetype"
},
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "phonename",
"getPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
}
}, {
"dataType" : 6,
"name" : "lowprice",
"getPSAppDEField" : {
"name" : "LOWPRICE",
"codeName" : "LOWPRICE"
}
}, {
"dataType" : 6,
"name" : "money",
"getPSAppDEField" : {
"name" : "MONEY",
"codeName" : "Money"
}
}, {
"dataType" : 25,
"name" : "phonetype",
"getPSAppDEField" : {
"name" : "PHONETYPE",
"codeName" : "Phonetype"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
}
}, {
"dataType" : 25,
"name" : "srfdataaccaction",
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
},
"dataAccessAction" : true
}, {
"dataType" : 25,
"name" : "phoneid",
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
}
}, {
"dataType" : 25,
"name" : "pphoneid3",
"getPSAppDEField" : {
"name" : "PPHONEID3",
"codeName" : "Pphoneid3"
}
}, {
"dataType" : 25,
"name" : "pphoneid4",
"getPSAppDEField" : {
"name" : "PPHONEID4",
"codeName" : "Pphoneid4"
}
}, {
"dataType" : 25,
"name" : "pphoneid",
"getPSAppDEField" : {
"name" : "PPHONEID",
"codeName" : "Pphoneid"
}
}, {
"dataType" : 25,
"name" : "pphoneid2",
"getPSAppDEField" : {
"name" : "PPHONEID2",
"codeName" : "Pphoneid2"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
}
} ],
"getPSDEGridEditItems" : [ {
"caption" : "手机标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
},
"allowEmpty" : true
} ],
"pagingMode" : 1,
"pagingSize" : 20,
"getRemovePSControlAction" : {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
},
"sortMode" : "REMOTE",
"hasWFDataItems" : false,
"enableColFilter" : false,
"enableCustomized" : true,
"enableGroup" : false,
"enablePagingBar" : true,
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : false,
"hideHeader" : false,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
"modelid" : "1D56425B-DB74-4F5F-B590-FCCE1B430DA1",
"modeltype" : "PSDEGRID"
}, {
"controlType" : "SEARCHBAR",
"name" : "searchbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlParam" : {
"id" : "searchbar"
},
"quickGroupCount" : -1,
"quickSearchMode" : 1,
"quickSearchWidth" : 0,
"enableFilter" : false,
"enableGroup" : false,
"enableQuickSearch" : true,
"mobileSearchBar" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DE.LNAME.PHONE"
},
"caption" : "手机",
"codeName" : "PhoneGridViewcaptionbar",
"controlType" : "CAPTIONBAR",
"name" : "captionbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlParam" : { }
} ],
"getPSDEViewCodeName" : "PhoneGridView",
"getPSDEViewId" : "EB699A17-FE39-434F-9E13-91DBAAE13472",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEGRIDVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "表格视图",
"viewStyle" : "DEFAULT",
"viewType" : "DEGRIDVIEW",
"xDataControlName" : "grid",
"enableDP" : true,
"enableExport" : true,
"enableFilter" : true,
"enableImport" : true,
"enableQuickSearch" : true,
"enableRowEdit" : false,
"enableSearch" : true,
"rowEditDefault" : false,
"modelid" : "dacb91b6c366e80091a8bac2a7517cab",
"modeltype" : "PSAPPDEVIEW"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"parentDataJO" : {
"srfparentdename" : "PHONE",
"SRFPARENTTYPE" : "CUSTOM"
},
"needSave" : false,
"refreshItemsSetParamOnly" : false,
"showCaption" : true
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PHONEID" "lanResTag" : "DEF.LNAME.PHONEID"
......
...@@ -523,984 +523,6 @@ ...@@ -523,984 +523,6 @@
}, },
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, {
"codeName" : "druipart1",
"dRItemTag" : "UsrDRItem0122993093",
"detailStyle" : "DEFAULT",
"detailType" : "DRUIPART",
"name" : "druipart1",
"getPSAppView" : {
"accUserMode" : 2,
"getCapPSLanguageRes" : {
"lanResTag" : "DE.LNAME.PHONE"
},
"caption" : "手机",
"codeName" : "phonePhoneGridView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneGridView.json",
"gridRowActiveMode" : 2,
"name" : "phonePhoneGridView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSAppModule" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Ungroup.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "GridView",
"name" : "engine"
} ],
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "newdata",
"getPSAppUILogic" : {
"actionAfterWizard" : "DEFAULT",
"logicType" : "PREDEFINED",
"name" : "新建数据",
"getNewDataPSAppView" : {
"openMode" : "DRAWER_RIGHT",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"openMode" : "DRAWER_RIGHT",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_NEWDATA",
"batchAddOnly" : false,
"enableBatchAdd" : false,
"enableWizardAdd" : false
}
}, {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"openMode" : "DRAWER_RIGHT",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"openMode" : "DRAWER_RIGHT",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewRefs" : [ {
"name" : "NEWDATA",
"realOpenMode" : "DRAWER_RIGHT",
"realTitle" : "手机主编辑视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA",
"realOpenMode" : "DRAWER_RIGHT",
"realTitle" : "手机主编辑视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "OPENDATA",
"realOpenMode" : "DRAWER_RIGHT",
"realTitle" : "手机主编辑视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/phonePhoneEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSControls" : [ {
"codeName" : "PhoneGridViewtoolbar",
"controlType" : "TOOLBAR",
"logicName" : "工具栏模板(默认表格界面)",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.NEW"
},
"caption" : "新建",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem3"
},
"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
}, {
"buttonStyle" : "STYLE2",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EDIT"
},
"caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem4",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem4"
},
"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
}, {
"itemType" : "SEPERATOR",
"name" : "seperator3"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.COPY"
},
"caption" : "拷贝",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem6",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem6"
},
"getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-copy"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.COPY"
},
"caption" : "拷贝",
"codeName" : "Copy",
"fullCodeName" : "Copy",
"name" : "表格界面_拷贝操作",
"getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-copy"
},
"predefinedType" : "GRIDVIEW_COPYACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.COPY"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Copy",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "拷贝",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.COPY"
},
"uIActionTarget" : "SINGLEKEY",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem7"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem8",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem8"
},
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"getPSUIAction" : {
"actionTarget" : "MULTIKEY",
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.REMOVE"
},
"caption" : "删除",
"codeName" : "Remove",
"fullCodeName" : "Remove",
"name" : "表格界面_删除操作",
"getPSSysImage" : {
"glyph" : "xf00d@FontAwesome",
"cssClass" : "fa fa-remove"
},
"predefinedType" : "GRIDVIEW_REMOVEACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Remove",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "删除",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.REMOVE"
},
"uIActionTarget" : "MULTIKEY",
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem9"
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT"
},
"caption" : "导出",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem13",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem13"
},
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.EXPORT"
},
"caption" : "导出",
"codeName" : "ExportExcel",
"fullCodeName" : "ExportExcel",
"name" : "表格界面_导出操作(Excel)",
"getPSSysImage" : {
"glyph" : "xf1c3@FontAwesome",
"cssClass" : "fa fa-file-excel-o"
},
"predefinedType" : "GRIDVIEW_EXPORTACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EXPORT"
},
"uIActionMode" : "SYS",
"uIActionTag" : "ExportExcel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导出",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.EXPORT"
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "tbitem10"
}, {
"caption" : "其它",
"itemType" : "ITEMS",
"name" : "tbitem16",
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF"
},
"caption" : "导出数据模型test",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem21",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_tbitem21"
},
"getPSSysImage" : {
"glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-download"
},
"getPSUIAction" : {
"getCapPSLanguageRes" : {
"lanResTag" : "MENUITEM.CAPTION.*.EXPORTSRF"
},
"caption" : "导出数据模型",
"codeName" : "ExportModel",
"fullCodeName" : "ExportModel",
"name" : "表格界面_导出数据模型",
"getPSSysImage" : {
"glyph" : "xf019@FontAwesome",
"cssClass" : "fa fa-download"
},
"predefinedType" : "GRIDVIEW_EXPORTXMLACTION",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExportModel",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "导出数据模型test",
"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",
"getPSControlLogics" : [ {
"itemName" : "tbitem17",
"logicTag" : "toolbar",
"logicType" : "SCRIPT",
"name" : "logic",
"scriptCode" : "false",
"triggerType" : "ITEMVISIBLE"
} ]
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.*.HELP"
},
"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" : {
"lanResTag" : "TBB.TEXT.*.HELP"
},
"caption" : "帮助",
"codeName" : "Help",
"fullCodeName" : "Help",
"name" : "表格界面_帮助操作",
"getPSSysImage" : {
"glyph" : "xf128@FontAwesome",
"cssClass" : "fa fa-question"
},
"predefinedType" : "GRIDVIEW_HELPACTION",
"timeout" : 60000,
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.HELP"
},
"uIActionMode" : "SYS",
"uIActionTag" : "Help",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "帮助",
"getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.*.HELP"
},
"showCaption" : true,
"showIcon" : true
}, {
"itemType" : "SEPERATOR",
"name" : "seperator7"
}, {
"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" : "b912ff540f5614f63914a38067d84728",
"modeltype" : "PSDETOOLBAR"
}, {
"aggMode" : "PAGE",
"codeName" : "MainPhone",
"columnEnableFilter" : 2,
"columnEnableLink" : 2,
"controlType" : "GRID",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone/PSGRIDS/MainPhone.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch",
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
},
"groupMode" : "NONE",
"logicName" : "手机主表格",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlAttributes" : [ {
"attrName" : "rowStyle",
"attrValue" : "({ row, rowIndex }) => {\r\n\tif (rowIndex % 2 === 1) {\r\n\t\treturn { color: 'red', backgroundColor: 'yellow' }\r\n\t}\r\n}",
"name" : "rowStyle"
}, {
"attrName" : "cellStyle",
"attrValue" : "({ row, column, rowIndex, columnIndex }) => {\r\n\tif (rowIndex % 2 !== 1) {\r\n\t\treturn { color: 'blue', backgroundColor: 'green' }\r\n\t}\r\n}",
"name" : "cellStyle"
}, {
"attrName" : "rowClassName",
"attrValue" : "({ row, rowIndex }) => {\r\n\treturn 'row-test'\r\n}",
"name" : "rowClassName"
} ],
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "GRID"
},
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDEGridColumns" : [ {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PHONENAME"
},
"caption" : "手机名称",
"codeName" : "phonename",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "phonename",
"excelCaption" : "手机名称",
"getFilterPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "n_phonename_like"
},
"name" : "phonename",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
},
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
}, {
"aggMode" : "SUM",
"align" : "CENTER",
"cLConvertMode" : "NONE",
"caption" : "低价",
"codeName" : "lowprice",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lowprice",
"excelCaption" : "低价",
"name" : "lowprice",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "LOWPRICE",
"codeName" : "LOWPRICE"
},
"unitName" : "元",
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true,
"enableUnitName" : true
}, {
"aggMode" : "SUM",
"align" : "RIGHT",
"cLConvertMode" : "NONE",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.MONEY"
},
"caption" : "金额",
"codeName" : "money",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "money",
"excelCaption" : "金额",
"name" : "money",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "MONEY",
"codeName" : "Money"
},
"unitName" : "元",
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true,
"enableUnitName" : true
}, {
"aggMode" : "SUM",
"align" : "LEFT",
"cLConvertMode" : "FRONT",
"getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PHONETYPE"
},
"caption" : "手机型号",
"codeName" : "phonetype",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "phonetype",
"excelCaption" : "手机型号",
"getFilterPSEditor" : {
"editorType" : "DROPDOWNLIST",
"name" : "n_phonetype_eq",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/common__PhoneType.json"
},
"singleSelect" : true
},
"name" : "phonetype",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/common__PhoneType.json"
},
"getPSAppDEField" : {
"name" : "PHONETYPE",
"codeName" : "Phonetype"
},
"width" : 100,
"widthUnit" : "PX",
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "phonename",
"getPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
}
}, {
"dataType" : 6,
"name" : "lowprice",
"getPSAppDEField" : {
"name" : "LOWPRICE",
"codeName" : "LOWPRICE"
}
}, {
"dataType" : 6,
"name" : "money",
"getPSAppDEField" : {
"name" : "MONEY",
"codeName" : "Money"
}
}, {
"dataType" : 25,
"name" : "phonetype",
"getPSAppDEField" : {
"name" : "PHONETYPE",
"codeName" : "Phonetype"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
}
}, {
"dataType" : 25,
"name" : "srfdataaccaction",
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
},
"dataAccessAction" : true
}, {
"dataType" : 25,
"name" : "phoneid",
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
}
}, {
"dataType" : 25,
"name" : "pphoneid3",
"getPSAppDEField" : {
"name" : "PPHONEID3",
"codeName" : "Pphoneid3"
}
}, {
"dataType" : 25,
"name" : "pphoneid4",
"getPSAppDEField" : {
"name" : "PPHONEID4",
"codeName" : "Pphoneid4"
}
}, {
"dataType" : 25,
"name" : "pphoneid",
"getPSAppDEField" : {
"name" : "PPHONEID",
"codeName" : "Pphoneid"
}
}, {
"dataType" : 25,
"name" : "pphoneid2",
"getPSAppDEField" : {
"name" : "PPHONEID2",
"codeName" : "Pphoneid2"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "PHONENAME",
"codeName" : "PhoneName"
}
} ],
"getPSDEGridEditItems" : [ {
"caption" : "手机标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
},
"allowEmpty" : true
} ],
"pagingMode" : 1,
"pagingSize" : 20,
"getRemovePSControlAction" : {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
}
},
"sortMode" : "REMOTE",
"hasWFDataItems" : false,
"enableColFilter" : false,
"enableCustomized" : true,
"enableGroup" : false,
"enablePagingBar" : true,
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : false,
"hideHeader" : false,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
"modelid" : "1D56425B-DB74-4F5F-B590-FCCE1B430DA1",
"modeltype" : "PSDEGRID"
}, {
"controlType" : "SEARCHBAR",
"name" : "searchbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlParam" : {
"id" : "searchbar"
},
"quickGroupCount" : -1,
"quickSearchMode" : 1,
"quickSearchWidth" : 0,
"enableFilter" : false,
"enableGroup" : false,
"enableQuickSearch" : true,
"mobileSearchBar" : false
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "DE.LNAME.PHONE"
},
"caption" : "手机",
"codeName" : "PhoneGridViewcaptionbar",
"controlType" : "CAPTIONBAR",
"name" : "captionbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlParam" : { }
} ],
"getPSDEViewCodeName" : "PhoneGridView",
"getPSDEViewId" : "EB699A17-FE39-434F-9E13-91DBAAE13472",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDEGRIDVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Phone.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "表格视图",
"viewStyle" : "DEFAULT",
"viewType" : "DEGRIDVIEW",
"xDataControlName" : "grid",
"enableDP" : true,
"enableExport" : true,
"enableFilter" : true,
"enableImport" : true,
"enableQuickSearch" : true,
"enableRowEdit" : false,
"enableSearch" : true,
"rowEditDefault" : false,
"modelid" : "dacb91b6c366e80091a8bac2a7517cab",
"modeltype" : "PSAPPDEVIEW"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"parentDataJO" : {
"srfparentdename" : "PHONE",
"SRFPARENTTYPE" : "CUSTOM"
},
"needSave" : false,
"refreshItemsSetParamOnly" : false,
"showCaption" : true
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "DEF.LNAME.PHONEID" "lanResTag" : "DEF.LNAME.PHONEID"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册