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

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

上级 b19fafd0
...@@ -264,8 +264,14 @@ export const AppMenu = defineComponent({ ...@@ -264,8 +264,14 @@ export const AppMenu = defineComponent({
onMounted(() => { onMounted(() => {
// 默认激活的菜单项 // 默认激活的菜单项
const defaultActiveMenuItem = c.model.allItems.find(item => { const defaultActiveMenuItem = c.model.allItems.find(item => {
return item.source.openDefault && !item.source.hidden; return (
item.source.openDefault &&
!item.source.hidden &&
c.menuItemsState[item.source.id].permitted
);
}); });
console.log('defaultActiveMenuItem', defaultActiveMenuItem);
if (defaultActiveMenuItem && !route.params.view2) { if (defaultActiveMenuItem && !route.params.view2) {
defaultActive.value = defaultActiveMenuItem.id; defaultActive.value = defaultActiveMenuItem.id;
onClick(defaultActive.value); onClick(defaultActive.value);
......
...@@ -1049,16 +1049,16 @@ ...@@ -1049,16 +1049,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ] } ]
}, { }, {
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
"funcViewMode" : "MDATAVIEW", "funcViewMode" : "MDATAVIEW",
"gridRowActiveMode" : 2, "gridRowActiveMode" : 2,
"name" : "BookTypeGridView", "name" : "BookTypeGridView",
"openMode" : "DRAWER_BOTTOM", "openMode" : "INDEXVIEWTAB",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
...@@ -107,580 +107,275 @@ ...@@ -107,580 +107,275 @@
} }
} ], } ],
"getPSControls" : [ { "getPSControls" : [ {
"aggMode" : "NONE", "codeName" : "GridViewtoolbar",
"codeName" : "Main", "controlType" : "TOOLBAR",
"columnEnableFilter" : 2, "logicName" : "工具栏模板(默认表格界面)",
"columnEnableLink" : 2, "name" : "toolbar",
"controlType" : "GRID",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType/PSGRIDS/Main.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch",
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, },
"groupMode" : "NONE", "getPSControlParam" : {
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ], "id" : "TOOLBAR"
"logicName" : "主表格",
"getNavPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeEditView.json",
"viewType" : "DEEDITVIEW"
}, },
"getPSAppDataEntity" : { "getPSDEToolbarItems" : [ {
"modelref" : true, "getCapPSLanguageRes" : {
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json" "defaultContent" : "新建",
"lanResTag" : "TBB.TEXT.*.NEW",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.NEW]",
"refFlag" : true
}, },
"getPSControlHandler" : { "caption" : "新建",
"getPSHandlerActions" : [ { "groupExtractMode" : "ITEM",
"actionName" : "Get", "itemType" : "DEUIACTION",
"actionType" : "DEACTION", "name" : "tbitem3",
"dataAccessAction" : "READ", "noPrivDisplayMode" : 2,
"name" : "load", "getPSAppViewUIAction" : {
"getPSAppDEMethod" : {
"modelref" : true, "modelref" : true,
"id" : "Get" "id" : "toolbar_tbitem3"
}, },
"getPSAppDataEntity" : { "getPSSysImage" : {
"modelref" : true, "glyph" : "xf0f6@FontAwesome",
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json" "cssClass" : "fa fa-file-text-o"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
}, },
"getPSAppDataEntity" : { "getPSUIAction" : {
"modelref" : true, "getCapPSLanguageRes" : {
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json" "defaultContent" : "新建",
} "lanResTag" : "TBB.TEXT.*.NEW",
}, { "lanResType" : "TBB.TEXT",
"actionName" : "Update", "name" : "工具栏按钮文本[*.NEW]",
"actionType" : "DEACTION", "refFlag" : true
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
}, },
"getPSAppDataEntity" : { "caption" : "新建",
"modelref" : true, "codeName" : "New",
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json" "fullCodeName" : "New",
} "name" : "表格界面_新建操作",
}, { "getPSSysImage" : {
"actionName" : "Remove", "glyph" : "xf0f6@FontAwesome",
"actionType" : "DEACTION", "cssClass" : "fa fa-file-text-o"
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
}, },
"getPSAppDataEntity" : { "predefinedType" : "GRIDVIEW_NEWACTION",
"modelref" : true, "timeout" : 60000,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json" "getTooltipPSLanguageRes" : {
} "defaultContent" : "新建",
}, { "lanResTag" : "TBB.TOOLTIP.*.NEW",
"actionName" : "GetDraft", "lanResType" : "TBB.TOOLTIP",
"actionType" : "DEACTION", "name" : "工具栏按钮提示[*.NEW]",
"dataAccessAction" : "CREATE", "refFlag" : true
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
}, },
"getPSAppDataEntity" : { "uIActionMode" : "SYS",
"modelref" : true, "uIActionTag" : "New",
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json" "uIActionType" : "DEUIACTION"
} },
"tooltip" : "新建",
"getTooltipPSLanguageRes" : {
"defaultContent" : "新建",
"lanResTag" : "TBB.TOOLTIP.*.NEW",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.NEW]",
"refFlag" : true
},
"showCaption" : true,
"showIcon" : true
}, { }, {
"actionType" : "DEDATASET", "getCapPSLanguageRes" : {
"name" : "fetch", "defaultContent" : "编辑",
"getPSAppDEMethod" : { "lanResTag" : "TBB.TEXT.*.EDIT",
"modelref" : true, "lanResType" : "TBB.TEXT",
"id" : "FetchDefault" "name" : "工具栏按钮文本[*.EDIT]",
"refFlag" : true
}, },
"getPSAppDataEntity" : { "caption" : "编辑",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "tbitem4",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json" "id" : "toolbar_tbitem4"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
}, },
"getPSControlLogics" : [ { "getPSSysImage" : {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD", "glyph" : "xf044@FontAwesome",
"logicTag" : "grid", "cssClass" : "fa fa-edit"
"logicType" : "APPVIEWENGINE",
"name" : "engine_grid",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "GRID"
}, },
"getPSDEGridColumns" : [ { "getPSUIAction" : {
"align" : "LEFT", "actionTarget" : "SINGLEKEY",
"cLConvertMode" : "NONE", "getCapPSLanguageRes" : {
"caption" : "书籍类别名称", "defaultContent" : "编辑",
"codeName" : "booktypename", "lanResTag" : "TBB.TEXT.*.EDIT",
"columnType" : "DEFGRIDCOLUMN", "lanResType" : "TBB.TEXT",
"dataItemName" : "booktypename", "name" : "工具栏按钮文本[*.EDIT]",
"excelCaption" : "书籍类别名称", "refFlag" : true
"name" : "booktypename",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKTYPENAME",
"codeName" : "BookTypeName"
}, },
"width" : 150, "caption" : "编辑",
"widthUnit" : "PX", "codeName" : "Edit",
"enableSort" : true "fullCodeName" : "Edit",
}, { "name" : "表格界面_编辑操作",
"align" : "LEFT", "getPSSysImage" : {
"cLConvertMode" : "FRONT", "glyph" : "xf044@FontAwesome",
"caption" : "更新人", "cssClass" : "fa fa-edit"
"codeName" : "updateman",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updateman",
"excelCaption" : "更新人",
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
}, },
"getPSAppDEField" : { "predefinedType" : "GRIDVIEW_EDITACTION",
"name" : "UPDATEMAN", "timeout" : 60000,
"codeName" : "UpdateMan" "getTooltipPSLanguageRes" : {
"defaultContent" : "编辑",
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.EDIT]",
"refFlag" : true
}, },
"width" : 150, "uIActionMode" : "SYS",
"widthUnit" : "PX", "uIActionTag" : "Edit",
"enableSort" : true "uIActionType" : "DEUIACTION"
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"caption" : "更新时间",
"codeName" : "updatedate",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updatedate",
"excelCaption" : "更新时间",
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "booktypename",
"getPSAppDEField" : {
"name" : "BOOKTYPENAME",
"codeName" : "BookTypeName"
}
}, {
"dataType" : 25,
"name" : "updateman",
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5,
"name" : "updatedate",
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "BOOKTYPEID",
"codeName" : "BookTypeId"
}
}, {
"dataType" : 25,
"name" : "srfdataaccaction",
"getPSAppDEField" : {
"name" : "BOOKTYPEID",
"codeName" : "BookTypeId"
},
"dataAccessAction" : true
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "BOOKTYPENAME",
"codeName" : "BookTypeName"
}
} ],
"getPSDEGridEditItems" : [ {
"caption" : "书籍类别标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "BOOKTYPEID",
"codeName" : "BookTypeId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
},
"allowEmpty" : true
} ],
"pagingSize" : 20,
"getRemovePSControlAction" : {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.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" : "681aab4344a448cec778072c5ca0b1dd",
"modeltype" : "PSDEGRID"
}, {
"codeName" : "Default",
"controlType" : "SEARCHFORM",
"defaultLabelWidth" : 130,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType/PSSEARCHFORMS/Default.json",
"hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ],
"logicName" : "默认搜索表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionType" : "FILTERACTION",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGet"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "search",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterSearch"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "搜索表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "SEARCH;LOAD;SAVE",
"logicTag" : "searchform",
"logicType" : "APPVIEWENGINE",
"name" : "engine_searchform",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "SEARCHFORM"
},
"getPSDEFormPages" : [ {
"caption" : "常规条件",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
}, },
"infoGroupMode" : false "tooltip" : "编辑",
} ], "getTooltipPSLanguageRes" : {
"getPSLayout" : { "defaultContent" : "编辑",
"childColLG" : -1, "lanResTag" : "TBB.TOOLTIP.*.EDIT",
"childColMD" : 24, "lanResType" : "TBB.TOOLTIP",
"childColSM" : -1, "name" : "工具栏按钮提示[*.EDIT]",
"childColXS" : -1, "refFlag" : true
"columnCount" : 24,
"layout" : "TABLE_24COL"
}, },
"searchButtonStyle" : "DEFAULT", "uIActionTarget" : "SINGLEKEY",
"tabHeaderPos" : "TOP", "showCaption" : true,
"enableAdvanceSearch" : false, "showIcon" : true
"enableAutoSearch" : false,
"enableFilterSave" : false,
"noTabHeader" : true,
"name" : "searchform",
"modelid" : "480f5a4e57d19213befe0b10ed9a7c23",
"modeltype" : "PSDEFORM_SEARCHFORM"
}, { }, {
"codeName" : "GridViewtoolbar",
"controlType" : "TOOLBAR",
"logicName" : "工具栏模板(默认表格界面)",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
},
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"getPSDEToolbarItems" : [ {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"defaultContent" : "新建", "defaultContent" : "拷贝",
"lanResTag" : "TBB.TEXT.*.NEW", "lanResTag" : "TBB.TEXT.*.COPY",
"lanResType" : "TBB.TEXT", "lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.NEW]", "name" : "工具栏按钮文本[*.COPY]",
"refFlag" : true "refFlag" : true
}, },
"caption" : "新建", "caption" : "拷贝",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION", "itemType" : "DEUIACTION",
"name" : "tbitem3", "name" : "tbitem6",
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem3" "id" : "toolbar_tbitem6"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-file-text-o" "cssClass" : "fa fa-copy"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"defaultContent" : "新建", "defaultContent" : "拷贝",
"lanResTag" : "TBB.TEXT.*.NEW", "lanResTag" : "TBB.TEXT.*.COPY",
"lanResType" : "TBB.TEXT", "lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.NEW]", "name" : "工具栏按钮文本[*.COPY]",
"refFlag" : true "refFlag" : true
}, },
"caption" : "新建", "caption" : "拷贝",
"codeName" : "New", "codeName" : "Copy",
"fullCodeName" : "New", "fullCodeName" : "Copy",
"name" : "表格界面_新建操作", "name" : "表格界面_拷贝操作",
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0f6@FontAwesome", "glyph" : "xf0c5@FontAwesome",
"cssClass" : "fa fa-file-text-o" "cssClass" : "fa fa-copy"
}, },
"predefinedType" : "GRIDVIEW_NEWACTION", "predefinedType" : "GRIDVIEW_COPYACTION",
"timeout" : 60000, "timeout" : 60000,
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"defaultContent" : "新建", "defaultContent" : "拷贝",
"lanResTag" : "TBB.TOOLTIP.*.NEW", "lanResTag" : "TBB.TOOLTIP.*.COPY",
"lanResType" : "TBB.TOOLTIP", "lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.NEW]", "name" : "工具栏按钮提示[*.COPY]",
"refFlag" : true "refFlag" : true
}, },
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "New", "uIActionTag" : "Copy",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, },
"tooltip" : "新建", "tooltip" : "拷贝",
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"defaultContent" : "新建", "defaultContent" : "拷贝",
"lanResTag" : "TBB.TOOLTIP.*.NEW", "lanResTag" : "TBB.TOOLTIP.*.COPY",
"lanResType" : "TBB.TOOLTIP", "lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.NEW]", "name" : "工具栏按钮提示[*.COPY]",
"refFlag" : true "refFlag" : true
}, },
"uIActionTarget" : "SINGLEKEY",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
"getCapPSLanguageRes" : { "itemType" : "SEPERATOR",
"defaultContent" : "编辑", "name" : "tbitem7",
"lanResTag" : "TBB.TEXT.*.EDIT", "spanMode" : false
"lanResType" : "TBB.TEXT", }, {
"name" : "工具栏按钮文本[*.EDIT]", "caption" : "行编辑",
"refFlag" : true
},
"caption" : "编辑",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION", "itemType" : "DEUIACTION",
"name" : "tbitem4", "name" : "tbitem24",
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem4" "id" : "toolbar_tbitem24"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf044@FontAwesome", "glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-edit" "cssClass" : "fa fa-table"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "SINGLEKEY", "caption" : "行编辑",
"getCapPSLanguageRes" : { "codeName" : "ToggleRowEdit",
"defaultContent" : "编辑", "fullCodeName" : "ToggleRowEdit",
"lanResTag" : "TBB.TEXT.*.EDIT", "name" : "表格界面_行编辑开关操作",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.EDIT]",
"refFlag" : true
},
"caption" : "编辑",
"codeName" : "Edit",
"fullCodeName" : "Edit",
"name" : "表格界面_编辑操作",
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf044@FontAwesome", "glyph" : "xf0ce@FontAwesome",
"cssClass" : "fa fa-edit" "cssClass" : "fa fa-table"
}, },
"predefinedType" : "GRIDVIEW_EDITACTION", "predefinedType" : "GRIDVIEW_ROWEDITACTION",
"timeout" : 60000, "timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "编辑",
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.EDIT]",
"refFlag" : true
},
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Edit", "uIActionTag" : "ToggleRowEdit",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION",
}, "enableToggleMode" : true
"tooltip" : "编辑",
"getTooltipPSLanguageRes" : {
"defaultContent" : "编辑",
"lanResTag" : "TBB.TOOLTIP.*.EDIT",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.EDIT]",
"refFlag" : true
}, },
"uIActionTarget" : "SINGLEKEY", "tooltip" : "行编辑",
"enableToggleMode" : true,
"hiddenItem" : true,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
"getCapPSLanguageRes" : { "caption" : "新建行",
"defaultContent" : "拷贝",
"lanResTag" : "TBB.TEXT.*.COPY",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.COPY]",
"refFlag" : true
},
"caption" : "拷贝",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION", "itemType" : "DEUIACTION",
"name" : "tbitem6", "name" : "tbitem25",
"noPrivDisplayMode" : 2, "noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
"modelref" : true, "modelref" : true,
"id" : "toolbar_tbitem6" "id" : "toolbar_tbitem25"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome", "glyph" : "xf067@FontAwesome",
"cssClass" : "fa fa-copy" "cssClass" : "fa fa-plus"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "SINGLEKEY", "caption" : "新建行",
"getCapPSLanguageRes" : { "codeName" : "NewRow",
"defaultContent" : "拷贝", "fullCodeName" : "NewRow",
"lanResTag" : "TBB.TEXT.*.COPY", "name" : "表格界面_新建行",
"lanResType" : "TBB.TEXT",
"name" : "工具栏按钮文本[*.COPY]",
"refFlag" : true
},
"caption" : "拷贝",
"codeName" : "Copy",
"fullCodeName" : "Copy",
"name" : "表格界面_拷贝操作",
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf0c5@FontAwesome", "glyph" : "xf067@FontAwesome",
"cssClass" : "fa fa-copy" "cssClass" : "fa fa-plus"
}, },
"predefinedType" : "GRIDVIEW_COPYACTION", "predefinedType" : "GRIDVIEW_NEWROWACTION",
"timeout" : 60000, "timeout" : 60000,
"getTooltipPSLanguageRes" : {
"defaultContent" : "拷贝",
"lanResTag" : "TBB.TOOLTIP.*.COPY",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.COPY]",
"refFlag" : true
},
"uIActionMode" : "SYS", "uIActionMode" : "SYS",
"uIActionTag" : "Copy", "uIActionTag" : "NewRow",
"uIActionType" : "DEUIACTION" "uIActionType" : "DEUIACTION"
}, },
"tooltip" : "拷贝", "tooltip" : "新建行",
"getTooltipPSLanguageRes" : { "showCaption" : false,
"defaultContent" : "拷贝",
"lanResTag" : "TBB.TOOLTIP.*.COPY",
"lanResType" : "TBB.TOOLTIP",
"name" : "工具栏按钮提示[*.COPY]",
"refFlag" : true
},
"uIActionTarget" : "SINGLEKEY",
"showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
"itemType" : "SEPERATOR", "itemType" : "SEPERATOR",
"name" : "tbitem7", "name" : "tbitem26",
"spanMode" : false "spanMode" : false
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -1022,10 +717,474 @@ ...@@ -1022,10 +717,474 @@
}, },
"showCaption" : true, "showCaption" : true,
"showIcon" : 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
} ], } ],
"xDataControlName" : "grid", "xDataControlName" : "grid",
"modelid" : "b912ff540f5614f63914a38067d84728", "modelid" : "b912ff540f5614f63914a38067d84728",
"modeltype" : "PSDETOOLBAR" "modeltype" : "PSDETOOLBAR"
}, {
"codeName" : "Default",
"controlType" : "SEARCHFORM",
"defaultLabelWidth" : 130,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType/PSSEARCHFORMS/Default.json",
"hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ],
"logicName" : "默认搜索表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionType" : "FILTERACTION",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGet"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "search",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterSearch"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "搜索表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "SEARCH;LOAD;SAVE",
"logicTag" : "searchform",
"logicType" : "APPVIEWENGINE",
"name" : "engine_searchform",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "SEARCHFORM"
},
"getPSDEFormPages" : [ {
"caption" : "常规条件",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"searchButtonStyle" : "DEFAULT",
"tabHeaderPos" : "TOP",
"enableAdvanceSearch" : false,
"enableAutoSearch" : false,
"enableFilterSave" : false,
"noTabHeader" : true,
"name" : "searchform",
"modelid" : "480f5a4e57d19213befe0b10ed9a7c23",
"modeltype" : "PSDEFORM_SEARCHFORM"
}, {
"aggMode" : "NONE",
"codeName" : "Main",
"columnEnableFilter" : 2,
"columnEnableLink" : 2,
"controlType" : "GRID",
"getCreatePSControlAction" : {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType/PSGRIDS/Main.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch",
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
},
"getGetDraftPSControlAction" : {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
},
"getGetPSControlAction" : {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
},
"groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"logicName" : "主表格",
"getNavPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeEditView.json",
"viewType" : "DEEDITVIEW"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "数据表格处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
"logicTag" : "grid",
"logicType" : "APPVIEWENGINE",
"name" : "engine_grid",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "GRID"
},
"getPSDEGridColumns" : [ {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"caption" : "书籍类别名称",
"codeName" : "booktypename",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "booktypename",
"excelCaption" : "书籍类别名称",
"name" : "booktypename",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKTYPENAME",
"codeName" : "BookTypeName"
},
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "FRONT",
"caption" : "更新人",
"codeName" : "updateman",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updateman",
"excelCaption" : "更新人",
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"caption" : "更新时间",
"codeName" : "updatedate",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updatedate",
"excelCaption" : "更新时间",
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "booktypename",
"getPSAppDEField" : {
"name" : "BOOKTYPENAME",
"codeName" : "BookTypeName"
}
}, {
"dataType" : 25,
"name" : "updateman",
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5,
"name" : "updatedate",
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "BOOKTYPEID",
"codeName" : "BookTypeId"
}
}, {
"dataType" : 25,
"name" : "srfdataaccaction",
"getPSAppDEField" : {
"name" : "BOOKTYPEID",
"codeName" : "BookTypeId"
},
"dataAccessAction" : true
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "BOOKTYPENAME",
"codeName" : "BookTypeName"
}
} ],
"getPSDEGridEditItems" : [ {
"caption" : "书籍类别标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "BOOKTYPEID",
"codeName" : "BookTypeId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
},
"allowEmpty" : true
} ],
"pagingSize" : 20,
"getRemovePSControlAction" : {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
},
"sortMode" : "REMOTE",
"getUpdatePSControlAction" : {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
}
},
"hasWFDataItems" : false,
"enableColFilter" : false,
"enableCustomized" : true,
"enableGroup" : false,
"enablePagingBar" : true,
"enableRowEdit" : true,
"enableRowEditOrder" : false,
"enableRowNew" : true,
"forceFit" : false,
"hideHeader" : false,
"noSort" : false,
"singleSelect" : false,
"name" : "grid",
"modelid" : "681aab4344a448cec778072c5ca0b1dd",
"modeltype" : "PSDEGRID"
}, { }, {
"controlType" : "SEARCHBAR", "controlType" : "SEARCHBAR",
"name" : "searchbar", "name" : "searchbar",
...@@ -1079,7 +1238,7 @@ ...@@ -1079,7 +1238,7 @@
"enableFilter" : true, "enableFilter" : true,
"enableImport" : true, "enableImport" : true,
"enableQuickSearch" : true, "enableQuickSearch" : true,
"enableRowEdit" : false, "enableRowEdit" : true,
"enableSearch" : true, "enableSearch" : true,
"rowEditDefault" : false, "rowEditDefault" : false,
"modelid" : "abb3cd73a06a60b0339fa17dfe319d65", "modelid" : "abb3cd73a06a60b0339fa17dfe319d65",
......
...@@ -2227,16 +2227,16 @@ ...@@ -2227,16 +2227,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ] } ]
} ], } ],
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册