Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
01291021
提交
01291021
编写于
11月 08, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
cae88ce1
变更
42
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
42 个修改的文件
包含
3702 行增加
和
179 行删除
+3702
-179
BO-CN-base.ts
app_Web/src/locale/lang/BO-CN-base.ts
+1
-0
en-US-base.ts
app_Web/src/locale/lang/en-US-base.ts
+1
-0
zh-CN-base.ts
app_Web/src/locale/lang/zh-CN-base.ts
+1
-0
ibizbook_BO_CN_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_BO_CN_base.ts
+3
-3
ibizbook_en_US_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
+3
-3
ibizbook_zh_CN_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_zh_CN_base.ts
+3
-3
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+18
-0
ibizbookusr5-list-view-base.vue
...le/ibizbookusr5-list-view/ibizbookusr5-list-view-base.vue
+959
-0
ibizbookusr5-list-view.less
...sample/ibizbookusr5-list-view/ibizbookusr5-list-view.less
+20
-0
ibizbookusr5-list-view.vue
.../sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue
+24
-0
ibizorder-usr2-grid-view-base.vue
...bizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
+11
-11
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+1
-0
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
router.ts
app_Web/src/pages/ungroup/app-index-view/router.ts
+13
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+11
-0
form-load-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/form-load-ui-logic-base.ts
+56
-56
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+26
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+31
-0
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+6
-5
listpanel-list-base.vue
...c/widgets/ibizbook/listpanel-list/listpanel-list-base.vue
+865
-0
listpanel-list-model.ts
...c/widgets/ibizbook/listpanel-list/listpanel-list-model.ts
+76
-0
listpanel-list-service.ts
...widgets/ibizbook/listpanel-list/listpanel-list-service.ts
+163
-0
listpanel-list.less
...b/src/widgets/ibizbook/listpanel-list/listpanel-list.less
+88
-0
listpanel-list.vue
...eb/src/widgets/ibizbook/listpanel-list/listpanel-list.vue
+16
-0
listpanel-panel-base.vue
...widgets/ibizbook/listpanel-panel/listpanel-panel-base.vue
+560
-0
listpanel-panel-model.ts
...widgets/ibizbook/listpanel-panel/listpanel-panel-model.ts
+27
-0
listpanel-panel-service.ts
...dgets/ibizbook/listpanel-panel/listpanel-panel-service.ts
+11
-0
listpanel-panel.less
...src/widgets/ibizbook/listpanel-panel/listpanel-panel.less
+27
-0
listpanel-panel.vue
.../src/widgets/ibizbook/listpanel-panel/listpanel-panel.vue
+14
-0
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+21
-7
main-grid-model.ts
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
+15
-0
IBIZBOOK.json
...remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
+57
-56
Listpanel.json
...PPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/Listpanel.json
+201
-0
Listpanel.json
...PS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Listpanel.json
+110
-0
IBIZBOOKUsr5ListView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5ListView.json
+148
-3
IBIZOrderUsr2GridView.json
...del/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr2GridView.json
+27
-27
index.json
...atic/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
+18
-0
MainMenu.json
...static/remotemodel/PSSYSAPPS/Web/PSAPPMENUS/MainMenu.json
+10
-0
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+28
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+2
-2
view.xml
demo-core/src/main/resources/liquibase/view.xml
+1
-1
未找到文件。
app_Web/src/locale/lang/BO-CN-base.ts
浏览文件 @
01291021
...
...
@@ -369,6 +369,7 @@ function getAppLocale(){
menuitem125
:
commonLogic
.
appcommonhandle
(
"测试表单自定义布局多媒体"
,
null
),
menuitem126
:
commonLogic
.
appcommonhandle
(
"自定义导航"
,
null
),
menuitem130
:
commonLogic
.
appcommonhandle
(
"布局面板组件测试"
,
null
),
menuitem205
:
commonLogic
.
appcommonhandle
(
"项布局面板测试"
,
null
),
menuitem131
:
commonLogic
.
appcommonhandle
(
"编辑视图(左右关系)"
,
null
),
menuitem142
:
commonLogic
.
appcommonhandle
(
"列表视图(自定义面板)"
,
null
),
menuitem189
:
commonLogic
.
appcommonhandle
(
"测试布局面板(树导航)"
,
null
),
...
...
app_Web/src/locale/lang/en-US-base.ts
浏览文件 @
01291021
...
...
@@ -369,6 +369,7 @@ function getAppLocale(){
menuitem125
:
commonLogic
.
appcommonhandle
(
"测试表单自定义布局多媒体"
,
null
),
menuitem126
:
commonLogic
.
appcommonhandle
(
"自定义导航"
,
null
),
menuitem130
:
commonLogic
.
appcommonhandle
(
"布局面板组件测试"
,
null
),
menuitem205
:
commonLogic
.
appcommonhandle
(
"项布局面板测试"
,
null
),
menuitem131
:
commonLogic
.
appcommonhandle
(
"编辑视图(左右关系)"
,
null
),
menuitem142
:
commonLogic
.
appcommonhandle
(
"列表视图(自定义面板)"
,
null
),
menuitem189
:
commonLogic
.
appcommonhandle
(
"测试布局面板(树导航)"
,
null
),
...
...
app_Web/src/locale/lang/zh-CN-base.ts
浏览文件 @
01291021
...
...
@@ -369,6 +369,7 @@ function getAppLocale(){
menuitem125
:
commonLogic
.
appcommonhandle
(
"测试表单自定义布局多媒体"
,
null
),
menuitem126
:
commonLogic
.
appcommonhandle
(
"自定义导航"
,
null
),
menuitem130
:
commonLogic
.
appcommonhandle
(
"布局面板组件测试"
,
null
),
menuitem205
:
commonLogic
.
appcommonhandle
(
"项布局面板测试"
,
null
),
menuitem131
:
commonLogic
.
appcommonhandle
(
"编辑视图(左右关系)"
,
null
),
menuitem142
:
commonLogic
.
appcommonhandle
(
"列表视图(自定义面板)"
,
null
),
menuitem189
:
commonLogic
.
appcommonhandle
(
"测试布局面板(树导航)"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_BO_CN_base.ts
浏览文件 @
01291021
...
...
@@ -835,7 +835,7 @@ function getLocaleResourceBase(){
remove
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
},
list_list
:
{
list
panel
_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
...
...
@@ -2216,6 +2216,8 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
},
usr5listviewtoolbar_toolbar
:
{
},
interfunckanbanview_layouttoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
...
...
@@ -2268,8 +2270,6 @@ function getLocaleResourceBase(){
},
usr5dataviewtoolbar_toolbar
:
{
},
usr5listviewtoolbar_toolbar
:
{
},
treemajorstate_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
浏览文件 @
01291021
...
...
@@ -835,7 +835,7 @@ function getLocaleResourceBase(){
remove
:
commonLogic
.
appcommonhandle
(
"Remove"
,
null
),
},
},
list_list
:
{
list
panel
_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
...
...
@@ -2216,6 +2216,8 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"Remove {0}"
,
null
),
},
},
usr5listviewtoolbar_toolbar
:
{
},
interfunckanbanview_layouttoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
...
...
@@ -2268,8 +2270,6 @@ function getLocaleResourceBase(){
},
usr5dataviewtoolbar_toolbar
:
{
},
usr5listviewtoolbar_toolbar
:
{
},
treemajorstate_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN_base.ts
浏览文件 @
01291021
...
...
@@ -835,7 +835,7 @@ function getLocaleResourceBase(){
remove
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
},
list_list
:
{
list
panel
_list
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
...
...
@@ -2216,6 +2216,8 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
},
usr5listviewtoolbar_toolbar
:
{
},
interfunckanbanview_layouttoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
...
...
@@ -2268,8 +2270,6 @@ function getLocaleResourceBase(){
},
usr5dataviewtoolbar_toolbar
:
{
},
usr5listviewtoolbar_toolbar
:
{
},
treemajorstate_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
01291021
...
...
@@ -2951,6 +2951,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'AppFunc101'
,
resourcetag
:
''
,
},
{
id
:
'9CFA4E22-F554-471E-B679-4F046DD6F1F6'
,
name
:
'menuitem205'
,
text
:
'项布局面板测试'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'项布局面板测试'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc125'
,
resourcetag
:
''
,
},
{
id
:
'C484800D-366A-4E51-8EB7-3C8C880084FD'
,
...
...
app_Web/src/pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view-base.vue
0 → 100644
浏览文件 @
01291021
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.less
0 → 100644
浏览文件 @
01291021
.ibizbookusr5-list-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
app_Web/src/pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue
0 → 100644
浏览文件 @
01291021
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKUsr5ListViewBase
from
'./ibizbookusr5-list-view-base.vue'
;
import
view_searchform
from
'@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue'
;
import
view_list
from
'@widgets/ibizbook/listpanel-list/listpanel-list.vue'
;
@
Component
({
components
:
{
view_searchform
,
view_list
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZBOOKUsr5ListView
extends
IBIZBOOKUsr5ListViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
浏览文件 @
01291021
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
01291021
...
...
@@ -106,6 +106,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-detail-usr3-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue'
));
Vue
.
component
(
'ibizcustomer-media-test-edit-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view.vue'
));
Vue
.
component
(
'ibizorder-test-custom-layout-panel-grid-exp-view'
,
()
=>
import
(
'@pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view.vue'
));
Vue
.
component
(
'ibizbookusr5-list-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue'
));
Vue
.
component
(
'ibizorder-test-cledit-view2'
,
()
=>
import
(
'@pages/sample/ibizorder-test-cledit-view2/ibizorder-test-cledit-view2.vue'
));
Vue
.
component
(
'ibizbooktest-cllist-view'
,
()
=>
import
(
'@pages/sample/ibizbooktest-cllist-view/ibizbooktest-cllist-view.vue'
));
Vue
.
component
(
'ibizorder-test-cltree-exp-view'
,
()
=>
import
(
'@pages/sample/ibizorder-test-cltree-exp-view/ibizorder-test-cltree-exp-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
01291021
...
...
@@ -1650,6 +1650,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/ungroup/app-index-view/app-index-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/usr5listview/:usr5listview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.usr5listview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr5listview'
,
parameterName
:
'usr5listview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/testcleditview2/:testcleditview2?'
,
meta
:
{
...
...
@@ -5576,6 +5590,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr5listview/:usr5listview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.usr5listview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr5listview'
,
parameterName
:
'usr5listview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue'
),
},
{
path
:
'/ibizsample0002s/:ibizsample0002?/mpickupview/:mpickupview?'
,
meta
:
{
...
...
app_Web/src/pages/ungroup/app-index-view/router.ts
浏览文件 @
01291021
...
...
@@ -2356,6 +2356,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr5listview/:usr5listview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.usr5listview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr5listview'
,
parameterName
:
'usr5listview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr5-list-view/ibizbookusr5-list-view.vue'
),
},
{
path
:
'/ibizsample0002s/:ibizsample0002?/mpickupview/:mpickupview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
01291021
...
...
@@ -888,6 +888,7 @@ export const viewstate: any = {
'7ce3aaf69c0b882631428087b7db6464'
,
'38b0b453d423e0772822db6be4f02505'
,
'2D42F3B7-3267-4276-9120-10F2D81E35AF'
,
'c680bdc2306ff1ea39102917225bdade'
,
'D6D7779F-95C9-48C0-B2E1-ED4C20E5E157'
,
'79C13556-8423-4886-ADB3-6FF73C1E97F1'
,
'5515A024-BD26-40B2-A13E-932A0DF3E40A'
,
...
...
@@ -1824,6 +1825,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'c680bdc2306ff1ea39102917225bdade'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKUsr5ListView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'58e37ccddda10feedac7c809d5cee02a'
,
],
},
{
viewtag
:
'c80bc2c651e4b76d00bb67566714c307'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizbook/form-load-ui-logic-base.ts
浏览文件 @
01291021
...
...
@@ -28,16 +28,16 @@ export default class FormLoadUILogicBase {
* @memberof FormLoadUILogicBase
*/
protected
logicParams
:
any
[]
=
[
{
name
:
'上一次调用返回数据'
,
codeName
:
'lastReturn'
,
lastReturnParam
:
true
},
{
name
:
'上下文'
,
codeName
:
'context'
,
navContextParam
:
true
,
},
{
name
:
'当前视图'
,
codeName
:
'view'
,
activeViewParam
:
true
,
},
{
name
:
'导航视图参数'
,
codeName
:
'viewParam'
,
...
...
@@ -48,17 +48,17 @@ export default class FormLoadUILogicBase {
codeName
:
'form'
,
ctrlParam
:
true
,
},
{
name
:
'上一次调用返回数据'
,
codeName
:
'lastReturn'
,
lastReturnParam
:
true
},
{
name
:
'传入变量'
,
codeName
:
'Default'
,
default
:
true
,
entityParam
:
true
,
},
{
name
:
'当前视图'
,
codeName
:
'view'
,
activeViewParam
:
true
,
},
];
/**
...
...
@@ -113,6 +113,51 @@ export default class FormLoadUILogicBase {
await
this
.
execute_bindparam1_node
(
actionContext
);
}
/**
* 视图部件调用
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof FormLoadUILogicBase
*/
protected
async
execute_viewctrlinvoke2_node
(
actionContext
:
UIActionContext
)
{
const
invokeCtrl
=
'form'
;
const
invokeMethod
=
'load'
;
const
invokeParam
=
'viewParam'
;
if
(
!
invokeCtrl
||
!
invokeMethod
)
{
throw
new
Error
(
`界面对象或者调用方法缺失`
);
}
const
invokeUICtrl
=
actionContext
.
getParam
(
invokeCtrl
).
getReal
();
if
(
invokeUICtrl
[
invokeMethod
]
&&
invokeUICtrl
[
invokeMethod
]
instanceof
Function
)
{
try
{
const
result
=
await
invokeUICtrl
[
invokeMethod
]();
if
(
invokeParam
)
{
actionContext
.
getParam
(
invokeParam
).
bind
(
result
);
}
actionContext
.
bindLastReturnParam
(
result
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象调用
${
invokeMethod
}
方法发生异常`
);
}
}
else
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象不存在
${
invokeMethod
}
方法`
);
}
console
.
log
(
'已完成执行 视图部件调用 节点'
);
await
this
.
execute_debugparam1_node
(
actionContext
);
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof FormLoadUILogicBase
*/
protected
async
execute_debugparam1_node
(
actionContext
:
UIActionContext
)
{
const
dstParamValue
=
actionContext
.
getParam
(
'lastReturn'
).
getReal
();
actionContext
.
bindLastReturnParam
(
null
);
console
.
log
(
'逻辑节点 调试逻辑参数 操作参数值: '
,
dstParamValue
);
console
.
log
(
'已完成执行 调试逻辑参数 节点'
);
await
this
.
execute_end1_node
(
actionContext
);
}
/**
* 绑定表单
*
...
...
@@ -152,7 +197,7 @@ export default class FormLoadUILogicBase {
* @memberof FormLoadUILogicBase
*/
protected
async
execute_end1_node
(
actionContext
:
UIActionContext
)
{
const
strReturnType
:
string
=
''
;
const
strReturnType
:
string
=
'
NONEVALUE
'
;
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
NONEVALUE
)
||
Object
.
is
(
strReturnType
,
LogicReturnType
.
NULLVALUE
))
{
actionContext
.
setResult
(
null
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
SRCVALUE
))
{
...
...
@@ -172,37 +217,6 @@ export default class FormLoadUILogicBase {
console
.
log
(
'已完成执行 结束 节点'
);
}
/**
* 视图部件调用
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof FormLoadUILogicBase
*/
protected
async
execute_viewctrlinvoke2_node
(
actionContext
:
UIActionContext
)
{
const
invokeCtrl
=
'form'
;
const
invokeMethod
=
'load'
;
const
invokeParam
=
'viewParam'
;
if
(
!
invokeCtrl
||
!
invokeMethod
)
{
throw
new
Error
(
`界面对象或者调用方法缺失`
);
}
const
invokeUICtrl
=
actionContext
.
getParam
(
invokeCtrl
).
getReal
();
if
(
invokeUICtrl
[
invokeMethod
]
&&
invokeUICtrl
[
invokeMethod
]
instanceof
Function
)
{
try
{
const
result
=
await
invokeUICtrl
[
invokeMethod
]();
if
(
invokeParam
)
{
actionContext
.
getParam
(
invokeParam
).
bind
(
result
);
}
actionContext
.
bindLastReturnParam
(
result
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象调用
${
invokeMethod
}
方法发生异常`
);
}
}
else
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象不存在
${
invokeMethod
}
方法`
);
}
console
.
log
(
'已完成执行 视图部件调用 节点'
);
await
this
.
execute_debugparam1_node
(
actionContext
);
}
/**
* 视图部件调用
*
...
...
@@ -234,19 +248,5 @@ export default class FormLoadUILogicBase {
await
this
.
execute_debugparam1_node
(
actionContext
);
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof FormLoadUILogicBase
*/
protected
async
execute_debugparam1_node
(
actionContext
:
UIActionContext
)
{
const
dstParamValue
=
actionContext
.
getParam
(
'lastReturn'
).
getReal
();
actionContext
.
bindLastReturnParam
(
null
);
console
.
log
(
'逻辑节点 调试逻辑参数 操作参数值: '
,
dstParamValue
);
console
.
log
(
'已完成执行 调试逻辑参数 节点'
);
await
this
.
execute_end1_node
(
actionContext
);
}
}
\ No newline at end of file
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
01291021
...
...
@@ -930,6 +930,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc101'
:
this
.
clickAppFunc101
(
item
);
return
;
case
'AppFunc125'
:
this
.
clickAppFunc125
(
item
);
return
;
case
'UsrAppFunc1103768001'
:
this
.
clickUsrAppFunc1103768001
(
item
);
return
;
...
...
@@ -3513,6 +3516,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 项布局面板测试
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc125
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr5listview'
,
parameterName
:
'usr5listview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
this
.
$router
.
push
(
path
);
})
}
/**
* 测试编辑视图(左右关系)视图面板
*
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
01291021
...
...
@@ -3115,6 +3115,25 @@ export default class MainMenuModel {
appfunctag
:
'AppFunc101'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem130'
,
},
{
id
:
'9CFA4E22-F554-471E-B679-4F046DD6F1F6'
,
name
:
'menuitem205'
,
text
:
'项布局面板测试'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'项布局面板测试'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc125'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem205'
,
},
{
id
:
'C484800D-366A-4E51-8EB7-3C8C880084FD'
,
...
...
@@ -5191,6 +5210,18 @@ export default class MainMenuModel {
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
],
},
{
appfunctag
:
'AppFunc125'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'ibizbookusr5listview'
,
deResParameters
:
[],
routepath
:
'/index/:index?/ibizbooks/:ibizbook?/usr5listview/:usr5listview?'
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr5listview'
,
parameterName
:
'usr5listview'
},
],
},
{
appfunctag
:
'UsrAppFunc1103768001'
,
appfuncyype
:
'APPVIEW'
,
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
01291021
...
...
@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr5DataView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr5DataView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
01291021
...
...
@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
@@ -2072,4 +2072,5 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
<
style
lang=
'less'
>
@import './guide-view-form-form.less';
</
style
>
uide-view-form-form.less';
</style>
\ No newline at end of file
app_Web/src/widgets/ibizbook/listpanel-list/listpanel-list-base.vue
0 → 100644
浏览文件 @
01291021
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/listpanel-list/listpanel-list-model.ts
0 → 100644
浏览文件 @
01291021
/**
* Listpanel 部件模型
*
* @export
* @class ListpanelModel
*/
export
default
class
ListpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ListpanelListMode
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'author'
,
prop
:
'author'
,
dataType
:
'TEXT'
,
},
{
name
:
'booknumber'
,
prop
:
'booknumber'
,
dataType
:
'INT'
,
},
{
name
:
'srfkey'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfmstag'
,
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
dataType
:
'FONTKEY'
,
},
{
name
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'sort'
,
prop
:
'sort'
},
{
name
:
'page'
,
prop
:
'page'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/listpanel-list/listpanel-list-service.ts
0 → 100644
浏览文件 @
01291021
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
ListpanelModel
from
'./listpanel-list-model'
;
/**
* Listpanel 部件服务对象
*
* @export
* @class ListpanelService
*/
export
default
class
ListpanelService
extends
ControlService
{
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof ListpanelService
*/
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof ListpanelService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of ListpanelService.
*
* @param {*} [opts={}]
* @memberof ListpanelService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
ListpanelModel
();
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ListpanelService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
FetchDefault
(
Context
,
Data
,
isloading
);
}
result
.
then
(
async
(
response
)
=>
{
await
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ListpanelService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 添加数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ListpanelService
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ListpanelService
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/listpanel-list/listpanel-list.less
0 → 100644
浏览文件 @
01291021
// this is less
.app-list {
height:100%;
flex-grow: 1;
overflow-y: auto;
.el-collapse-item__header.is-active{
color: #409eff;
background-color: #ecf5ff;
}
.el-collapse{
.el-collapse-item{
.el-collapse-item__wrap{
.el-collapse-item__content{
padding: 10px 0 10px 0;
}
}
}
}
.app-list-item {
line-height: 34px;
padding: 12px 6px;
min-height: 24px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #f0f0f0;
.app-list-item-content {
width: 70%;
display: flex;
align-items: center;
.item-icon {
width: 40px;
height: 40px;
margin-right: 14px;
img {
width: 40px;
height: 40px;
border-radius: 50%;
}
}
.item-content-text {
display: flex;
flex-direction: column;
width: 80%;
.item-title {
font-size: 18px;
font-weight: bold;
}
.item-description{
height: 34px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.item-subtext {
color: #8c8c8c;
}
}
}
.app-list-item-date {
position: relative;
color: #8c8c8c;
}
}
.app-list-item.isSelect {
background: #ecf5ff;
border-radius: 2px;
border-color: rgb(197, 197, 197);
}
.app-list-item:hover {
background: #ecf5ff;
}
.loadmore {
text-align: center;
padding: 10px;
text-decoration: underline;
color: #82bff7;
cursor: default;
}
}
.app-list-empty {
height:100%;
color: #909399;
display: flex;
justify-content: center;
align-items: center;
}
app_Web/src/widgets/ibizbook/listpanel-list/listpanel-list.vue
0 → 100644
浏览文件 @
01291021
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ListpanelBase
from
'./listpanel-list-base.vue'
;
import
layout_list_itempanel
from
'@widgets/ibizbook/listpanel-panel/listpanel-panel.vue'
;
@
Component
({
components
:
{
layout_list_itempanel
,
}
})
export
default
class
Listpanel
extends
ListpanelBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizbook/listpanel-panel/listpanel-panel-base.vue
0 → 100644
浏览文件 @
01291021
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/listpanel-panel/listpanel-panel-model.ts
0 → 100644
浏览文件 @
01291021
/**
* Listpanel 部件模型
*
* @export
* @class ListpanelModel
*/
export
default
class
ListpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ListpanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'field_text_dynamic'
,
prop
:
'field_textbox'
},
{
name
:
'field_textbox'
,
prop
:
''
}
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/listpanel-panel/listpanel-panel-service.ts
0 → 100644
浏览文件 @
01291021
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Listpanel 部件服务对象
*
* @export
* @class ListpanelService
*/
export
default
class
ListpanelService
extends
ControlService
{
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/listpanel-panel/listpanel-panel.less
0 → 100644
浏览文件 @
01291021
// this is less
.app-layoutpanel {
height: 100%;
.app-layoutpanel-container {
padding: 6px;
}
.app-layoutpanel-tabpanel{
>.el-tabs {
>.el-.el-tabs__header{
margin: 0 0 10px;
}
.app-layoutpanel-tabpage{
padding: 6px;
}
}
}
.app-layoutpanel-button,.app-layoutpanel-conctrl,.app-layoutpanel-ctrlpos,.app-layoutpanel-field,.app-layoutpanel-rowitem,.app-layoutpanel-usercontrol{
padding: 6px;
}
.item-field{
padding: 0 4px;
display: flex;
>.item-field-label{
padding: 0 8px;
}
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/listpanel-panel/listpanel-panel.vue
0 → 100644
浏览文件 @
01291021
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
ListpanelBase
from
'./listpanel-panel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Listpanel
extends
ListpanelBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
01291021
...
...
@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrder
Pickup
GridViewBase
* @memberof IBIZOrder
SF1
GridViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1154,7 +1168,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2071,7 +2085,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -2079,7 +2093,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
浏览文件 @
01291021
...
...
@@ -104,6 +104,21 @@ export default class MainModel {
prop
:
'n_ibizordername_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_orderstate_eq'
,
prop
:
'n_orderstate_eq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_gt'
,
prop
:
'n_ordertime_gt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_lt'
,
prop
:
'n_ordertime_lt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
浏览文件 @
01291021
...
...
@@ -2075,6 +2075,51 @@
}
}
],
"parallelOutput"
:
true
},
{
"codeName"
:
"VIEWCTRLINVOKE2"
,
"getInvokeCtrl"
:
{
"modelref"
:
true
,
"id"
:
"form"
},
"invokeMethod"
:
"load"
,
"getInvokeParam"
:
{
"modelref"
:
true
,
"id"
:
"viewParam"
},
"logicNodeType"
:
"VIEWCTRLINVOKE"
,
"name"
:
"视图部件调用"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEBUGPARAM1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"VIEWCTRLINVOKE2"
}
}
]
},
{
"codeName"
:
"DEBUGPARAM1"
,
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"lastReturn"
},
"logicNodeType"
:
"DEBUGPARAM"
,
"name"
:
"调试逻辑参数"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"END1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEBUGPARAM1"
}
}
]
},
{
"codeName"
:
"BINDPARAM1"
,
"getDstPSDEUILogicParam"
:
{
...
...
@@ -2142,32 +2187,8 @@
},
{
"codeName"
:
"END1"
,
"logicNodeType"
:
"END"
,
"name"
:
"结束"
},
{
"codeName"
:
"VIEWCTRLINVOKE2"
,
"getInvokeCtrl"
:
{
"modelref"
:
true
,
"id"
:
"form"
},
"invokeMethod"
:
"load"
,
"getInvokeParam"
:
{
"modelref"
:
true
,
"id"
:
"viewParam"
},
"logicNodeType"
:
"VIEWCTRLINVOKE"
,
"name"
:
"视图部件调用"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEBUGPARAM1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"VIEWCTRLINVOKE2"
}
}
]
"name"
:
"结束"
,
"returnType"
:
"NONEVALUE"
},
{
"codeName"
:
"VIEWCTRLINVOKE1"
,
"getInvokeCtrl"
:
{
...
...
@@ -2193,37 +2214,17 @@
"id"
:
"VIEWCTRLINVOKE1"
}
}
]
},
{
"codeName"
:
"DEBUGPARAM1"
,
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"lastReturn"
},
"logicNodeType"
:
"DEBUGPARAM"
,
"name"
:
"调试逻辑参数"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"END1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEBUGPARAM1"
}
}
]
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"lastReturn"
,
"logicName"
:
"上一次调用返回数据"
,
"name"
:
"上一次调用返回数据"
,
"lastReturnParam"
:
true
},
{
"codeName"
:
"context"
,
"logicName"
:
"上下文"
,
"name"
:
"上下文"
,
"navContextParam"
:
true
},
{
"codeName"
:
"view"
,
"logicName"
:
"当前视图"
,
"name"
:
"当前视图"
,
"activeViewParam"
:
true
},
{
"codeName"
:
"viewParam"
,
"logicName"
:
"导航视图参数"
,
...
...
@@ -2234,17 +2235,17 @@
"logicName"
:
"当前表单"
,
"name"
:
"当前表单"
,
"ctrlParam"
:
true
},
{
"codeName"
:
"lastReturn"
,
"logicName"
:
"上一次调用返回数据"
,
"name"
:
"上一次调用返回数据"
,
"lastReturnParam"
:
true
},
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"view"
,
"logicName"
:
"当前视图"
,
"name"
:
"当前视图"
,
"activeViewParam"
:
true
}
],
"getStartPSDEUILogicNode"
:
{
"modelref"
:
true
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/Listpanel.json
0 → 100644
浏览文件 @
01291021
{
"codeName"
:
"Listpanel"
,
"controlType"
:
"LIST"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/Listpanel.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
},
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"ROWDBLCLICK"
,
"SELECTIONCHANGE"
,
"REMOVE"
,
"LOAD"
,
"BEFORELOAD"
],
"getItemPSLayoutPanel"
:
{
"getAllPSPanelFields"
:
[
{
"id"
:
"field_text_dynamic"
,
"viewFieldName"
:
"field_textbox"
},
{
"id"
:
"field_textbox"
}
],
"codeName"
:
"Listpanel"
,
"controlType"
:
"PANEL"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Listpanel.json"
,
"layoutMode"
:
"TABLE_24COL"
,
"logicName"
:
"列表测试项布局面板"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label1"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"标签"
,
"showCaption"
:
true
},
{
"caption"
:
"文本"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_text1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"文本内容"
,
"contentType"
:
"RAW"
,
"name"
:
"static_text1"
,
"predefinedType"
:
"STATIC_TEXT"
,
"renderMode"
:
"TEXT"
},
"rawContent"
:
"文本内容"
,
"showCaption"
:
true
},
{
"caption"
:
"文本(动态)"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_text_dynamic"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"field_text_dynamic"
,
"predefinedType"
:
"FIELD_TEXT_DYNAMIC"
,
"renderMode"
:
"TEXT_DYNAMIC"
,
"enableLinkView"
:
false
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"viewFieldName"
:
"field_textbox"
,
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
}
],
"name"
:
"list_itempanel"
,
"modelid"
:
"D7D06AA3-7298-433A-BBD9-5A4105BD915F"
,
"modeltype"
:
"PSSYSVIEWPANEL"
},
"logicName"
:
"listpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics"
:
[
{
"eventNames"
:
"ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD"
,
"logicTag"
:
"list"
,
"logicType"
:
"APPVIEWENGINE"
,
"name"
:
"engine_list"
,
"getPSAppViewEngine"
:
{
"modelref"
:
true
,
"id"
:
"engine"
}
}
],
"getPSDEDataImport"
:
{
"modelref"
:
true
,
"id"
:
"DataImport"
},
"getPSDEListDataItems"
:
[
{
"dataType"
:
25
,
"name"
:
"author"
,
"getPSAppDEField"
:
{
"name"
:
"AUTHOR"
,
"codeName"
:
"Author"
}
},
{
"dataType"
:
9
,
"name"
:
"booknumber"
,
"getPSAppDEField"
:
{
"name"
:
"BOOKNUMBER"
,
"codeName"
:
"Booknumber"
}
},
{
"dataType"
:
25
,
"name"
:
"srfkey"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
}
},
{
"dataType"
:
25
,
"name"
:
"srfmajortext"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
}
},
{
"dataType"
:
25
,
"name"
:
"srfmstag"
}
],
"pagingSize"
:
1000
,
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"hasWFDataItems"
:
false
,
"enableGroup"
:
false
,
"enableRowEdit"
:
false
,
"enableRowEditGroup"
:
false
,
"enableRowEditOrder"
:
false
,
"enableRowNew"
:
false
,
"noSort"
:
false
,
"showHeader"
:
true
,
"modelid"
:
"B7142703-86BE-4792-B0E2-19FF47C03DBC"
,
"modeltype"
:
"PSDELIST"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Listpanel.json
0 → 100644
浏览文件 @
01291021
{
"getAllPSPanelFields"
:
[
{
"id"
:
"field_text_dynamic"
,
"viewFieldName"
:
"field_textbox"
},
{
"id"
:
"field_textbox"
}
],
"codeName"
:
"Listpanel"
,
"controlType"
:
"PANEL"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Listpanel.json"
,
"layoutMode"
:
"TABLE_24COL"
,
"logicName"
:
"列表测试项布局面板"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label1"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"标签"
,
"showCaption"
:
true
},
{
"caption"
:
"文本"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_text1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"文本内容"
,
"contentType"
:
"RAW"
,
"name"
:
"static_text1"
,
"predefinedType"
:
"STATIC_TEXT"
,
"renderMode"
:
"TEXT"
},
"rawContent"
:
"文本内容"
,
"showCaption"
:
true
},
{
"caption"
:
"文本(动态)"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_text_dynamic"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"field_text_dynamic"
,
"predefinedType"
:
"FIELD_TEXT_DYNAMIC"
,
"renderMode"
:
"TEXT_DYNAMIC"
,
"enableLinkView"
:
false
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"viewFieldName"
:
"field_textbox"
,
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
}
],
"modelid"
:
"D7D06AA3-7298-433A-BBD9-5A4105BD915F"
,
"modeltype"
:
"PSSYSVIEWPANEL"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5ListView.json
浏览文件 @
01291021
...
...
@@ -255,13 +255,13 @@
"modelid"
:
"c680bdc2306ff1ea39102917225bdade_toolbar"
,
"modeltype"
:
"PSDETOOLBAR"
},
{
"codeName"
:
"List"
,
"codeName"
:
"List
panel
"
,
"controlType"
:
"LIST"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/List.json"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/List
panel
.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
...
...
@@ -272,6 +272,119 @@
},
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"ROWDBLCLICK"
,
"SELECTIONCHANGE"
,
"REMOVE"
,
"LOAD"
,
"BEFORELOAD"
],
"getItemPSLayoutPanel"
:
{
"getAllPSPanelFields"
:
[
{
"id"
:
"field_text_dynamic"
,
"viewFieldName"
:
"field_textbox"
},
{
"id"
:
"field_textbox"
}
],
"codeName"
:
"Listpanel"
,
"controlType"
:
"PANEL"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/Listpanel.json"
,
"layoutMode"
:
"TABLE_24COL"
,
"logicName"
:
"列表测试项布局面板"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label1"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"标签"
,
"showCaption"
:
true
},
{
"caption"
:
"文本"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_text1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"文本内容"
,
"contentType"
:
"RAW"
,
"name"
:
"static_text1"
,
"predefinedType"
:
"STATIC_TEXT"
,
"renderMode"
:
"TEXT"
},
"rawContent"
:
"文本内容"
,
"showCaption"
:
true
},
{
"caption"
:
"文本(动态)"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_text_dynamic"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"field_text_dynamic"
,
"predefinedType"
:
"FIELD_TEXT_DYNAMIC"
,
"renderMode"
:
"TEXT_DYNAMIC"
,
"enableLinkView"
:
false
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"viewFieldName"
:
"field_textbox"
,
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
}
],
"name"
:
"list_itempanel"
,
"modelid"
:
"D7D06AA3-7298-433A-BBD9-5A4105BD915F"
,
"modeltype"
:
"PSSYSVIEWPANEL"
},
"logicName"
:
"listpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
...
...
@@ -364,6 +477,38 @@
"modelref"
:
true
,
"id"
:
"DataImport"
},
"getPSDEListDataItems"
:
[
{
"dataType"
:
25
,
"name"
:
"author"
,
"getPSAppDEField"
:
{
"name"
:
"AUTHOR"
,
"codeName"
:
"Author"
}
},
{
"dataType"
:
9
,
"name"
:
"booknumber"
,
"getPSAppDEField"
:
{
"name"
:
"BOOKNUMBER"
,
"codeName"
:
"Booknumber"
}
},
{
"dataType"
:
25
,
"name"
:
"srfkey"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
}
},
{
"dataType"
:
25
,
"name"
:
"srfmajortext"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
}
},
{
"dataType"
:
25
,
"name"
:
"srfmstag"
}
],
"pagingSize"
:
1000
,
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
...
...
@@ -382,7 +527,7 @@
"noSort"
:
false
,
"showHeader"
:
true
,
"name"
:
"list"
,
"modelid"
:
"
c680bdc2306ff1ea39102917225bdade_list
"
,
"modelid"
:
"
B7142703-86BE-4792-B0E2-19FF47C03DBC
"
,
"modeltype"
:
"PSDELIST"
}
],
"getPSDEViewCodeName"
:
"Usr5ListView"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr2GridView.json
浏览文件 @
01291021
...
...
@@ -1668,8 +1668,8 @@
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
10
0.0
,
"height"
:
10
0.0
,
"contentHeight"
:
5
0.0
,
"height"
:
5
0.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_header1"
,
...
...
@@ -1677,7 +1677,7 @@
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"height"
:
10
0
,
"height"
:
5
0
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"NORTH"
...
...
@@ -1698,7 +1698,7 @@
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container
3
"
,
"name"
:
"container
1
"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
...
...
@@ -1707,23 +1707,31 @@
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"
QUICKSEARCHBAR部件
"
,
"caption"
:
"
页面标题
"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"quicksearchbar"
,
"itemType"
:
"FIELD"
,
"name"
:
"view_pagecaption"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"view_pagecaption"
,
"predefinedType"
:
"VIEW_PAGECAPTION"
,
"renderMode"
:
"HEADING1"
,
"enableLinkView"
:
false
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"
RIGH
T"
,
"hAlignSelf"
:
"
LEF
T"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"showCaption"
:
true
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container
2
"
,
"name"
:
"container
3
"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
...
...
@@ -1732,10 +1740,10 @@
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"
工具栏
"
,
"caption"
:
"
QUICKSEARCHBAR部件
"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"
tool
bar"
,
"name"
:
"
quicksearch
bar"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"RIGHT"
,
...
...
@@ -1748,34 +1756,26 @@
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container
1
"
,
"name"
:
"container
2
"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
3
,
"grow"
:
-1
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"
页面标题
"
,
"caption"
:
"
工具栏
"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"view_pagecaption"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"view_pagecaption"
,
"predefinedType"
:
"VIEW_PAGECAPTION"
,
"renderMode"
:
"HEADING1"
,
"enableLinkView"
:
false
},
"itemType"
:
"CTRLPOS"
,
"name"
:
"toolbar"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"
LEF
T"
,
"hAlignSelf"
:
"
RIGH
T"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"hidden"
:
false
,
"showCaption"
:
false
"showCaption"
:
true
}
]
}
]
}
],
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
浏览文件 @
01291021
...
...
@@ -3577,6 +3577,24 @@
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"布局面板组件测试"
},
{
"accUserMode"
:
2
,
"caption"
:
"项布局面板测试"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem205"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"AppFunc125"
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"项布局面板测试"
},
{
"accUserMode"
:
2
,
"caption"
:
"编辑视图(左右关系)"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPMENUS/MainMenu.json
浏览文件 @
01291021
...
...
@@ -2006,6 +2006,16 @@
"id"
:
"AppFunc101"
},
"tooltip"
:
"布局面板组件测试"
},
{
"accUserMode"
:
2
,
"caption"
:
"项布局面板测试"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem205"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"AppFunc125"
},
"tooltip"
:
"项布局面板测试"
},
{
"accUserMode"
:
2
,
"caption"
:
"编辑视图(左右关系)"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
01291021
...
...
@@ -3712,6 +3712,16 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderSF2EditView.json"
,
"viewType"
:
"DEEDITVIEW"
}
},
{
"appFuncType"
:
"APPVIEW"
,
"codeName"
:
"AppFunc125"
,
"name"
:
"项布局面板测试"
,
"openMode"
:
"INDEXVIEWTAB"
,
"getPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5ListView.json"
,
"viewType"
:
"DELISTVIEW"
}
},
{
"appFuncType"
:
"APPVIEW"
,
"codeName"
:
"Auto372"
,
...
...
@@ -18519,6 +18529,24 @@
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"布局面板组件测试"
},
{
"accUserMode"
:
2
,
"caption"
:
"项布局面板测试"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem205"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"AppFunc125"
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"项布局面板测试"
},
{
"accUserMode"
:
2
,
"caption"
:
"编辑视图(左右关系)"
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
01291021
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-38
2
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-38
9
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
@@ -340,7 +340,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-51
5
-14"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-51
9
-14"
>
<createTable
tableName=
"T_IBIZORDER"
>
<column
name=
"TP"
remarks=
""
type=
"TEXT(1048576)"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
01291021
...
...
@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-51
5
-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-51
9
-8"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDER"
>
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录