Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
b6a795e9
提交
b6a795e9
编写于
5月 30, 2023
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [TrainSys,网页端]
上级
b19fafd0
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
630 行增加
和
465 行删除
+630
-465
app-menu.tsx
app_Web/src/components/widgets/app-menu/app-menu.tsx
+7
-1
PSSYSAPP.json
.../ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
+4
-4
BookTypeGridView.json
...trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeGridView.json
+615
-456
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+4
-4
未找到文件。
app_Web/src/components/widgets/app-menu/app-menu.tsx
浏览文件 @
b6a795e9
...
...
@@ -264,8 +264,14 @@ export const AppMenu = defineComponent({
onMounted
(()
=>
{
// 默认激活的菜单项
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
)
{
defaultActive
.
value
=
defaultActiveMenuItem
.
id
;
onClick
(
defaultActive
.
value
);
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSSYSAPP.json
浏览文件 @
b6a795e9
...
...
@@ -1049,16 +1049,16 @@
"codeName"
:
"VMGroup2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
},
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
}
]
},
{
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDEVIEWS/BookTypeGridView.json
浏览文件 @
b6a795e9
...
...
@@ -6,7 +6,7 @@
"funcViewMode"
:
"MDATAVIEW"
,
"gridRowActiveMode"
:
2
,
"name"
:
"BookTypeGridView"
,
"openMode"
:
"
DRAWER_BOTTOM
"
,
"openMode"
:
"
INDEXVIEWTAB
"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
...
...
@@ -107,453 +107,77 @@
}
}
],
"getPSControls"
:
[
{
"aggMode"
:
"NONE"
,
"codeName"
:
"Main"
,
"columnEnableFilter"
:
2
,
"columnEnableLink"
:
2
,
"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"
:
{
"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"
},
"codeName"
:
"GridViewtoolbar"
,
"controlType"
:
"TOOLBAR"
,
"logicName"
:
"工具栏模板(默认表格界面)"
,
"name"
:
"toolbar"
,
"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"
"id"
:
"TOOLBAR"
},
"getPSDEGridColumns"
:
[
{
"align"
:
"LEFT"
,
"cLConvertMode"
:
"NONE"
,
"caption"
:
"书籍类别名称"
,
"codeName"
:
"booktypename"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"booktypename"
,
"excelCaption"
:
"书籍类别名称"
,
"name"
:
"booktypename"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"BOOKTYPENAME"
,
"codeName"
:
"BookTypeName"
"getPSDEToolbarItems"
:
[
{
"getCapPSLanguageRes"
:
{
"defaultContent"
:
"新建"
,
"lanResTag"
:
"TBB.TEXT.*.NEW"
,
"lanResType"
:
"TBB.TEXT"
,
"name"
:
"工具栏按钮文本[*.NEW]"
,
"refFlag"
:
true
},
"width"
:
150
,
"widthUnit"
:
"PX"
,
"enableSort"
:
true
},
{
"align"
:
"LEFT"
,
"cLConvertMode"
:
"FRONT"
,
"caption"
:
"更新人"
,
"codeName"
:
"updateman"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"updateman"
,
"excelCaption"
:
"更新人"
,
"name"
:
"updateman"
,
"noPrivDisplayMode"
:
1
,
"getPSAppCodeList"
:
{
"caption"
:
"新建"
,
"groupExtractMode"
:
"ITEM"
,
"itemType"
:
"DEUIACTION"
,
"name"
:
"tbitem3"
,
"noPrivDisplayMode"
:
2
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"
path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json
"
"
id"
:
"toolbar_tbitem3
"
},
"getPS
AppDEField
"
:
{
"
name"
:
"UPDATEMAN
"
,
"c
odeName"
:
"UpdateMan
"
"getPS
SysImage
"
:
{
"
glyph"
:
"xf0f6@FontAwesome
"
,
"c
ssClass"
:
"fa fa-file-text-o
"
},
"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"
"getPSUIAction"
:
{
"getCapPSLanguageRes"
:
{
"defaultContent"
:
"新建"
,
"lanResTag"
:
"TBB.TEXT.*.NEW"
,
"lanResType"
:
"TBB.TEXT"
,
"name"
:
"工具栏按钮文本[*.NEW]"
,
"refFlag"
:
true
},
"caption"
:
"新建"
,
"codeName"
:
"New"
,
"fullCodeName"
:
"New"
,
"name"
:
"表格界面_新建操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0f6@FontAwesome"
,
"cssClass"
:
"fa fa-file-text-o"
},
"predefinedType"
:
"GRIDVIEW_NEWACTION"
,
"timeout"
:
60000
,
"getTooltipPSLanguageRes"
:
{
"defaultContent"
:
"新建"
,
"lanResTag"
:
"TBB.TOOLTIP.*.NEW"
,
"lanResType"
:
"TBB.TOOLTIP"
,
"name"
:
"工具栏按钮提示[*.NEW]"
,
"refFlag"
:
true
},
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"New"
,
"uIActionType"
:
"DEUIACTION"
},
"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
}
],
"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"
},
{
"codeName"
:
"GridViewtoolbar"
,
"controlType"
:
"TOOLBAR"
,
"logicName"
:
"工具栏模板(默认表格界面)"
,
"name"
:
"toolbar"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/BookType.json"
},
"getPSControlParam"
:
{
"id"
:
"TOOLBAR"
},
"getPSDEToolbarItems"
:
[
{
"getCapPSLanguageRes"
:
{
"defaultContent"
:
"新建"
,
"lanResTag"
:
"TBB.TEXT.*.NEW"
,
"lanResType"
:
"TBB.TEXT"
,
"name"
:
"工具栏按钮文本[*.NEW]"
,
"refFlag"
:
true
},
"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"
:
{
"defaultContent"
:
"新建"
,
"lanResTag"
:
"TBB.TEXT.*.NEW"
,
"lanResType"
:
"TBB.TEXT"
,
"name"
:
"工具栏按钮文本[*.NEW]"
,
"refFlag"
:
true
},
"caption"
:
"新建"
,
"codeName"
:
"New"
,
"fullCodeName"
:
"New"
,
"name"
:
"表格界面_新建操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0f6@FontAwesome"
,
"cssClass"
:
"fa fa-file-text-o"
},
"predefinedType"
:
"GRIDVIEW_NEWACTION"
,
"timeout"
:
60000
,
"getTooltipPSLanguageRes"
:
{
"defaultContent"
:
"新建"
,
"lanResTag"
:
"TBB.TOOLTIP.*.NEW"
,
"lanResType"
:
"TBB.TOOLTIP"
,
"name"
:
"工具栏按钮提示[*.NEW]"
,
"refFlag"
:
true
},
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"New"
,
"uIActionType"
:
"DEUIACTION"
},
"tooltip"
:
"新建"
,
"getTooltipPSLanguageRes"
:
{
"defaultContent"
:
"新建"
,
"lanResTag"
:
"TBB.TOOLTIP.*.NEW"
,
"lanResType"
:
"TBB.TOOLTIP"
,
"name"
:
"工具栏按钮提示[*.NEW]"
,
"refFlag"
:
true
},
"showCaption"
:
true
,
"showIcon"
:
true
"tooltip"
:
"新建"
,
"getTooltipPSLanguageRes"
:
{
"defaultContent"
:
"新建"
,
"lanResTag"
:
"TBB.TOOLTIP.*.NEW"
,
"lanResType"
:
"TBB.TOOLTIP"
,
"name"
:
"工具栏按钮提示[*.NEW]"
,
"refFlag"
:
true
},
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"getCapPSLanguageRes"
:
{
"defaultContent"
:
"编辑"
,
...
...
@@ -683,33 +307,104 @@
"name"
:
"tbitem7"
,
"spanMode"
:
false
},
{
"getCapPSLanguageRes"
:
{
"defaultContent"
:
"删除"
,
"lanResTag"
:
"TBB.TEXT.*.REMOVE"
,
"lanResType"
:
"TBB.TEXT"
,
"name"
:
"工具栏按钮文本[*.REMOVE]"
,
"refFlag"
:
true
},
"caption"
:
"删除"
,
"caption"
:
"行编辑"
,
"groupExtractMode"
:
"ITEM"
,
"itemType"
:
"DEUIACTION"
,
"name"
:
"tbitem
8
"
,
"name"
:
"tbitem
24
"
,
"noPrivDisplayMode"
:
2
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem
8
"
"id"
:
"toolbar_tbitem
24
"
},
"getPSSysImage"
:
{
"glyph"
:
"xf0
0d
@FontAwesome"
,
"cssClass"
:
"fa fa-
remov
e"
"glyph"
:
"xf0
ce
@FontAwesome"
,
"cssClass"
:
"fa fa-
tabl
e"
},
"getPSUIAction"
:
{
"actionTarget"
:
"MULTIKEY"
,
"getCapPSLanguageRes"
:
{
"defaultContent"
:
"删除"
,
"lanResTag"
:
"TBB.TEXT.*.REMOVE"
,
"lanResType"
:
"TBB.TEXT"
,
"name"
:
"工具栏按钮文本[*.REMOVE]"
,
"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.*.REMOVE"
,
"lanResType"
:
"TBB.TEXT"
,
"name"
:
"工具栏按钮文本[*.REMOVE]"
,
"refFlag"
:
true
},
"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"
:
{
"defaultContent"
:
"删除"
,
"lanResTag"
:
"TBB.TEXT.*.REMOVE"
,
"lanResType"
:
"TBB.TEXT"
,
"name"
:
"工具栏按钮文本[*.REMOVE]"
,
"refFlag"
:
true
},
"caption"
:
"删除"
,
...
...
@@ -1022,10 +717,474 @@
},
"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
}
],
"xDataControlName"
:
"grid"
,
"modelid"
:
"b912ff540f5614f63914a38067d84728"
,
"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"
,
"name"
:
"searchbar"
,
...
...
@@ -1079,7 +1238,7 @@
"enableFilter"
:
true
,
"enableImport"
:
true
,
"enableQuickSearch"
:
true
,
"enableRowEdit"
:
fals
e
,
"enableRowEdit"
:
tru
e
,
"enableSearch"
:
true
,
"rowEditDefault"
:
false
,
"modelid"
:
"abb3cd73a06a60b0339fa17dfe319d65"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
b6a795e9
...
...
@@ -2227,16 +2227,16 @@
"codeName"
:
"VMGroup2"
,
"name"
:
"视图消息组2"
,
"getPSAppViewMsgGroupDetails"
:
[
{
"name"
:
"视图消息
2
"
,
"name"
:
"视图消息"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
3
"
"id"
:
"ViewMsg
2
"
}
},
{
"name"
:
"视图消息"
,
"name"
:
"视图消息
2
"
,
"getPSAppViewMsg"
:
{
"modelref"
:
true
,
"id"
:
"ViewMsg
2
"
"id"
:
"ViewMsg
3
"
}
}
]
}
],
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录