Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
c144f563
提交
c144f563
编写于
12月 03, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
d5d2ecf2
变更
39
显示空白字符变更
内嵌
并排
正在显示
39 个修改的文件
包含
3032 行增加
和
270 行删除
+3032
-270
view-config.json
app_Web/public/assets/json/view-config.json
+24
-16
en-US.ts
app_Web/src/locale/lang/en-US.ts
+0
-1
zh-CN.ts
app_Web/src/locale/lang/zh-CN.ts
+0
-1
ibizcustomer-intf_en_US.ts
...res/entities/ibizcustomer-intf/ibizcustomer-intf_en_US.ts
+4
-0
ibizcustomer-intf_zh_CN.ts
...res/entities/ibizcustomer-intf/ibizcustomer-intf_zh_CN.ts
+4
-0
ibizcustomer_en_US.ts
...locale/lanres/entities/ibizcustomer/ibizcustomer_en_US.ts
+4
-0
ibizcustomer_zh_CN.ts
...locale/lanres/entities/ibizcustomer/ibizcustomer_zh_CN.ts
+4
-0
ibizorder-detail_en_US.ts
...anres/entities/ibizorder-detail/ibizorder-detail_en_US.ts
+6
-36
ibizorder-detail_zh_CN.ts
...anres/entities/ibizorder-detail/ibizorder-detail_zh_CN.ts
+6
-36
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+0
-18
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+24
-16
ibizcustomer-intfmpickup-view-base.vue
...r-intfmpickup-view/ibizcustomer-intfmpickup-view-base.vue
+886
-0
ibizcustomer-intfmpickup-view.less
...tomer-intfmpickup-view/ibizcustomer-intfmpickup-view.less
+69
-0
ibizcustomer-intfmpickup-view.vue
...stomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue
+22
-0
ibizcustomer-mpickup-view-base.vue
...zcustomer-mpickup-view/ibizcustomer-mpickup-view-base.vue
+886
-0
ibizcustomer-mpickup-view.less
.../ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.less
+69
-0
ibizcustomer-mpickup-view.vue
...e/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue
+22
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+3
-2
router.ts
app_Web/src/pages/sample/index/router.ts
+64
-66
state.ts
app_Web/src/store/modules/view-action/state.ts
+22
-10
ibizcustomer-intf-ui-service-base.ts
...ce/ibizcustomer-intf/ibizcustomer-intf-ui-service-base.ts
+1
-0
ibizcustomer-ui-service-base.ts
...rc/uiservice/ibizcustomer/ibizcustomer-ui-service-base.ts
+1
-0
ibizorder-detail-ui-service-base.ts
...vice/ibizorder-detail/ibizorder-detail-ui-service-base.ts
+1
-2
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+0
-26
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+0
-19
mpickup-viewpickupviewpanel-pickupviewpanel-base.vue
...anel/mpickup-viewpickupviewpanel-pickupviewpanel-base.vue
+362
-0
mpickup-viewpickupviewpanel-pickupviewpanel-model.ts
...anel/mpickup-viewpickupviewpanel-pickupviewpanel-model.ts
+52
-0
mpickup-viewpickupviewpanel-pickupviewpanel-service.ts
...el/mpickup-viewpickupviewpanel-pickupviewpanel-service.ts
+11
-0
mpickup-viewpickupviewpanel-pickupviewpanel.less
...iewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.less
+4
-0
mpickup-viewpickupviewpanel-pickupviewpanel.vue
...viewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.vue
+14
-0
mpickup-viewpickupviewpanel-pickupviewpanel-base.vue
...anel/mpickup-viewpickupviewpanel-pickupviewpanel-base.vue
+362
-0
mpickup-viewpickupviewpanel-pickupviewpanel-model.ts
...anel/mpickup-viewpickupviewpanel-pickupviewpanel-model.ts
+49
-0
mpickup-viewpickupviewpanel-pickupviewpanel-service.ts
...el/mpickup-viewpickupviewpanel-pickupviewpanel-service.ts
+11
-0
mpickup-viewpickupviewpanel-pickupviewpanel.less
...iewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.less
+4
-0
mpickup-viewpickupviewpanel-pickupviewpanel.vue
...viewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.vue
+14
-0
select-view-form-form-base.vue
...rder/select-view-form-form/select-view-form-form-base.vue
+20
-14
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+3
-3
view.xml
demo-core/src/main/resources/liquibase/view.xml
+3
-3
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
c144f563
...
@@ -327,14 +327,6 @@
...
@@ -327,14 +327,6 @@
"viewname"
:
"IBIZSample0017PickupView"
,
"viewname"
:
"IBIZSample0017PickupView"
,
"viewtag"
:
"3169df07474ba775203f9635eb0e9b9a"
"viewtag"
:
"3169df07474ba775203f9635eb0e9b9a"
},
},
"ibizorderdetailusr2editview"
:
{
"title"
:
"订单明细编辑视图"
,
"caption"
:
"订单明细"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderDetailUsr2EditView"
,
"viewtag"
:
"319d79a4f05cde44a1a7751b3ffe68ef"
},
"ibizordertypepickupgridview"
:
{
"ibizordertypepickupgridview"
:
{
"title"
:
"订单类型选择表格视图"
,
"title"
:
"订单类型选择表格视图"
,
"caption"
:
"订单类型"
,
"caption"
:
"订单类型"
,
...
@@ -759,6 +751,14 @@
...
@@ -759,6 +751,14 @@
"viewname"
:
"IBIZUNIProductPickupGridView"
,
"viewname"
:
"IBIZUNIProductPickupGridView"
,
"viewtag"
:
"80c9ae9ed04e7107ed9fc93734a447d1"
"viewtag"
:
"80c9ae9ed04e7107ed9fc93734a447d1"
},
},
"ibizcustomermpickupview"
:
{
"title"
:
"客户数据多项选择视图"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEMPICKUPVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZCustomerMPickupView"
,
"viewtag"
:
"81e92e837f6fa81fed5b6beaa75f6bbd"
},
"ibizordertypeusr2editview"
:
{
"ibizordertypeusr2editview"
:
{
"title"
:
"订单类型编辑视图"
,
"title"
:
"订单类型编辑视图"
,
"caption"
:
"订单类型"
,
"caption"
:
"订单类型"
,
...
@@ -967,14 +967,6 @@
...
@@ -967,14 +967,6 @@
"viewname"
:
"IBIZBOOKHasPanelKanBanView"
,
"viewname"
:
"IBIZBOOKHasPanelKanBanView"
,
"viewtag"
:
"a6cb9804bfd40d2542ae2c44e0cc3331"
"viewtag"
:
"a6cb9804bfd40d2542ae2c44e0cc3331"
},
},
"ibizorderdetailusr3editview"
:
{
"title"
:
"订单明细编辑视图"
,
"caption"
:
"订单明细"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderDetailUsr3EditView"
,
"viewtag"
:
"a70ece0abc7c94ca607df689ea742668"
},
"ibizsample0003editview"
:
{
"ibizsample0003editview"
:
{
"title"
:
"IBIZSAMPLE0003编辑视图"
,
"title"
:
"IBIZSAMPLE0003编辑视图"
,
"caption"
:
"示例实体03"
,
"caption"
:
"示例实体03"
,
...
@@ -1359,6 +1351,14 @@
...
@@ -1359,6 +1351,14 @@
"viewname"
:
"IBIZSample0003SPickupView2"
,
"viewname"
:
"IBIZSample0003SPickupView2"
,
"viewtag"
:
"df462fabce815005a40debffad2f43e6"
"viewtag"
:
"df462fabce815005a40debffad2f43e6"
},
},
"ibizcustomer_intfmpickupview"
:
{
"title"
:
"客户数据多项选择视图"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEMPICKUPVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZCustomer_INTFMPickupView"
,
"viewtag"
:
"e0e27dfc4c1e8f322c8e8d80a9a21301"
},
"ibizbookusr3dataview"
:
{
"ibizbookusr3dataview"
:
{
"title"
:
"图书数据视图(代码表分组)"
,
"title"
:
"图书数据视图(代码表分组)"
,
"caption"
:
"图书"
,
"caption"
:
"图书"
,
...
@@ -1527,6 +1527,14 @@
...
@@ -1527,6 +1527,14 @@
"viewname"
:
"IBIZBOOKEditView4"
,
"viewname"
:
"IBIZBOOKEditView4"
,
"viewtag"
:
"f54effa21e9231945eea4ff2f9b2af6f"
"viewtag"
:
"f54effa21e9231945eea4ff2f9b2af6f"
},
},
"ibizorderdetailusr2editview"
:
{
"title"
:
"订单明细编辑视图"
,
"caption"
:
"订单明细"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderDetailUsr2EditView"
,
"viewtag"
:
"f5fd15132c21e606b626206e0081ec9d"
},
"ibizbookinternalfuncgridview"
:
{
"ibizbookinternalfuncgridview"
:
{
"title"
:
"表格内置功能"
,
"title"
:
"表格内置功能"
,
"caption"
:
"表格内置功能"
,
"caption"
:
"表格内置功能"
,
...
...
app_Web/src/locale/lang/en-US.ts
浏览文件 @
c144f563
...
@@ -261,7 +261,6 @@ export default {
...
@@ -261,7 +261,6 @@ export default {
menuitem131
:
"表格选项操作"
,
menuitem131
:
"表格选项操作"
,
menuitem142
:
"选择视图"
,
menuitem142
:
"选择视图"
,
menuitem143
:
"数据选择视图"
,
menuitem143
:
"数据选择视图"
,
menuitem130
:
"数据选择视图2"
,
menuitem5
:
"视图"
,
menuitem5
:
"视图"
,
menuitem9
:
"列表视图"
,
menuitem9
:
"列表视图"
,
menuitem19
:
"常规表格视图"
,
menuitem19
:
"常规表格视图"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
c144f563
...
@@ -261,7 +261,6 @@ export default {
...
@@ -261,7 +261,6 @@ export default {
menuitem131
:
"表格选项操作"
,
menuitem131
:
"表格选项操作"
,
menuitem142
:
"选择视图"
,
menuitem142
:
"选择视图"
,
menuitem143
:
"数据选择视图"
,
menuitem143
:
"数据选择视图"
,
menuitem130
:
"数据选择视图2"
,
menuitem5
:
"视图"
,
menuitem5
:
"视图"
,
menuitem9
:
"列表视图"
,
menuitem9
:
"列表视图"
,
menuitem19
:
"常规表格视图"
,
menuitem19
:
"常规表格视图"
,
...
...
app_Web/src/locale/lanres/entities/ibizcustomer-intf/ibizcustomer-intf_en_US.ts
浏览文件 @
c144f563
...
@@ -21,6 +21,10 @@ export default {
...
@@ -21,6 +21,10 @@ export default {
caption
:
"客户"
,
caption
:
"客户"
,
title
:
"客户选择表格视图"
,
title
:
"客户选择表格视图"
,
},
},
mpickupview
:
{
caption
:
"客户"
,
title
:
"客户数据多项选择视图"
,
},
},
},
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
...
...
app_Web/src/locale/lanres/entities/ibizcustomer-intf/ibizcustomer-intf_zh_CN.ts
浏览文件 @
c144f563
...
@@ -20,6 +20,10 @@ export default {
...
@@ -20,6 +20,10 @@ export default {
caption
:
"客户"
,
caption
:
"客户"
,
title
:
"客户选择表格视图"
,
title
:
"客户选择表格视图"
,
},
},
mpickupview
:
{
caption
:
"客户"
,
title
:
"客户数据多项选择视图"
,
},
},
},
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
...
...
app_Web/src/locale/lanres/entities/ibizcustomer/ibizcustomer_en_US.ts
浏览文件 @
c144f563
...
@@ -16,6 +16,10 @@ export default {
...
@@ -16,6 +16,10 @@ export default {
caption
:
"客户"
,
caption
:
"客户"
,
title
:
"客户选择表格视图"
,
title
:
"客户选择表格视图"
,
},
},
mpickupview
:
{
caption
:
"客户"
,
title
:
"客户数据多项选择视图"
,
},
editview
:
{
editview
:
{
caption
:
"客户"
,
caption
:
"客户"
,
title
:
"客户编辑视图"
,
title
:
"客户编辑视图"
,
...
...
app_Web/src/locale/lanres/entities/ibizcustomer/ibizcustomer_zh_CN.ts
浏览文件 @
c144f563
...
@@ -15,6 +15,10 @@ export default {
...
@@ -15,6 +15,10 @@ export default {
caption
:
"客户"
,
caption
:
"客户"
,
title
:
"客户选择表格视图"
,
title
:
"客户选择表格视图"
,
},
},
mpickupview
:
{
caption
:
"客户"
,
title
:
"客户数据多项选择视图"
,
},
editview
:
{
editview
:
{
caption
:
"客户"
,
caption
:
"客户"
,
title
:
"客户编辑视图"
,
title
:
"客户编辑视图"
,
...
...
app_Web/src/locale/lanres/entities/ibizorder-detail/ibizorder-detail_en_US.ts
浏览文件 @
c144f563
...
@@ -35,10 +35,6 @@ export default {
...
@@ -35,10 +35,6 @@ export default {
caption
:
"orderdetail"
,
caption
:
"orderdetail"
,
title
:
"订单明细列表视图"
,
title
:
"订单明细列表视图"
,
},
},
usr2editview
:
{
caption
:
"orderdetail"
,
title
:
"订单明细编辑视图"
,
},
f6editview
:
{
f6editview
:
{
caption
:
"orderdetail"
,
caption
:
"orderdetail"
,
title
:
"订单明细编辑视图"
,
title
:
"订单明细编辑视图"
,
...
@@ -55,10 +51,6 @@ export default {
...
@@ -55,10 +51,6 @@ export default {
caption
:
"表单项更新"
,
caption
:
"表单项更新"
,
title
:
"表单项更新"
,
title
:
"表单项更新"
,
},
},
usr3editview
:
{
caption
:
"orderdetail"
,
title
:
"订单明细编辑视图"
,
},
sgridview9
:
{
sgridview9
:
{
caption
:
"orderdetail"
,
caption
:
"orderdetail"
,
title
:
"订单明细表格视图"
,
title
:
"订单明细表格视图"
,
...
@@ -75,6 +67,10 @@ export default {
...
@@ -75,6 +67,10 @@ export default {
caption
:
"orderdetail"
,
caption
:
"orderdetail"
,
title
:
"订单明细表格视图"
,
title
:
"订单明细表格视图"
,
},
},
usr2editview
:
{
caption
:
"orderdetail"
,
title
:
"订单明细编辑视图"
,
},
sgridview
:
{
sgridview
:
{
caption
:
"orderdetail"
,
caption
:
"orderdetail"
,
title
:
"订单明细表格视图"
,
title
:
"订单明细表格视图"
,
...
@@ -157,30 +153,6 @@ export default {
...
@@ -157,30 +153,6 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
main4_form
:
{
details
:
{
group1
:
"订单明细基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"订单明细标识"
,
srfmajortext
:
"订单明细名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizorderdetailname
:
"订单明细名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizorderdetailid
:
"订单明细标识"
,
},
uiactions
:
{
},
},
logic_0007_form
:
{
logic_0007_form
:
{
details
:
{
details
:
{
group1
:
"订单明细基本信息"
,
group1
:
"订单明细基本信息"
,
...
@@ -229,7 +201,7 @@ export default {
...
@@ -229,7 +201,7 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
dataselectform
_form
:
{
ui_0007_2
_form
:
{
details
:
{
details
:
{
group1
:
"订单明细基本信息"
,
group1
:
"订单明细基本信息"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
...
@@ -484,8 +456,6 @@ export default {
...
@@ -484,8 +456,6 @@ export default {
tip
:
"数据导入"
,
tip
:
"数据导入"
,
},
},
},
},
usr2editviewtoolbar_toolbar
:
{
},
f6gridviewtoolbar_toolbar
:
{
f6gridviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
"New"
,
caption
:
"New"
,
...
@@ -592,6 +562,6 @@ export default {
...
@@ -592,6 +562,6 @@ export default {
tip
:
"刷新"
,
tip
:
"刷新"
,
},
},
},
},
usr
3
editviewtoolbar_toolbar
:
{
usr
2
editviewtoolbar_toolbar
:
{
},
},
};
};
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizorder-detail/ibizorder-detail_zh_CN.ts
浏览文件 @
c144f563
...
@@ -34,10 +34,6 @@ export default {
...
@@ -34,10 +34,6 @@ export default {
caption
:
"订单明细"
,
caption
:
"订单明细"
,
title
:
"订单明细列表视图"
,
title
:
"订单明细列表视图"
,
},
},
usr2editview
:
{
caption
:
"订单明细"
,
title
:
"订单明细编辑视图"
,
},
f6editview
:
{
f6editview
:
{
caption
:
"订单明细"
,
caption
:
"订单明细"
,
title
:
"订单明细编辑视图"
,
title
:
"订单明细编辑视图"
,
...
@@ -54,10 +50,6 @@ export default {
...
@@ -54,10 +50,6 @@ export default {
caption
:
"表单项更新"
,
caption
:
"表单项更新"
,
title
:
"表单项更新"
,
title
:
"表单项更新"
,
},
},
usr3editview
:
{
caption
:
"订单明细"
,
title
:
"订单明细编辑视图"
,
},
sgridview9
:
{
sgridview9
:
{
caption
:
"订单明细"
,
caption
:
"订单明细"
,
title
:
"订单明细表格视图"
,
title
:
"订单明细表格视图"
,
...
@@ -74,6 +66,10 @@ export default {
...
@@ -74,6 +66,10 @@ export default {
caption
:
"订单明细"
,
caption
:
"订单明细"
,
title
:
"订单明细表格视图"
,
title
:
"订单明细表格视图"
,
},
},
usr2editview
:
{
caption
:
"订单明细"
,
title
:
"订单明细编辑视图"
,
},
sgridview
:
{
sgridview
:
{
caption
:
"订单明细"
,
caption
:
"订单明细"
,
title
:
"订单明细表格视图"
,
title
:
"订单明细表格视图"
,
...
@@ -156,30 +152,6 @@ export default {
...
@@ -156,30 +152,6 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
main4_form
:
{
details
:
{
group1
:
"订单明细基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"订单明细标识"
,
srfmajortext
:
"订单明细名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizorderdetailname
:
"订单明细名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizorderdetailid
:
"订单明细标识"
,
},
uiactions
:
{
},
},
logic_0007_form
:
{
logic_0007_form
:
{
details
:
{
details
:
{
group1
:
"订单明细基本信息"
,
group1
:
"订单明细基本信息"
,
...
@@ -228,7 +200,7 @@ export default {
...
@@ -228,7 +200,7 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
dataselectform
_form
:
{
ui_0007_2
_form
:
{
details
:
{
details
:
{
group1
:
"订单明细基本信息"
,
group1
:
"订单明细基本信息"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
...
@@ -483,8 +455,6 @@ export default {
...
@@ -483,8 +455,6 @@ export default {
tip
:
"数据导入"
,
tip
:
"数据导入"
,
},
},
},
},
usr2editviewtoolbar_toolbar
:
{
},
f6gridviewtoolbar_toolbar
:
{
f6gridviewtoolbar_toolbar
:
{
tbitem3
:
{
tbitem3
:
{
caption
:
"新建"
,
caption
:
"新建"
,
...
@@ -591,6 +561,6 @@ export default {
...
@@ -591,6 +561,6 @@ export default {
tip
:
"刷新"
,
tip
:
"刷新"
,
},
},
},
},
usr
3
editviewtoolbar_toolbar
:
{
usr
2
editviewtoolbar_toolbar
:
{
},
},
};
};
\ No newline at end of file
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
c144f563
...
@@ -1809,24 +1809,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
...
@@ -1809,24 +1809,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc61'
,
appfunctag
:
'AppFunc61'
,
resourcetag
:
''
,
resourcetag
:
''
,
},
{
id
:
'FA7BE937-1340-4713-95E9-61958F120657'
,
name
:
'menuitem130'
,
text
:
'数据选择视图2'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'数据选择视图2'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc63'
,
resourcetag
:
''
,
},
},
],
],
},
},
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
c144f563
...
@@ -335,14 +335,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -335,14 +335,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZSample0017PickupView"
,
"viewname"
:
"IBIZSample0017PickupView"
,
"viewtag"
:
"3169df07474ba775203f9635eb0e9b9a"
"viewtag"
:
"3169df07474ba775203f9635eb0e9b9a"
},
},
"ibizorderdetailusr2editview"
:
{
"title"
:
"订单明细编辑视图"
,
"caption"
:
"订单明细"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderDetailUsr2EditView"
,
"viewtag"
:
"319d79a4f05cde44a1a7751b3ffe68ef"
},
"ibizordertypepickupgridview"
:
{
"ibizordertypepickupgridview"
:
{
"title"
:
"订单类型选择表格视图"
,
"title"
:
"订单类型选择表格视图"
,
"caption"
:
"订单类型"
,
"caption"
:
"订单类型"
,
...
@@ -767,6 +759,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -767,6 +759,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZUNIProductPickupGridView"
,
"viewname"
:
"IBIZUNIProductPickupGridView"
,
"viewtag"
:
"80c9ae9ed04e7107ed9fc93734a447d1"
"viewtag"
:
"80c9ae9ed04e7107ed9fc93734a447d1"
},
},
"ibizcustomermpickupview"
:
{
"title"
:
"客户数据多项选择视图"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEMPICKUPVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZCustomerMPickupView"
,
"viewtag"
:
"81e92e837f6fa81fed5b6beaa75f6bbd"
},
"ibizordertypeusr2editview"
:
{
"ibizordertypeusr2editview"
:
{
"title"
:
"订单类型编辑视图"
,
"title"
:
"订单类型编辑视图"
,
"caption"
:
"订单类型"
,
"caption"
:
"订单类型"
,
...
@@ -975,14 +975,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -975,14 +975,6 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZBOOKHasPanelKanBanView"
,
"viewname"
:
"IBIZBOOKHasPanelKanBanView"
,
"viewtag"
:
"a6cb9804bfd40d2542ae2c44e0cc3331"
"viewtag"
:
"a6cb9804bfd40d2542ae2c44e0cc3331"
},
},
"ibizorderdetailusr3editview"
:
{
"title"
:
"订单明细编辑视图"
,
"caption"
:
"订单明细"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderDetailUsr3EditView"
,
"viewtag"
:
"a70ece0abc7c94ca607df689ea742668"
},
"ibizsample0003editview"
:
{
"ibizsample0003editview"
:
{
"title"
:
"IBIZSAMPLE0003编辑视图"
,
"title"
:
"IBIZSAMPLE0003编辑视图"
,
"caption"
:
"示例实体03"
,
"caption"
:
"示例实体03"
,
...
@@ -1367,6 +1359,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -1367,6 +1359,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZSample0003SPickupView2"
,
"viewname"
:
"IBIZSample0003SPickupView2"
,
"viewtag"
:
"df462fabce815005a40debffad2f43e6"
"viewtag"
:
"df462fabce815005a40debffad2f43e6"
},
},
"ibizcustomer_intfmpickupview"
:
{
"title"
:
"客户数据多项选择视图"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEMPICKUPVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZCustomer_INTFMPickupView"
,
"viewtag"
:
"e0e27dfc4c1e8f322c8e8d80a9a21301"
},
"ibizbookusr3dataview"
:
{
"ibizbookusr3dataview"
:
{
"title"
:
"图书数据视图(代码表分组)"
,
"title"
:
"图书数据视图(代码表分组)"
,
"caption"
:
"图书"
,
"caption"
:
"图书"
,
...
@@ -1535,6 +1535,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -1535,6 +1535,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZBOOKEditView4"
,
"viewname"
:
"IBIZBOOKEditView4"
,
"viewtag"
:
"f54effa21e9231945eea4ff2f9b2af6f"
"viewtag"
:
"f54effa21e9231945eea4ff2f9b2af6f"
},
},
"ibizorderdetailusr2editview"
:
{
"title"
:
"订单明细编辑视图"
,
"caption"
:
"订单明细"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderDetailUsr2EditView"
,
"viewtag"
:
"f5fd15132c21e606b626206e0081ec9d"
},
"ibizbookinternalfuncgridview"
:
{
"ibizbookinternalfuncgridview"
:
{
"title"
:
"表格内置功能"
,
"title"
:
"表格内置功能"
,
"caption"
:
"表格内置功能"
,
"caption"
:
"表格内置功能"
,
...
...
app_Web/src/pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view-base.vue
0 → 100644
浏览文件 @
c144f563
<
template
>
<div
class=
"view-container dempickupview ibizcustomer-intfmpickup-view"
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizcustomer_intfmpickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
'view-top-messages'
>
</div>
<div
class=
"content-container pickup-view"
>
<div
class=
'view-body-messages'
>
</div>
<div
class=
"translate-contant"
>
<div
class=
"center"
:style=
"
{width : !isShowButton ? '100%' : ''}">
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
load=
"pickupviewpanel_load($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
</div>
<div
v-if=
"isShowButton"
class=
"translate-buttons"
>
<div
class=
"buttons"
>
<i-button
type=
"primary"
:title=
"this.containerModel.view_rightbtn.text"
:disabled=
"this.containerModel.view_rightbtn.disabled"
@
click=
"onCLickRight"
>
<i
class=
"el-icon-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"this.containerModel.view_leftbtn.text"
:disabled=
"this.containerModel.view_leftbtn.disabled"
@
click=
"onCLickLeft"
>
<i
class=
"el-icon-arrow-left"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"this.containerModel.view_allrightbtn.text"
@
click=
"onCLickAllRight"
>
<i
class=
"el-icon-d-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"this.containerModel.view_allleftbtn.text"
@
click=
"onCLickAllLeft"
>
<i
class=
"el-icon-d-arrow-left"
></i>
</i-button>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"right"
>
<div
class=
"mpicker-select"
>
<div
v-for=
"(item, index) in viewSelections"
:key=
"index"
:class=
"item._select ? 'select' : ''"
@
click=
"selectionsClick(item)"
@
dblclick=
"selectionsDBLClick(item)"
>
<span>
{{
item
.
srfmajortext
}}
</span>
</div>
</div>
</div>
</div>
<card
v-if=
"isShowButton"
:dis-hover=
"true"
:bordered=
"false"
class=
"footer"
>
<row
:style=
"
{ textAlign: 'right' }">
<i-button
type=
"primary"
:disabled=
"this.viewSelections.length > 0 ? false : true"
@
click=
"onClickOk"
>
{{
this
.
containerModel
.
view_okbtn
.
text
}}
</i-button>
<i-button
@
click=
"onClickCancel"
>
{{
this
.
containerModel
.
view_cancelbtn
.
text
}}
</i-button>
</row>
</card>
</div>
<div
class=
'view-bottom-messages'
>
</div>
</card>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Inject
}
from
'vue-property-decorator'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
IBIZCustomer_INTFService
from
'@/service/ibizcustomer-intf/ibizcustomer-intf-service'
;
import
IBIZCustomer_INTFAuthService
from
'@/authservice/ibizcustomer-intf/ibizcustomer-intf-auth-service'
;
import
MPickupViewEngine
from
'@engine/view/mpickup-view-engine'
;
import
IBIZCustomer_INTFUIService
from
'@/uiservice/ibizcustomer-intf/ibizcustomer-intf-ui-service'
;
@
Component
({
components
:
{
},
})
export
default
class
IBIZCustomer_INTFMPickupViewBase
extends
Vue
{
/**
* 实体服务对象
*
* @type {IBIZCustomer_INTFService}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
appEntityService
:
IBIZCustomer_INTFService
=
new
IBIZCustomer_INTFService
;
/**
* 实体UI服务对象
*
* @type IBIZCustomer_INTFUIService
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
appUIService
:
IBIZCustomer_INTFUIService
=
new
IBIZCustomer_INTFUIService
(
this
.
$store
);
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
@
Emit
()
public
viewDatasChange
(
val
:
any
):
any
{
return
val
;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
@
Prop
()
public
viewdata
!
:
string
;
/**
* 传入视图参数
*
* @type {string}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
@
Prop
()
public
viewparam
!
:
string
;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
@
Prop
({
default
:
true
})
public
viewDefaultUsage
!
:
boolean
;
/**
* 视图默认使用
*
* @type {string}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
@
Inject
({
from
:
'navModel'
,
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 视图标识
*
* @type {string}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
viewtag
:
string
=
'e0e27dfc4c1e8f322c8e8d80a9a21301'
;
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @type {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
model
:
any
=
{
srfCaption
:
'entities.ibizcustomer_intf.views.mpickupview.caption'
,
srfTitle
:
'entities.ibizcustomer_intf.views.mpickupview.title'
,
srfSubTitle
:
'entities.ibizcustomer_intf.views.mpickupview.subtitle'
,
dataInfo
:
''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
@
Watch
(
'viewparam'
,{
immediate
:
true
,
deep
:
true
})
onParamData
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
){
this
.
viewparams
=
{};
if
(
typeof
newVal
==
'string'
)
{
Object
.
assign
(
this
.
viewparams
,
JSON
.
parse
(
this
.
viewparam
));
}
else
{
this
.
viewparams
=
Util
.
deepCopy
(
this
.
viewparam
);
}
if
(
this
.
viewparams
.
selectedData
){
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewparams
.
selectedData
);
this
.
viewSelections
=
this
.
viewparams
.
selectedData
;
}
}
}
/**
* 处理应用上下文变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
engine
.
load
();
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
}
}
/**
* 容器模型
*
* @type {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
containerModel
:
any
=
{
view_pickupviewpanel
:
{
name
:
'pickupviewpanel'
,
type
:
'PICKUPVIEWPANEL'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 计数器刷新
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 视图状态订阅对象
*
* @public
* @type {Subject<{action: string, data: any}>}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
engine
:
MPickupViewEngine
=
new
MPickupViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
pickupviewpanel
:
this
.
$refs
.
pickupviewpanel
,
keyPSDEField
:
'ibizcustomer_intf'
,
majorPSDEField
:
'ibizcustomername'
,
isLoadDefault
:
true
,
});
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
(
this
.
$store
);
/**
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
serviceStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态对象
*
* @type {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
@
Prop
()
public
portletState
?:
any
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
portletStateEvent
:
Subscription
|
undefined
;
/**
* 应用上下文
*
* @type {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
context
:
any
=
{};
/**
* 视图参数
*
* @type {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
viewparams
:
any
=
{};
/**
* 视图缓存数据
*
* @type {*}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
viewCacheData
:
any
;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 解析视图参数
*
* @public
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
parseViewParam
(
inputvalue
:
any
=
null
):
void
{
for
(
let
key
in
this
.
context
){
delete
this
.
context
[
key
];
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
if
(
!
this
.
viewDefaultUsage
&&
this
.
viewdata
&&
!
Object
.
is
(
this
.
viewdata
,
''
))
{
if
(
typeof
this
.
viewdata
==
'string'
)
{
Object
.
assign
(
this
.
context
,
JSON
.
parse
(
this
.
viewdata
));
}
if
(
this
.
context
&&
this
.
context
.
srfparentdename
){
Object
.
assign
(
this
.
viewparams
,{
srfparentdename
:
this
.
context
.
srfparentdename
});
}
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
this
.
handleCustomViewData
();
return
;
}
const
path
=
(
this
.
$route
.
matched
[
this
.
$route
.
matched
.
length
-
1
]).
path
;
const
keys
:
Array
<
any
>
=
[];
const
curReg
=
this
.
$pathToRegExp
.
pathToRegexp
(
path
,
keys
);
const
matchArray
=
curReg
.
exec
(
this
.
$route
.
path
);
let
tempValue
:
Object
=
{};
keys
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
.
name
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
this
.
$viewTool
.
formatRouteParams
(
tempValue
,
this
.
$route
,
this
.
context
,
this
.
viewparams
);
if
(
inputvalue
){
Object
.
assign
(
this
.
context
,{
'ibizcustomer_intf'
:
inputvalue
});
}
//初始化视图唯一标识
Object
.
assign
(
this
.
context
,{
srfsessionid
:
this
.
$util
.
createUUID
()});
this
.
handleCustomViewData
();
//初始化导航数据
this
.
initNavDataWithRoute
();
}
/**
* 处理自定义视图数据
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
handleCustomViewData
(){
if
(
Object
.
keys
(
this
.
customViewNavContexts
).
length
>
0
){
Object
.
keys
(
this
.
customViewNavContexts
).
forEach
((
item
:
any
)
=>
{
let
tempContext
:
any
=
{};
let
curNavContext
:
any
=
this
.
customViewNavContexts
[
item
];
this
.
handleCustomDataLogic
(
curNavContext
,
tempContext
,
item
);
Object
.
assign
(
this
.
context
,
tempContext
);
})
}
if
(
Object
.
keys
(
this
.
customViewParams
).
length
>
0
){
Object
.
keys
(
this
.
customViewParams
).
forEach
((
item
:
any
)
=>
{
let
tempParam
:
any
=
{};
let
curNavParam
:
any
=
this
.
customViewParams
[
item
];
this
.
handleCustomDataLogic
(
curNavParam
,
tempParam
,
item
);
Object
.
assign
(
this
.
viewparams
,
tempParam
);
})
}
}
/**
* 处理自定义视图数据逻辑
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
handleCustomDataLogic
(
curNavData
:
any
,
tempData
:
any
,
item
:
string
){
// 直接值直接赋值
if
(
curNavData
.
isRawValue
){
if
(
Object
.
is
(
curNavData
.
value
,
"null"
)
||
Object
.
is
(
curNavData
.
value
,
""
)){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
curNavData
.
value
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
else
{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if
(
this
.
context
[(
curNavData
.
value
).
toLowerCase
()]
!=
null
){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
context
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
if
(
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()]
!=
null
){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
}
}
/**
* 初始化导航数据(路由模式)
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
initNavDataWithRoute
(
data
:
any
=
null
,
isNew
:
boolean
=
false
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavData
({
id
:
'ibizcustomer-intfmpickup-view'
,
tag
:
this
.
viewtag
,
srfkey
:
isNew
?
null
:
this
.
context
.
ibizcustomer_intf
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
}
}
/**
* 初始化导航数据(分页模式)
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
initNavDataWithTab
(
data
:
any
=
null
,
isOnlyAdd
:
boolean
=
true
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
!
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavDataByOnly
({
id
:
'ibizcustomer-intfmpickup-view'
,
tag
:
this
.
viewtag
,
srfkey
:
this
.
context
.
ibizcustomer_intf
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
},
isOnlyAdd
);
}
}
/**
* Vue声明周期
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
afterCreated
(){
let
_this
:
any
=
this
;
const
secondtag
=
_this
.
$util
.
createUUID
();
_this
.
$store
.
commit
(
'viewaction/createdView'
,
{
viewtag
:
_this
.
viewtag
,
secondtag
:
secondtag
});
_this
.
viewtag
=
secondtag
;
_this
.
parseViewParam
();
_this
.
serviceStateEvent
=
_this
.
navDataService
.
serviceState
.
subscribe
(({
action
,
name
,
data
}:{
action
:
string
,
name
:
any
,
data
:
any
})
=>
{
if
(
!
Object
.
is
(
name
,
'ibizcustomer-intfmpickup-view'
)){
return
;
}
if
(
Object
.
is
(
action
,
'viewrefresh'
))
{
_this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
(
data
);
if
(
_this
.
engine
){
_this
.
engine
.
load
();
}
});
}
});
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'IBIZCustomer_INTFMPickupView'
)){
return
;
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
_this
.
refresh
();
}
})
}
}
/**
* 销毁之前
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
beforeDestroy
()
{
this
.
$store
.
commit
(
'viewaction/removeView'
,
this
.
viewtag
);
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
mounted
()
{
this
.
afterMounted
();
}
/**
* 执行mounted后的逻辑
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
afterMounted
(){
const
_this
:
any
=
this
;
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
}
if
(
this
.
viewparams
.
selectedData
){
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
this
.
viewparams
.
selectedData
);
this
.
onCLickRight
();
}
}
/**
* pickupviewpanel 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
pickupviewpanel_selectionchange
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
$event
);
}
/**
* pickupviewpanel 部件 activated 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
pickupviewpanel_activated
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'activated'
,
$event
);
}
/**
* pickupviewpanel 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
pickupviewpanel_load
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'load'
,
$event
);
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
/**
* 销毁视图回调
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
destroyed
(){
this
.
afterDestroyed
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
afterDestroyed
(){
if
(
this
.
viewDefaultUsage
){
let
localStoreLength
=
Object
.
keys
(
localStorage
);
if
(
localStoreLength
.
length
>
0
){
localStoreLength
.
forEach
((
item
:
string
)
=>
{
if
(
item
.
startsWith
(
this
.
context
.
srfsessionid
)){
localStorage
.
removeItem
(
item
);
}
})
}
if
(
Object
.
is
(
this
.
navModel
,
"tab"
)){
this
.
navDataService
.
removeNavDataByTag
(
this
.
viewtag
);
}
if
(
this
.
serviceStateEvent
)
{
this
.
serviceStateEvent
.
unsubscribe
();
}
}
// 销毁计数器定时器
if
(
this
.
counterServiceArray
&&
this
.
counterServiceArray
.
length
>
0
){
this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
destroyCounter
&&
item
.
destroyCounter
instanceof
Function
){
item
.
destroyCounter
();
}
})
}
if
(
this
.
portletStateEvent
){
this
.
portletStateEvent
.
unsubscribe
();
}
}
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 选中数据的字符串
*
* @type {string}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
selectedData
:
string
=
""
;
/**
* 是否初始化已选中项
*
* @type {any[]}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
isInitSelected
:
boolean
=
false
;
/**
* 视图选中数据
*
* @type {any[]}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
viewSelections
:
any
[]
=
[];
/**
* 是否单选
*
* @type {boolean}
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
isSingleSelect
:
boolean
=
false
;
/**
* 选中数据单击
*
* @param {*} item
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
selectionsClick
(
item
:
any
):
void
{
item
.
_select
=
!
item
.
_select
;
const
removeSelect
:
boolean
=
this
.
viewSelections
.
some
((
selection
:
any
)
=>
selection
.
_select
);
this
.
containerModel
.
view_leftbtn
.
disabled
=
!
removeSelect
;
}
/**
* 选中树双击
*
* @param {*} item
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
selectionsDBLClick
(
item
:
any
):
void
{
const
index
:
number
=
this
.
viewSelections
.
findIndex
((
selection
:
any
)
=>
Object
.
is
(
selection
.
srfkey
,
item
.
srfkey
));
if
(
index
!==
-
1
)
{
this
.
viewSelections
.
splice
(
index
,
1
);
}
const
removeSelect
:
boolean
=
this
.
viewSelections
.
some
((
selection
:
any
)
=>
selection
.
_select
);
this
.
containerModel
.
view_leftbtn
.
disabled
=
!
removeSelect
;
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewSelections
);
}
/**
* 删除右侧全部选中数据
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
onCLickLeft
():
void
{
const
_selectiions
=
[...
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewSelections
))];
_selectiions
.
forEach
((
item
:
any
)
=>
{
if
(
!
item
.
_select
)
{
return
;
}
const
index
=
this
.
viewSelections
.
findIndex
((
selection
:
any
)
=>
Object
.
is
(
item
.
srfkey
,
selection
.
srfkey
));
if
(
index
!==
-
1
)
{
this
.
viewSelections
.
splice
(
index
,
1
);
}
});
const
removeSelect
:
boolean
=
this
.
viewSelections
.
some
((
selection
:
any
)
=>
selection
.
_select
);
this
.
containerModel
.
view_leftbtn
.
disabled
=
!
removeSelect
;
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewSelections
);
}
/**
* 添加左侧选中数据
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
onCLickRight
():
void
{
Object
.
values
(
this
.
containerModel
).
forEach
((
model
:
any
)
=>
{
if
(
!
Object
.
is
(
model
.
type
,
'PICKUPVIEWPANEL'
))
{
return
;
}
let
newSelections
:
any
[]
=
[];
model
.
selections
.
forEach
((
item
:
any
)
=>
{
const
index
:
number
=
this
.
viewSelections
.
findIndex
((
selection
:
any
)
=>
Object
.
is
(
item
.
srfkey
,
selection
.
srfkey
));
if
(
index
===
-
1
)
{
let
_item
:
any
=
{
...
JSON
.
parse
(
JSON
.
stringify
(
item
))
};
Object
.
assign
(
_item
,
{
_select
:
false
})
newSelections
.
push
(
_item
);
}
else
{
newSelections
.
push
(
this
.
viewSelections
[
index
]);
}
});
this
.
viewSelections
=
this
.
removeDuplicates
([...
newSelections
,...
this
.
viewSelections
]);
});
}
/**
* 去重
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
removeDuplicates
(
data
:
any
):
Array
<
any
>
{
const
uniqueSet
=
new
Set
(
data
);
return
[...
uniqueSet
];
}
/**
* 选中数据全部删除
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
onCLickAllLeft
():
void
{
this
.
viewSelections
=
[];
this
.
containerModel
.
view_leftbtn
.
disabled
=
true
;
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
[]);
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewSelections
);
}
/**
* 添加左侧面板所有数据到右侧
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
onCLickAllRight
():
void
{
Object
.
values
(
this
.
containerModel
).
forEach
((
model
:
any
)
=>
{
if
(
!
Object
.
is
(
model
.
type
,
'PICKUPVIEWPANEL'
))
{
return
;
}
if
(
model
.
datas
.
length
>
0
){
model
.
datas
.
forEach
((
data
:
any
,
index
:
any
)
=>
{
Object
.
assign
(
data
,{
srfmajortext
:
data
[
'ibizcustomername'
]});
})
}
model
.
datas
.
forEach
((
item
:
any
)
=>
{
const
index
:
number
=
this
.
viewSelections
.
findIndex
((
selection
:
any
)
=>
Object
.
is
(
item
.
srfkey
,
selection
.
srfkey
));
if
(
index
===
-
1
)
{
let
_item
:
any
=
{
...
JSON
.
parse
(
JSON
.
stringify
(
item
))
};
Object
.
assign
(
_item
,
{
_select
:
false
})
this
.
viewSelections
.
push
(
_item
);
}
});
});
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewSelections
);
}
/**
* 确定
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
onClickOk
():
void
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
/**
* 取消
*
* @memberof IBIZCustomer_INTFMPickupViewBase
*/
public
onClickCancel
():
void
{
this
.
$emit
(
'viewdataschange'
,
null
);
this
.
$emit
(
'close'
,
null
);
}
}
</
script
>
<
style
lang=
'less'
>
@import './ibizcustomer-intfmpickup-view.less';
</
style
>
\ No newline at end of file
app_Web/src/pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.less
0 → 100644
浏览文件 @
c144f563
.ibizcustomer-intfmpickup-view{
position: relative;
}
.pickup-view {
>.translate-contant {
overflow: auto;
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
.translate-buttons {
width: 80px;
display: flex;
align-items: center;
text-align: center;
button {
margin-bottom: 5px;
}
}
.left, .right {
width: 300px;
}
.right {
border: 1px solid #e9e9e9;
.mpicker-select {
font-family: helvetica, sans-serif;
font-size: 16px;
text-align: justify;
word-spacing: -3.8pt;
line-height: 1.6;
font-weight: bold;
word-spacing: 10px;
height: 100%;
overflow: auto;
}
.mpicker-select > div {
padding: 3px 10px;
font-size: 14px;
color: rgba(0, 0, 0, 0.85);
font-weight: initial;
cursor: pointer;
min-height: 28px;
border: 1px solid #e9e9e9;
margin: 4px 4px;
transition: all .3s;
}
.mpicker-select > div:hover {
background: #ecf6fd;
}
.mpicker-select > .select{
color: #108ee9;
background: #ecf6fd;
}
}
.center{
width: calc(100% - 380px);
.pickupviewpanel {
width: 100%;
height: 100%;
}
}
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
app_Web/src/pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue
0 → 100644
浏览文件 @
c144f563
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZCustomer_INTFMPickupViewBase
from
'./ibizcustomer-intfmpickup-view-base.vue'
;
import
view_pickupviewpanel
from
'@widgets/ibizcustomer-intf/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.vue'
;
@
Component
({
components
:
{
view_pickupviewpanel
,
},
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
IBIZCustomer_INTFMPickupView
extends
IBIZCustomer_INTFMPickupViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view-base.vue
0 → 100644
浏览文件 @
c144f563
<
template
>
<div
class=
"view-container dempickupview ibizcustomer-mpickup-view"
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizcustomermpickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
'view-top-messages'
>
</div>
<div
class=
"content-container pickup-view"
>
<div
class=
'view-body-messages'
>
</div>
<div
class=
"translate-contant"
>
<div
class=
"center"
:style=
"
{width : !isShowButton ? '100%' : ''}">
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
load=
"pickupviewpanel_load($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
</div>
<div
v-if=
"isShowButton"
class=
"translate-buttons"
>
<div
class=
"buttons"
>
<i-button
type=
"primary"
:title=
"this.containerModel.view_rightbtn.text"
:disabled=
"this.containerModel.view_rightbtn.disabled"
@
click=
"onCLickRight"
>
<i
class=
"el-icon-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"this.containerModel.view_leftbtn.text"
:disabled=
"this.containerModel.view_leftbtn.disabled"
@
click=
"onCLickLeft"
>
<i
class=
"el-icon-arrow-left"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"this.containerModel.view_allrightbtn.text"
@
click=
"onCLickAllRight"
>
<i
class=
"el-icon-d-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"this.containerModel.view_allleftbtn.text"
@
click=
"onCLickAllLeft"
>
<i
class=
"el-icon-d-arrow-left"
></i>
</i-button>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"right"
>
<div
class=
"mpicker-select"
>
<div
v-for=
"(item, index) in viewSelections"
:key=
"index"
:class=
"item._select ? 'select' : ''"
@
click=
"selectionsClick(item)"
@
dblclick=
"selectionsDBLClick(item)"
>
<span>
{{
item
.
srfmajortext
}}
</span>
</div>
</div>
</div>
</div>
<card
v-if=
"isShowButton"
:dis-hover=
"true"
:bordered=
"false"
class=
"footer"
>
<row
:style=
"
{ textAlign: 'right' }">
<i-button
type=
"primary"
:disabled=
"this.viewSelections.length > 0 ? false : true"
@
click=
"onClickOk"
>
{{
this
.
containerModel
.
view_okbtn
.
text
}}
</i-button>
<i-button
@
click=
"onClickCancel"
>
{{
this
.
containerModel
.
view_cancelbtn
.
text
}}
</i-button>
</row>
</card>
</div>
<div
class=
'view-bottom-messages'
>
</div>
</card>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Inject
}
from
'vue-property-decorator'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
IBIZCustomerService
from
'@/service/ibizcustomer/ibizcustomer-service'
;
import
IBIZCustomerAuthService
from
'@/authservice/ibizcustomer/ibizcustomer-auth-service'
;
import
MPickupViewEngine
from
'@engine/view/mpickup-view-engine'
;
import
IBIZCustomerUIService
from
'@/uiservice/ibizcustomer/ibizcustomer-ui-service'
;
@
Component
({
components
:
{
},
})
export
default
class
IBIZCustomerMPickupViewBase
extends
Vue
{
/**
* 实体服务对象
*
* @type {IBIZCustomerService}
* @memberof IBIZCustomerMPickupViewBase
*/
public
appEntityService
:
IBIZCustomerService
=
new
IBIZCustomerService
;
/**
* 实体UI服务对象
*
* @type IBIZCustomerUIService
* @memberof IBIZCustomerMPickupViewBase
*/
public
appUIService
:
IBIZCustomerUIService
=
new
IBIZCustomerUIService
(
this
.
$store
);
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof IBIZCustomerMPickupViewBase
*/
@
Emit
()
public
viewDatasChange
(
val
:
any
):
any
{
return
val
;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof IBIZCustomerMPickupViewBase
*/
@
Prop
()
public
viewdata
!
:
string
;
/**
* 传入视图参数
*
* @type {string}
* @memberof IBIZCustomerMPickupViewBase
*/
@
Prop
()
public
viewparam
!
:
string
;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof IBIZCustomerMPickupViewBase
*/
@
Prop
({
default
:
true
})
public
viewDefaultUsage
!
:
boolean
;
/**
* 视图默认使用
*
* @type {string}
* @memberof IBIZCustomerMPickupViewBase
*/
@
Inject
({
from
:
'navModel'
,
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 视图标识
*
* @type {string}
* @memberof IBIZCustomerMPickupViewBase
*/
public
viewtag
:
string
=
'81e92e837f6fa81fed5b6beaa75f6bbd'
;
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof IBIZCustomerMPickupViewBase
*/
public
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof IBIZCustomerMPickupViewBase
*/
public
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @type {*}
* @memberof IBIZCustomerMPickupViewBase
*/
public
model
:
any
=
{
srfCaption
:
'entities.ibizcustomer.views.mpickupview.caption'
,
srfTitle
:
'entities.ibizcustomer.views.mpickupview.title'
,
srfSubTitle
:
'entities.ibizcustomer.views.mpickupview.subtitle'
,
dataInfo
:
''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZCustomerMPickupViewBase
*/
@
Watch
(
'viewparam'
,{
immediate
:
true
,
deep
:
true
})
onParamData
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
){
this
.
viewparams
=
{};
if
(
typeof
newVal
==
'string'
)
{
Object
.
assign
(
this
.
viewparams
,
JSON
.
parse
(
this
.
viewparam
));
}
else
{
this
.
viewparams
=
Util
.
deepCopy
(
this
.
viewparam
);
}
if
(
this
.
viewparams
.
selectedData
){
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewparams
.
selectedData
);
this
.
viewSelections
=
this
.
viewparams
.
selectedData
;
}
}
}
/**
* 处理应用上下文变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZCustomerMPickupViewBase
*/
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
engine
.
load
();
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
}
}
/**
* 容器模型
*
* @type {*}
* @memberof IBIZCustomerMPickupViewBase
*/
public
containerModel
:
any
=
{
view_pickupviewpanel
:
{
name
:
'pickupviewpanel'
,
type
:
'PICKUPVIEWPANEL'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 计数器刷新
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 视图状态订阅对象
*
* @public
* @type {Subject<{action: string, data: any}>}
* @memberof IBIZCustomerMPickupViewBase
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof IBIZCustomerMPickupViewBase
*/
public
engine
:
MPickupViewEngine
=
new
MPickupViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof IBIZCustomerMPickupViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
pickupviewpanel
:
this
.
$refs
.
pickupviewpanel
,
keyPSDEField
:
'ibizcustomer'
,
majorPSDEField
:
'ibizcustomername'
,
isLoadDefault
:
true
,
});
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBIZCustomerMPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
(
this
.
$store
);
/**
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomerMPickupViewBase
*/
public
serviceStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态对象
*
* @type {*}
* @memberof IBIZCustomerMPickupViewBase
*/
@
Prop
()
public
portletState
?:
any
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomerMPickupViewBase
*/
public
portletStateEvent
:
Subscription
|
undefined
;
/**
* 应用上下文
*
* @type {*}
* @memberof IBIZCustomerMPickupViewBase
*/
public
context
:
any
=
{};
/**
* 视图参数
*
* @type {*}
* @memberof IBIZCustomerMPickupViewBase
*/
public
viewparams
:
any
=
{};
/**
* 视图缓存数据
*
* @type {*}
* @memberof IBIZCustomerMPickupViewBase
*/
public
viewCacheData
:
any
;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof IBIZCustomerMPickupViewBase
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 解析视图参数
*
* @public
* @memberof IBIZCustomerMPickupViewBase
*/
public
parseViewParam
(
inputvalue
:
any
=
null
):
void
{
for
(
let
key
in
this
.
context
){
delete
this
.
context
[
key
];
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
if
(
!
this
.
viewDefaultUsage
&&
this
.
viewdata
&&
!
Object
.
is
(
this
.
viewdata
,
''
))
{
if
(
typeof
this
.
viewdata
==
'string'
)
{
Object
.
assign
(
this
.
context
,
JSON
.
parse
(
this
.
viewdata
));
}
if
(
this
.
context
&&
this
.
context
.
srfparentdename
){
Object
.
assign
(
this
.
viewparams
,{
srfparentdename
:
this
.
context
.
srfparentdename
});
}
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
this
.
handleCustomViewData
();
return
;
}
const
path
=
(
this
.
$route
.
matched
[
this
.
$route
.
matched
.
length
-
1
]).
path
;
const
keys
:
Array
<
any
>
=
[];
const
curReg
=
this
.
$pathToRegExp
.
pathToRegexp
(
path
,
keys
);
const
matchArray
=
curReg
.
exec
(
this
.
$route
.
path
);
let
tempValue
:
Object
=
{};
keys
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
Object
.
defineProperty
(
tempValue
,
item
.
name
,
{
enumerable
:
true
,
value
:
matchArray
[
index
+
1
]
});
});
this
.
$viewTool
.
formatRouteParams
(
tempValue
,
this
.
$route
,
this
.
context
,
this
.
viewparams
);
if
(
inputvalue
){
Object
.
assign
(
this
.
context
,{
'ibizcustomer'
:
inputvalue
});
}
//初始化视图唯一标识
Object
.
assign
(
this
.
context
,{
srfsessionid
:
this
.
$util
.
createUUID
()});
this
.
handleCustomViewData
();
//初始化导航数据
this
.
initNavDataWithRoute
();
}
/**
* 处理自定义视图数据
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
handleCustomViewData
(){
if
(
Object
.
keys
(
this
.
customViewNavContexts
).
length
>
0
){
Object
.
keys
(
this
.
customViewNavContexts
).
forEach
((
item
:
any
)
=>
{
let
tempContext
:
any
=
{};
let
curNavContext
:
any
=
this
.
customViewNavContexts
[
item
];
this
.
handleCustomDataLogic
(
curNavContext
,
tempContext
,
item
);
Object
.
assign
(
this
.
context
,
tempContext
);
})
}
if
(
Object
.
keys
(
this
.
customViewParams
).
length
>
0
){
Object
.
keys
(
this
.
customViewParams
).
forEach
((
item
:
any
)
=>
{
let
tempParam
:
any
=
{};
let
curNavParam
:
any
=
this
.
customViewParams
[
item
];
this
.
handleCustomDataLogic
(
curNavParam
,
tempParam
,
item
);
Object
.
assign
(
this
.
viewparams
,
tempParam
);
})
}
}
/**
* 处理自定义视图数据逻辑
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
handleCustomDataLogic
(
curNavData
:
any
,
tempData
:
any
,
item
:
string
){
// 直接值直接赋值
if
(
curNavData
.
isRawValue
){
if
(
Object
.
is
(
curNavData
.
value
,
"null"
)
||
Object
.
is
(
curNavData
.
value
,
""
)){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
curNavData
.
value
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
else
{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if
(
this
.
context
[(
curNavData
.
value
).
toLowerCase
()]
!=
null
){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
context
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
if
(
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()]
!=
null
){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
}
}
/**
* 初始化导航数据(路由模式)
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
initNavDataWithRoute
(
data
:
any
=
null
,
isNew
:
boolean
=
false
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavData
({
id
:
'ibizcustomer-mpickup-view'
,
tag
:
this
.
viewtag
,
srfkey
:
isNew
?
null
:
this
.
context
.
ibizcustomer
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
}
}
/**
* 初始化导航数据(分页模式)
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
initNavDataWithTab
(
data
:
any
=
null
,
isOnlyAdd
:
boolean
=
true
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
!
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavDataByOnly
({
id
:
'ibizcustomer-mpickup-view'
,
tag
:
this
.
viewtag
,
srfkey
:
this
.
context
.
ibizcustomer
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
},
isOnlyAdd
);
}
}
/**
* Vue声明周期
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
afterCreated
(){
let
_this
:
any
=
this
;
const
secondtag
=
_this
.
$util
.
createUUID
();
_this
.
$store
.
commit
(
'viewaction/createdView'
,
{
viewtag
:
_this
.
viewtag
,
secondtag
:
secondtag
});
_this
.
viewtag
=
secondtag
;
_this
.
parseViewParam
();
_this
.
serviceStateEvent
=
_this
.
navDataService
.
serviceState
.
subscribe
(({
action
,
name
,
data
}:{
action
:
string
,
name
:
any
,
data
:
any
})
=>
{
if
(
!
Object
.
is
(
name
,
'ibizcustomer-mpickup-view'
)){
return
;
}
if
(
Object
.
is
(
action
,
'viewrefresh'
))
{
_this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
(
data
);
if
(
_this
.
engine
){
_this
.
engine
.
load
();
}
});
}
});
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'IBIZCustomerMPickupView'
)){
return
;
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
_this
.
refresh
();
}
})
}
}
/**
* 销毁之前
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
beforeDestroy
()
{
this
.
$store
.
commit
(
'viewaction/removeView'
,
this
.
viewtag
);
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
mounted
()
{
this
.
afterMounted
();
}
/**
* 执行mounted后的逻辑
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
afterMounted
(){
const
_this
:
any
=
this
;
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
}
if
(
this
.
viewparams
.
selectedData
){
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
this
.
viewparams
.
selectedData
);
this
.
onCLickRight
();
}
}
/**
* pickupviewpanel 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomerMPickupViewBase
*/
public
pickupviewpanel_selectionchange
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
$event
);
}
/**
* pickupviewpanel 部件 activated 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomerMPickupViewBase
*/
public
pickupviewpanel_activated
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'activated'
,
$event
);
}
/**
* pickupviewpanel 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomerMPickupViewBase
*/
public
pickupviewpanel_load
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'load'
,
$event
);
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof IBIZCustomerMPickupViewBase
*/
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
/**
* 销毁视图回调
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
destroyed
(){
this
.
afterDestroyed
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
afterDestroyed
(){
if
(
this
.
viewDefaultUsage
){
let
localStoreLength
=
Object
.
keys
(
localStorage
);
if
(
localStoreLength
.
length
>
0
){
localStoreLength
.
forEach
((
item
:
string
)
=>
{
if
(
item
.
startsWith
(
this
.
context
.
srfsessionid
)){
localStorage
.
removeItem
(
item
);
}
})
}
if
(
Object
.
is
(
this
.
navModel
,
"tab"
)){
this
.
navDataService
.
removeNavDataByTag
(
this
.
viewtag
);
}
if
(
this
.
serviceStateEvent
)
{
this
.
serviceStateEvent
.
unsubscribe
();
}
}
// 销毁计数器定时器
if
(
this
.
counterServiceArray
&&
this
.
counterServiceArray
.
length
>
0
){
this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
destroyCounter
&&
item
.
destroyCounter
instanceof
Function
){
item
.
destroyCounter
();
}
})
}
if
(
this
.
portletStateEvent
){
this
.
portletStateEvent
.
unsubscribe
();
}
}
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof IBIZCustomerMPickupViewBase
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 选中数据的字符串
*
* @type {string}
* @memberof IBIZCustomerMPickupViewBase
*/
public
selectedData
:
string
=
""
;
/**
* 是否初始化已选中项
*
* @type {any[]}
* @memberof IBIZCustomerMPickupViewBase
*/
public
isInitSelected
:
boolean
=
false
;
/**
* 视图选中数据
*
* @type {any[]}
* @memberof IBIZCustomerMPickupViewBase
*/
public
viewSelections
:
any
[]
=
[];
/**
* 是否单选
*
* @type {boolean}
* @memberof IBIZCustomerMPickupViewBase
*/
public
isSingleSelect
:
boolean
=
false
;
/**
* 选中数据单击
*
* @param {*} item
* @memberof IBIZCustomerMPickupViewBase
*/
public
selectionsClick
(
item
:
any
):
void
{
item
.
_select
=
!
item
.
_select
;
const
removeSelect
:
boolean
=
this
.
viewSelections
.
some
((
selection
:
any
)
=>
selection
.
_select
);
this
.
containerModel
.
view_leftbtn
.
disabled
=
!
removeSelect
;
}
/**
* 选中树双击
*
* @param {*} item
* @memberof IBIZCustomerMPickupViewBase
*/
public
selectionsDBLClick
(
item
:
any
):
void
{
const
index
:
number
=
this
.
viewSelections
.
findIndex
((
selection
:
any
)
=>
Object
.
is
(
selection
.
srfkey
,
item
.
srfkey
));
if
(
index
!==
-
1
)
{
this
.
viewSelections
.
splice
(
index
,
1
);
}
const
removeSelect
:
boolean
=
this
.
viewSelections
.
some
((
selection
:
any
)
=>
selection
.
_select
);
this
.
containerModel
.
view_leftbtn
.
disabled
=
!
removeSelect
;
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewSelections
);
}
/**
* 删除右侧全部选中数据
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
onCLickLeft
():
void
{
const
_selectiions
=
[...
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewSelections
))];
_selectiions
.
forEach
((
item
:
any
)
=>
{
if
(
!
item
.
_select
)
{
return
;
}
const
index
=
this
.
viewSelections
.
findIndex
((
selection
:
any
)
=>
Object
.
is
(
item
.
srfkey
,
selection
.
srfkey
));
if
(
index
!==
-
1
)
{
this
.
viewSelections
.
splice
(
index
,
1
);
}
});
const
removeSelect
:
boolean
=
this
.
viewSelections
.
some
((
selection
:
any
)
=>
selection
.
_select
);
this
.
containerModel
.
view_leftbtn
.
disabled
=
!
removeSelect
;
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewSelections
);
}
/**
* 添加左侧选中数据
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
onCLickRight
():
void
{
Object
.
values
(
this
.
containerModel
).
forEach
((
model
:
any
)
=>
{
if
(
!
Object
.
is
(
model
.
type
,
'PICKUPVIEWPANEL'
))
{
return
;
}
let
newSelections
:
any
[]
=
[];
model
.
selections
.
forEach
((
item
:
any
)
=>
{
const
index
:
number
=
this
.
viewSelections
.
findIndex
((
selection
:
any
)
=>
Object
.
is
(
item
.
srfkey
,
selection
.
srfkey
));
if
(
index
===
-
1
)
{
let
_item
:
any
=
{
...
JSON
.
parse
(
JSON
.
stringify
(
item
))
};
Object
.
assign
(
_item
,
{
_select
:
false
})
newSelections
.
push
(
_item
);
}
else
{
newSelections
.
push
(
this
.
viewSelections
[
index
]);
}
});
this
.
viewSelections
=
this
.
removeDuplicates
([...
newSelections
,...
this
.
viewSelections
]);
});
}
/**
* 去重
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
removeDuplicates
(
data
:
any
):
Array
<
any
>
{
const
uniqueSet
=
new
Set
(
data
);
return
[...
uniqueSet
];
}
/**
* 选中数据全部删除
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
onCLickAllLeft
():
void
{
this
.
viewSelections
=
[];
this
.
containerModel
.
view_leftbtn
.
disabled
=
true
;
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
[]);
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewSelections
);
}
/**
* 添加左侧面板所有数据到右侧
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
onCLickAllRight
():
void
{
Object
.
values
(
this
.
containerModel
).
forEach
((
model
:
any
)
=>
{
if
(
!
Object
.
is
(
model
.
type
,
'PICKUPVIEWPANEL'
))
{
return
;
}
if
(
model
.
datas
.
length
>
0
){
model
.
datas
.
forEach
((
data
:
any
,
index
:
any
)
=>
{
Object
.
assign
(
data
,{
srfmajortext
:
data
[
'ibizcustomername'
]});
})
}
model
.
datas
.
forEach
((
item
:
any
)
=>
{
const
index
:
number
=
this
.
viewSelections
.
findIndex
((
selection
:
any
)
=>
Object
.
is
(
item
.
srfkey
,
selection
.
srfkey
));
if
(
index
===
-
1
)
{
let
_item
:
any
=
{
...
JSON
.
parse
(
JSON
.
stringify
(
item
))
};
Object
.
assign
(
_item
,
{
_select
:
false
})
this
.
viewSelections
.
push
(
_item
);
}
});
});
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewSelections
);
}
/**
* 确定
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
onClickOk
():
void
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
/**
* 取消
*
* @memberof IBIZCustomerMPickupViewBase
*/
public
onClickCancel
():
void
{
this
.
$emit
(
'viewdataschange'
,
null
);
this
.
$emit
(
'close'
,
null
);
}
}
</
script
>
<
style
lang=
'less'
>
@import './ibizcustomer-mpickup-view.less';
</
style
>
\ No newline at end of file
app_Web/src/pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.less
0 → 100644
浏览文件 @
c144f563
.ibizcustomer-mpickup-view{
position: relative;
}
.pickup-view {
>.translate-contant {
overflow: auto;
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
.translate-buttons {
width: 80px;
display: flex;
align-items: center;
text-align: center;
button {
margin-bottom: 5px;
}
}
.left, .right {
width: 300px;
}
.right {
border: 1px solid #e9e9e9;
.mpicker-select {
font-family: helvetica, sans-serif;
font-size: 16px;
text-align: justify;
word-spacing: -3.8pt;
line-height: 1.6;
font-weight: bold;
word-spacing: 10px;
height: 100%;
overflow: auto;
}
.mpicker-select > div {
padding: 3px 10px;
font-size: 14px;
color: rgba(0, 0, 0, 0.85);
font-weight: initial;
cursor: pointer;
min-height: 28px;
border: 1px solid #e9e9e9;
margin: 4px 4px;
transition: all .3s;
}
.mpicker-select > div:hover {
background: #ecf6fd;
}
.mpicker-select > .select{
color: #108ee9;
background: #ecf6fd;
}
}
.center{
width: calc(100% - 380px);
.pickupviewpanel {
width: 100%;
height: 100%;
}
}
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
app_Web/src/pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue
0 → 100644
浏览文件 @
c144f563
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZCustomerMPickupViewBase
from
'./ibizcustomer-mpickup-view-base.vue'
;
import
view_pickupviewpanel
from
'@widgets/ibizcustomer/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.vue'
;
@
Component
({
components
:
{
view_pickupviewpanel
,
},
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
IBIZCustomerMPickupView
extends
IBIZCustomerMPickupViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
c144f563
...
@@ -3,7 +3,6 @@ export const PageComponents = {
...
@@ -3,7 +3,6 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0001-sf6-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-sf6-edit-view/ibizsample0001-sf6-edit-view.vue'
));
Vue
.
component
(
'ibizsample0001-sf6-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-sf6-edit-view/ibizsample0001-sf6-edit-view.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-grid-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-grid-view/ibizcustomer-usr2-grid-view.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-grid-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-grid-view/ibizcustomer-usr2-grid-view.vue'
));
Vue
.
component
(
'ibizsample0003-smpickup-view2'
,
()
=>
import
(
'@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue'
));
Vue
.
component
(
'ibizsample0003-smpickup-view2'
,
()
=>
import
(
'@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue'
));
Vue
.
component
(
'ibizorder-detail-usr2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-usr2-edit-view/ibizorder-detail-usr2-edit-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sedit-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
));
Vue
.
component
(
'ibizorder-detail-sedit-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
));
Vue
.
component
(
'ibizorder-detail-smedit-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-smedit-view9/ibizorder-detail-smedit-view9.vue'
));
Vue
.
component
(
'ibizorder-detail-smedit-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-smedit-view9/ibizorder-detail-smedit-view9.vue'
));
Vue
.
component
(
'ibizsample0003-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-edit-view/ibizsample0003-edit-view.vue'
));
Vue
.
component
(
'ibizsample0003-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-edit-view/ibizsample0003-edit-view.vue'
));
...
@@ -27,6 +26,7 @@ export const PageComponents = {
...
@@ -27,6 +26,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizhardware-index-pickup-data-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'
));
Vue
.
component
(
'ibizhardware-index-pickup-data-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'
));
Vue
.
component
(
'ibizorder-sgrid-view2'
,
()
=>
import
(
'@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'
));
Vue
.
component
(
'ibizorder-sgrid-view2'
,
()
=>
import
(
'@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'
));
Vue
.
component
(
'ibizbooktree-grid-ex-view'
,
()
=>
import
(
'@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'
));
Vue
.
component
(
'ibizbooktree-grid-ex-view'
,
()
=>
import
(
'@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'
));
Vue
.
component
(
'ibizcustomer-mpickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'
));
Vue
.
component
(
'ibizuniproduct-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
));
Vue
.
component
(
'ibizuniproduct-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
));
Vue
.
component
(
'ibizorder-odsp-wfexp-view'
,
()
=>
import
(
'@pages/sample/ibizorder-odsp-wfexp-view/ibizorder-odsp-wfexp-view.vue'
));
Vue
.
component
(
'ibizorder-odsp-wfexp-view'
,
()
=>
import
(
'@pages/sample/ibizorder-odsp-wfexp-view/ibizorder-odsp-wfexp-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sgrid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sgrid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'
));
...
@@ -47,6 +47,7 @@ export const PageComponents = {
...
@@ -47,6 +47,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-sf5-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'
));
Vue
.
component
(
'ibizorder-sf5-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'
));
Vue
.
component
(
'ibizbookmedit-view9'
,
()
=>
import
(
'@pages/sample/ibizbookmedit-view9/ibizbookmedit-view9.vue'
));
Vue
.
component
(
'ibizbookmedit-view9'
,
()
=>
import
(
'@pages/sample/ibizbookmedit-view9/ibizbookmedit-view9.vue'
));
Vue
.
component
(
'ibizcustomer-edit-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-edit-view/ibizcustomer-edit-view.vue'
));
Vue
.
component
(
'ibizcustomer-edit-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-edit-view/ibizcustomer-edit-view.vue'
));
Vue
.
component
(
'ibizcustomer-intfmpickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue'
));
Vue
.
component
(
'ibizbookgroup-by-codelist-kan-ban-view'
,
()
=>
import
(
'@pages/sample/ibizbookgroup-by-codelist-kan-ban-view/ibizbookgroup-by-codelist-kan-ban-view.vue'
));
Vue
.
component
(
'ibizbookgroup-by-codelist-kan-ban-view'
,
()
=>
import
(
'@pages/sample/ibizbookgroup-by-codelist-kan-ban-view/ibizbookgroup-by-codelist-kan-ban-view.vue'
));
Vue
.
component
(
'ibizbookusr3-data-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr3-data-view/ibizbookusr3-data-view.vue'
));
Vue
.
component
(
'ibizbookusr3-data-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr3-data-view/ibizbookusr3-data-view.vue'
));
Vue
.
component
(
'ibizorder-detail-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-grid-view9/ibizorder-detail-grid-view9.vue'
));
Vue
.
component
(
'ibizorder-detail-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-grid-view9/ibizorder-detail-grid-view9.vue'
));
...
@@ -74,8 +75,8 @@ export const PageComponents = {
...
@@ -74,8 +75,8 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-usr2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-usr2-edit-view/ibizorder-usr2-edit-view.vue'
));
Vue
.
component
(
'ibizorder-usr2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-usr2-edit-view/ibizorder-usr2-edit-view.vue'
));
Vue
.
component
(
'ibizorder-sf4-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf4-edit-view/ibizorder-sf4-edit-view.vue'
));
Vue
.
component
(
'ibizorder-sf4-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf4-edit-view/ibizorder-sf4-edit-view.vue'
));
Vue
.
component
(
'ibizorder-sf1-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf1-edit-view/ibizorder-sf1-edit-view.vue'
));
Vue
.
component
(
'ibizorder-sf1-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf1-edit-view/ibizorder-sf1-edit-view.vue'
));
Vue
.
component
(
'ibizsample0017-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0017-grid-view/ibizsample0017-grid-view.vue'
));
Vue
.
component
(
'ibizbookusr3-calendar-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr3-calendar-view/ibizbookusr3-calendar-view.vue'
));
Vue
.
component
(
'ibizbookusr3-calendar-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr3-calendar-view/ibizbookusr3-calendar-view.vue'
));
Vue
.
component
(
'ibizsample0017-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0017-grid-view/ibizsample0017-grid-view.vue'
));
Vue
.
component
(
'ibizorder-f8-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue'
));
Vue
.
component
(
'ibizorder-f8-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue'
));
Vue
.
component
(
'ibizorder-f19-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'
));
Vue
.
component
(
'ibizorder-f19-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'
));
Vue
.
component
(
'ibizsample0003-f1-tree-exp-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-f1-tree-exp-view/ibizsample0003-f1-tree-exp-view.vue'
));
Vue
.
component
(
'ibizsample0003-f1-tree-exp-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-f1-tree-exp-view/ibizsample0003-f1-tree-exp-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
c144f563
...
@@ -92,35 +92,6 @@ const router = new Router({
...
@@ -92,35 +92,6 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-smpickup-view2/ibizsample0003-smpickup-view2.vue'
),
},
},
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/usr2editview/:usr2editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.usr2editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'usr2editview'
,
parameterName
:
'usr2editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-usr2-edit-view/ibizorder-detail-usr2-edit-view.vue'
),
},
{
path
:
'ibizorderdetails/:ibizorderdetail?/usr2editview/:usr2editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.usr2editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'usr2editview'
,
parameterName
:
'usr2editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-usr2-edit-view/ibizorder-detail-usr2-edit-view.vue'
),
},
{
{
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/seditview9/:seditview9?'
,
path
:
'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/seditview9/:seditview9?'
,
meta
:
{
meta
:
{
...
@@ -518,6 +489,20 @@ const router = new Router({
...
@@ -518,6 +489,20 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'
),
},
},
{
path
:
'ibizcustomers/:ibizcustomer?/mpickupview/:mpickupview?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.mpickupview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'mpickupview'
,
parameterName
:
'mpickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'
),
},
{
{
path
:
'ibizuniproducts/:ibizuniproduct?/pickupgridview/:pickupgridview?'
,
path
:
'ibizuniproducts/:ibizuniproduct?/pickupgridview/:pickupgridview?'
,
meta
:
{
meta
:
{
...
@@ -828,6 +813,20 @@ const router = new Router({
...
@@ -828,6 +813,20 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-edit-view/ibizcustomer-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-edit-view/ibizcustomer-edit-view.vue'
),
},
},
{
path
:
'ibizcustomer_intfs/:ibizcustomer_intf?/mpickupview/:mpickupview?'
,
meta
:
{
caption
:
'entities.ibizcustomer_intf.views.mpickupview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizcustomer_intfs'
,
parameterName
:
'ibizcustomer_intf'
},
{
pathName
:
'mpickupview'
,
parameterName
:
'mpickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue'
),
},
{
{
path
:
'ibizbooks/:ibizbook?/groupbycodelistkanbanview/:groupbycodelistkanbanview?'
,
path
:
'ibizbooks/:ibizbook?/groupbycodelistkanbanview/:groupbycodelistkanbanview?'
,
meta
:
{
meta
:
{
...
@@ -1237,32 +1236,32 @@ const router = new Router({
...
@@ -1237,32 +1236,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizorder-sf1-edit-view/ibizorder-sf1-edit-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizorder-sf1-edit-view/ibizorder-sf1-edit-view.vue'
),
},
},
{
{
path
:
'ibiz
sample0017s/:ibizsample0017?/gridview/:grid
view?'
,
path
:
'ibiz
books/:ibizbook?/usr3calendarview/:usr3calendar
view?'
,
meta
:
{
meta
:
{
caption
:
'entities.ibiz
sample0017.views.grid
view.caption'
,
caption
:
'entities.ibiz
book.views.usr3calendar
view.caption'
,
info
:
''
,
info
:
''
,
parameters
:
[
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
sample0017s'
,
parameterName
:
'ibizsample0017
'
},
{
pathName
:
'ibiz
books'
,
parameterName
:
'ibizbook
'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
{
pathName
:
'
usr3calendarview'
,
parameterName
:
'usr3calendar
view'
},
],
],
requireAuth
:
true
,
requireAuth
:
true
,
},
},
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0017-grid-view/ibizsample0017-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
bookusr3-calendar-view/ibizbookusr3-calendar
-view.vue'
),
},
},
{
{
path
:
'ibiz
books/:ibizbook?/usr3calendarview/:usr3calendar
view?'
,
path
:
'ibiz
sample0017s/:ibizsample0017?/gridview/:grid
view?'
,
meta
:
{
meta
:
{
caption
:
'entities.ibiz
book.views.usr3calendar
view.caption'
,
caption
:
'entities.ibiz
sample0017.views.grid
view.caption'
,
info
:
''
,
info
:
''
,
parameters
:
[
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
books'
,
parameterName
:
'ibizbook
'
},
{
pathName
:
'ibiz
sample0017s'
,
parameterName
:
'ibizsample0017
'
},
{
pathName
:
'
usr3calendarview'
,
parameterName
:
'usr3calendar
view'
},
{
pathName
:
'
gridview'
,
parameterName
:
'grid
view'
},
],
],
requireAuth
:
true
,
requireAuth
:
true
,
},
},
component
:
()
=>
import
(
'@pages/sample/ibiz
bookusr3-calendar-view/ibizbookusr3-calendar
-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0017-grid-view/ibizsample0017-grid
-view.vue'
),
},
},
{
{
path
:
'ibizorders/:ibizorder?/f8editview/:f8editview?'
,
path
:
'ibizorders/:ibizorder?/f8editview/:f8editview?'
,
...
@@ -3256,33 +3255,6 @@ const router = new Router({
...
@@ -3256,33 +3255,6 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sample/ibizbookgroup-by-codelist-kan-ban-view/ibizbookgroup-by-codelist-kan-ban-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizbookgroup-by-codelist-kan-ban-view/ibizbookgroup-by-codelist-kan-ban-view.vue'
),
},
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/usr2editview/:usr2editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.usr2editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'usr2editview'
,
parameterName
:
'usr2editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-usr2-edit-view/ibizorder-detail-usr2-edit-view.vue'
),
},
{
path
:
'/ibizorderdetails/:ibizorderdetail?/usr2editview/:usr2editview?'
,
meta
:
{
caption
:
'entities.ibizorderdetail.views.usr2editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'usr2editview'
,
parameterName
:
'usr2editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-usr2-edit-view/ibizorder-detail-usr2-edit-view.vue'
),
},
{
{
path
:
'/ibizorders/:ibizorder?/odsp_d20_wfgridview/:odsp_d20_wfgridview?'
,
path
:
'/ibizorders/:ibizorder?/odsp_d20_wfgridview/:odsp_d20_wfgridview?'
,
meta
:
{
meta
:
{
...
@@ -3924,6 +3896,19 @@ const router = new Router({
...
@@ -3924,6 +3896,19 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
),
},
},
{
path
:
'/ibizcustomers/:ibizcustomer?/mpickupview/:mpickupview?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.mpickupview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'mpickupview'
,
parameterName
:
'mpickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'
),
},
{
{
path
:
'/ibizordertypes/:ibizordertype?/usr2editview/:usr2editview?'
,
path
:
'/ibizordertypes/:ibizordertype?/usr2editview/:usr2editview?'
,
meta
:
{
meta
:
{
...
@@ -4879,6 +4864,19 @@ const router = new Router({
...
@@ -4879,6 +4864,19 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-spickup-view2/ibizsample0003-spickup-view2.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-spickup-view2/ibizsample0003-spickup-view2.vue'
),
},
},
{
path
:
'/ibizcustomer_intfs/:ibizcustomer_intf?/mpickupview/:mpickupview?'
,
meta
:
{
caption
:
'entities.ibizcustomer_intf.views.mpickupview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizcustomer_intfs'
,
parameterName
:
'ibizcustomer_intf'
},
{
pathName
:
'mpickupview'
,
parameterName
:
'mpickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue'
),
},
{
{
path
:
'/ibizbooks/:ibizbook?/usr3dataview/:usr3dataview?'
,
path
:
'/ibizbooks/:ibizbook?/usr3dataview/:usr3dataview?'
,
meta
:
{
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
c144f563
...
@@ -194,7 +194,6 @@ export const viewstate: any = {
...
@@ -194,7 +194,6 @@ export const viewstate: any = {
refviews
:
[
refviews
:
[
'b09ceb3081717c0ed4fe19f9986598a0'
,
'b09ceb3081717c0ed4fe19f9986598a0'
,
'e6b66fea4568c66355729271ffc9d59f'
,
'e6b66fea4568c66355729271ffc9d59f'
,
'319d79a4f05cde44a1a7751b3ffe68ef'
,
'7a8b6138e5893e7aba3b1a5deb3b3036'
,
'7a8b6138e5893e7aba3b1a5deb3b3036'
,
'0c1093afa96df2832f707495afec541e'
,
'0c1093afa96df2832f707495afec541e'
,
'7d37165f2f535b4a6d2116188fe83d18'
,
'7d37165f2f535b4a6d2116188fe83d18'
,
...
@@ -464,15 +463,6 @@ export const viewstate: any = {
...
@@ -464,15 +463,6 @@ export const viewstate: any = {
'b3429ecc4d89a02bc5f5279f1bd7f620'
,
'b3429ecc4d89a02bc5f5279f1bd7f620'
,
],
],
},
},
{
viewtag
:
'319d79a4f05cde44a1a7751b3ffe68ef'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZOrderDetailUsr2EditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
{
viewtag
:
'3561860a1fae5554621b47824d1d3abc'
,
viewtag
:
'3561860a1fae5554621b47824d1d3abc'
,
viewmodule
:
'Sample'
,
viewmodule
:
'Sample'
,
...
@@ -633,6 +623,8 @@ export const viewstate: any = {
...
@@ -633,6 +623,8 @@ export const viewstate: any = {
refviews
:
[
refviews
:
[
'f7ce60a7707de1ef9f926b3f9d5d6954'
,
'f7ce60a7707de1ef9f926b3f9d5d6954'
,
'036e1ed2731c0caa76fd0a1035919d2d'
,
'036e1ed2731c0caa76fd0a1035919d2d'
,
'81e92e837f6fa81fed5b6beaa75f6bbd'
,
'e0e27dfc4c1e8f322c8e8d80a9a21301'
,
'460fc1d5b6f2e2012b281df34d929f3b'
,
'460fc1d5b6f2e2012b281df34d929f3b'
,
],
],
},
},
...
@@ -925,6 +917,16 @@ export const viewstate: any = {
...
@@ -925,6 +917,16 @@ export const viewstate: any = {
refviews
:
[
refviews
:
[
],
],
},
},
{
viewtag
:
'81e92e837f6fa81fed5b6beaa75f6bbd'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZCustomerMPickupView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'460fc1d5b6f2e2012b281df34d929f3b'
,
],
},
{
{
viewtag
:
'82014278d03dfb22039740c03d2a461f'
,
viewtag
:
'82014278d03dfb22039740c03d2a461f'
,
viewmodule
:
'Sample'
,
viewmodule
:
'Sample'
,
...
@@ -1606,6 +1608,16 @@ export const viewstate: any = {
...
@@ -1606,6 +1608,16 @@ export const viewstate: any = {
'692ede21641dfdb7075ede69d7c4ad33'
,
'692ede21641dfdb7075ede69d7c4ad33'
,
],
],
},
},
{
viewtag
:
'e0e27dfc4c1e8f322c8e8d80a9a21301'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZCustomer_INTFMPickupView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'2af423d347c22b7d0ed5a3639d87a6a8'
,
],
},
{
{
viewtag
:
'e14e0fa8f3def77ebbcf18f1f39c0225'
,
viewtag
:
'e14e0fa8f3def77ebbcf18f1f39c0225'
,
viewmodule
:
'Sample'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizcustomer-intf/ibizcustomer-intf-ui-service-base.ts
浏览文件 @
c144f563
...
@@ -98,6 +98,7 @@ export default class IBIZCustomer_INTFUIServiceBase extends UIService {
...
@@ -98,6 +98,7 @@ export default class IBIZCustomer_INTFUIServiceBase extends UIService {
public
initViewMap
(){
public
initViewMap
(){
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'ibizcustomer_intfs'
,
component
:
'ibizcustomer-intfpickup-view'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'ibizcustomer_intfs'
,
component
:
'ibizcustomer-intfpickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizcustomer_intfs'
,
component
:
'ibizcustomer-intfpickup-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizcustomer_intfs'
,
component
:
'ibizcustomer-intfpickup-grid-view'
});
this
.
allViewMap
.
set
(
'MPICKUPVIEW:'
,{
viewname
:
'mpickupview'
,
srfappde
:
'ibizcustomer_intfs'
,
component
:
'ibizcustomer-intfmpickup-view'
});
}
}
/**
/**
...
...
app_Web/src/uiservice/ibizcustomer/ibizcustomer-ui-service-base.ts
浏览文件 @
c144f563
...
@@ -97,6 +97,7 @@ export default class IBIZCustomerUIServiceBase extends UIService {
...
@@ -97,6 +97,7 @@ export default class IBIZCustomerUIServiceBase extends UIService {
*/
*/
public
initViewMap
(){
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-pickup-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-pickup-grid-view'
});
this
.
allViewMap
.
set
(
'MPICKUPVIEW:'
,{
viewname
:
'mpickupview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-mpickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2editview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2editview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2gridview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2gridview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-grid-view'
});
...
...
app_Web/src/uiservice/ibizorder-detail/ibizorder-detail-ui-service-base.ts
浏览文件 @
c144f563
...
@@ -100,16 +100,15 @@ export default class IBIZOrderDetailUIServiceBase extends UIService {
...
@@ -100,16 +100,15 @@ export default class IBIZOrderDetailUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sf1editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sf1-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sf1editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sf1-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'gridview9'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-grid-view9'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'gridview9'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-grid-view9'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'listview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-list-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'listview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-list-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-usr2-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'f6editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-f6-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'f6editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-f6-edit-view'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-grid-view'
});
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'seditview9'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sedit-view9'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'seditview9'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sedit-view9'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sf2editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sf2-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sf2editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sf2-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr3editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-usr3-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sgridview9'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sgrid-view9'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sgridview9'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sgrid-view9'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'chartview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-chart-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'chartview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-chart-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'f6gridview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-f6-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'f6gridview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-f6-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2editview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-usr2-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sgridview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sgrid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sgridview'
,
srfappde
:
'ibizorderdetails'
,
component
:
'ibizorder-detail-sgrid-view'
});
}
}
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
c144f563
...
@@ -557,9 +557,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
...
@@ -557,9 +557,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto213'
:
case
'Auto213'
:
this
.
clickAuto213
(
item
);
this
.
clickAuto213
(
item
);
return
;
return
;
case
'AppFunc63'
:
this
.
clickAppFunc63
(
item
);
return
;
case
'AppFunc55'
:
case
'AppFunc55'
:
this
.
clickAppFunc55
(
item
);
this
.
clickAppFunc55
(
item
);
return
;
return
;
...
@@ -1159,29 +1156,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
...
@@ -1159,29 +1156,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
})
}
}
/**
* 功能名称
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc63
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorderdetails'
,
parameterName
:
'ibizorderdetail'
},
{
pathName
:
'usr2editview'
,
parameterName
:
'usr2editview'
},
];
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
浏览文件 @
c144f563
...
@@ -1911,25 +1911,6 @@ export default class MainMenuModel {
...
@@ -1911,25 +1911,6 @@ export default class MainMenuModel {
appfunctag
:
'AppFunc61'
,
appfunctag
:
'AppFunc61'
,
resourcetag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem143'
,
authtag
:
'Web-MainMenu-menuitem143'
,
},
{
id
:
'FA7BE937-1340-4713-95E9-61958F120657'
,
name
:
'menuitem130'
,
text
:
'数据选择视图2'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'数据选择视图2'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc63'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem130'
,
},
},
],
],
},
},
...
...
app_Web/src/widgets/ibizcustomer-intf/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel-base.vue
0 → 100644
浏览文件 @
c144f563
<
template
>
<div
class=
'pickupviewpanel'
>
<component
v-if=
"inited && view.viewname && !Object.is(view.viewname, '')"
:is=
"view.viewname"
class=
"viewcontainer3"
:viewdata=
"viewdata"
:viewparam=
"viewparam"
:viewDefaultUsage=
"false"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
@
viewdataschange=
"onViewDatasChange"
@
viewdatasactivated=
"viewDatasActivated"
@
viewload=
"onViewLoad"
>
</component>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
,
Inject
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
,
ViewTool
}
from
'@/utils'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
AppCenterService
from
"@service/app/app-center-service"
;
import
IBIZCustomer_INTFService
from
'@/service/ibizcustomer-intf/ibizcustomer-intf-service'
;
import
MPickupViewpickupviewpanelService
from
'./mpickup-viewpickupviewpanel-pickupviewpanel-service'
;
import
IBIZCustomer_INTFUIService
from
'@/uiservice/ibizcustomer-intf/ibizcustomer-intf-ui-service'
;
import
MPickupViewpickupviewpanelModel
from
'./mpickup-viewpickupviewpanel-pickupviewpanel-model'
;
@
Component
({
components
:
{
}
})
export
default
class
MPickupViewpickupviewpanelBase
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
context
!
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
viewparams
!
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof MPickupViewpickupviewpanelBase
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof MPickupViewpickupviewpanelBase
*/
public
getControlType
():
string
{
return
'PICKUPVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {MPickupViewpickupviewpanelService}
* @memberof MPickupViewpickupviewpanelBase
*/
public
service
:
MPickupViewpickupviewpanelService
=
new
MPickupViewpickupviewpanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {IBIZCustomer_INTFService}
* @memberof MPickupViewpickupviewpanelBase
*/
public
appEntityService
:
IBIZCustomer_INTFService
=
new
IBIZCustomer_INTFService
({
$store
:
this
.
$store
});
/**
* 转化数据
*
* @param {any} args
* @memberof MPickupViewpickupviewpanelBase
*/
public
transformData
(
args
:
any
)
{
let
_this
:
any
=
this
;
if
(
_this
.
service
&&
_this
.
service
.
handleRequestData
instanceof
Function
&&
_this
.
service
.
handleRequestData
(
'transform'
,
_this
.
context
,
args
)){
return
_this
.
service
.
handleRequestData
(
'transform'
,
_this
.
context
,
args
)[
'data'
];
}
}
/**
* 关闭视图
*
* @param {any} args
* @memberof MPickupViewpickupviewpanelBase
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 选中数据字符串
*
* @type {string}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
selectedData
?:
string
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof MPickupViewpickupviewpanelBase
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof MPickupViewpickupviewpanelBase
*/
public
getData
():
any
{
return
{};
}
/**
* 视图名称
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
public
view
:
any
=
{
viewname
:
'ibizcustomer-intfpickup-grid-view'
,
data
:
{},
}
/**
* 局部上下文
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
localViewParam
:
any
=
null
;
/**
* 视图数据
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 是否单选
*
* @type {boolean}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
isSingleSelect
?:
boolean
;
/**
* 初始化完成
*
* @type {boolean}
* @memberof MPickupViewpickupviewpanelBase
*/
public
inited
:
boolean
=
false
;
/**
* 视图数据变化
*
* @param {*} $event
* @memberof MPickupViewpickupviewpanelBase
*/
public
onViewDatasChange
(
$event
:
any
):
void
{
if
(
$event
.
length
>
0
){
$event
.
forEach
((
item
:
any
,
index
:
any
)
=>
{
let
srfmajortext
=
item
.
srfmajortext
?
item
.
srfmajortext
:
item
[
'ibizcustomername'
];
if
(
srfmajortext
){
Object
.
assign
(
$event
[
index
],{
srfmajortext
:
srfmajortext
});
}
});
}
this
.
$emit
(
'selectionchange'
,
$event
);
}
/**
* 视图数据被激活
*
* @param {*} $event
* @memberof MPickupViewpickupviewpanelBase
*/
public
viewDatasActivated
(
$event
:
any
):
void
{
this
.
$emit
(
'activated'
,
$event
);
}
/**
* 视图加载完成
*
* @param {*} $event
* @memberof MPickupViewpickupviewpanelBase
*/
public
onViewLoad
(
$event
:
any
):
void
{
this
.
$emit
(
'load'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
if
(
Object
.
is
(
'load'
,
action
))
{
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
Object
.
assign
(
data
,
this
.
viewparams
));
this
.
inited
=
true
;
}
});
}
}
/**
* 初始化导航参数
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
initNavParam
(){
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* vue 生命周期
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './mpickup-viewpickupviewpanel-pickupviewpanel.less';
</
style
>
\ No newline at end of file
app_Web/src/widgets/ibizcustomer-intf/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel-model.ts
0 → 100644
浏览文件 @
c144f563
/**
* MPickupViewpickupviewpanel 部件模型
*
* @export
* @class MPickupViewpickupviewpanelModel
*/
export
default
class
MPickupViewpickupviewpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MPickupViewpickupviewpanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'updatedate'
,
},
{
name
:
'sn'
,
},
{
name
:
'customeruid'
,
},
{
name
:
'orgid'
,
},
{
name
:
'createman'
,
},
{
name
:
'updateman'
,
},
{
name
:
'address'
,
},
{
name
:
'ibizcustomername'
,
},
{
name
:
'createdate'
,
},
{
name
:
'ibizcustomer_intf'
,
prop
:
'ibizcustomerid'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizcustomer-intf/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel-service.ts
0 → 100644
浏览文件 @
c144f563
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* MPickupViewpickupviewpanel 部件服务对象
*
* @export
* @class MPickupViewpickupviewpanelService
*/
export
default
class
MPickupViewpickupviewpanelService
extends
ControlService
{
}
\ No newline at end of file
app_Web/src/widgets/ibizcustomer-intf/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.less
0 → 100644
浏览文件 @
c144f563
// this is less
.pickupviewpanel{
width: 100%;
}
\ No newline at end of file
app_Web/src/widgets/ibizcustomer-intf/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.vue
0 → 100644
浏览文件 @
c144f563
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
MPickupViewpickupviewpanelBase
from
'./mpickup-viewpickupviewpanel-pickupviewpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
MPickupViewpickupviewpanel
extends
MPickupViewpickupviewpanelBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizcustomer/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel-base.vue
0 → 100644
浏览文件 @
c144f563
<
template
>
<div
class=
'pickupviewpanel'
>
<component
v-if=
"inited && view.viewname && !Object.is(view.viewname, '')"
:is=
"view.viewname"
class=
"viewcontainer3"
:viewdata=
"viewdata"
:viewparam=
"viewparam"
:viewDefaultUsage=
"false"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
@
viewdataschange=
"onViewDatasChange"
@
viewdatasactivated=
"viewDatasActivated"
@
viewload=
"onViewLoad"
>
</component>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
,
Inject
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
,
ViewTool
}
from
'@/utils'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
AppCenterService
from
"@service/app/app-center-service"
;
import
IBIZCustomerService
from
'@/service/ibizcustomer/ibizcustomer-service'
;
import
MPickupViewpickupviewpanelService
from
'./mpickup-viewpickupviewpanel-pickupviewpanel-service'
;
import
IBIZCustomerUIService
from
'@/uiservice/ibizcustomer/ibizcustomer-ui-service'
;
import
MPickupViewpickupviewpanelModel
from
'./mpickup-viewpickupviewpanel-pickupviewpanel-model'
;
@
Component
({
components
:
{
}
})
export
default
class
MPickupViewpickupviewpanelBase
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
context
!
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
viewparams
!
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof MPickupViewpickupviewpanelBase
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof MPickupViewpickupviewpanelBase
*/
public
getControlType
():
string
{
return
'PICKUPVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {MPickupViewpickupviewpanelService}
* @memberof MPickupViewpickupviewpanelBase
*/
public
service
:
MPickupViewpickupviewpanelService
=
new
MPickupViewpickupviewpanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {IBIZCustomerService}
* @memberof MPickupViewpickupviewpanelBase
*/
public
appEntityService
:
IBIZCustomerService
=
new
IBIZCustomerService
({
$store
:
this
.
$store
});
/**
* 转化数据
*
* @param {any} args
* @memberof MPickupViewpickupviewpanelBase
*/
public
transformData
(
args
:
any
)
{
let
_this
:
any
=
this
;
if
(
_this
.
service
&&
_this
.
service
.
handleRequestData
instanceof
Function
&&
_this
.
service
.
handleRequestData
(
'transform'
,
_this
.
context
,
args
)){
return
_this
.
service
.
handleRequestData
(
'transform'
,
_this
.
context
,
args
)[
'data'
];
}
}
/**
* 关闭视图
*
* @param {any} args
* @memberof MPickupViewpickupviewpanelBase
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 选中数据字符串
*
* @type {string}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
selectedData
?:
string
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof MPickupViewpickupviewpanelBase
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof MPickupViewpickupviewpanelBase
*/
public
getData
():
any
{
return
{};
}
/**
* 视图名称
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
public
view
:
any
=
{
viewname
:
'ibizcustomer-pickup-grid-view'
,
data
:
{},
}
/**
* 局部上下文
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
localViewParam
:
any
=
null
;
/**
* 视图数据
*
* @type {*}
* @memberof MPickupViewpickupviewpanelBase
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 是否单选
*
* @type {boolean}
* @memberof MPickupViewpickupviewpanelBase
*/
@
Prop
()
public
isSingleSelect
?:
boolean
;
/**
* 初始化完成
*
* @type {boolean}
* @memberof MPickupViewpickupviewpanelBase
*/
public
inited
:
boolean
=
false
;
/**
* 视图数据变化
*
* @param {*} $event
* @memberof MPickupViewpickupviewpanelBase
*/
public
onViewDatasChange
(
$event
:
any
):
void
{
if
(
$event
.
length
>
0
){
$event
.
forEach
((
item
:
any
,
index
:
any
)
=>
{
let
srfmajortext
=
item
.
srfmajortext
?
item
.
srfmajortext
:
item
[
'ibizcustomername'
];
if
(
srfmajortext
){
Object
.
assign
(
$event
[
index
],{
srfmajortext
:
srfmajortext
});
}
});
}
this
.
$emit
(
'selectionchange'
,
$event
);
}
/**
* 视图数据被激活
*
* @param {*} $event
* @memberof MPickupViewpickupviewpanelBase
*/
public
viewDatasActivated
(
$event
:
any
):
void
{
this
.
$emit
(
'activated'
,
$event
);
}
/**
* 视图加载完成
*
* @param {*} $event
* @memberof MPickupViewpickupviewpanelBase
*/
public
onViewLoad
(
$event
:
any
):
void
{
this
.
$emit
(
'load'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
if
(
Object
.
is
(
'load'
,
action
))
{
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
Object
.
assign
(
data
,
this
.
viewparams
));
this
.
inited
=
true
;
}
});
}
}
/**
* 初始化导航参数
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
initNavParam
(){
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* vue 生命周期
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof MPickupViewpickupviewpanelBase
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './mpickup-viewpickupviewpanel-pickupviewpanel.less';
</
style
>
\ No newline at end of file
app_Web/src/widgets/ibizcustomer/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel-model.ts
0 → 100644
浏览文件 @
c144f563
/**
* MPickupViewpickupviewpanel 部件模型
*
* @export
* @class MPickupViewpickupviewpanelModel
*/
export
default
class
MPickupViewpickupviewpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MPickupViewpickupviewpanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'createman'
,
},
{
name
:
'sn'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'createdate'
,
},
{
name
:
'customeruid'
,
},
{
name
:
'ibizcustomer'
,
prop
:
'ibizcustomerid'
,
},
{
name
:
'address'
,
},
{
name
:
'ibizcustomername'
,
},
{
name
:
'updateman'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizcustomer/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel-service.ts
0 → 100644
浏览文件 @
c144f563
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* MPickupViewpickupviewpanel 部件服务对象
*
* @export
* @class MPickupViewpickupviewpanelService
*/
export
default
class
MPickupViewpickupviewpanelService
extends
ControlService
{
}
\ No newline at end of file
app_Web/src/widgets/ibizcustomer/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.less
0 → 100644
浏览文件 @
c144f563
// this is less
.pickupviewpanel{
width: 100%;
}
\ No newline at end of file
app_Web/src/widgets/ibizcustomer/mpickup-viewpickupviewpanel-pickupviewpanel/mpickup-viewpickupviewpanel-pickupviewpanel.vue
0 → 100644
浏览文件 @
c144f563
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
MPickupViewpickupviewpanelBase
from
'./mpickup-viewpickupviewpanel-pickupviewpanel-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
MPickupViewpickupviewpanel
extends
MPickupViewpickupviewpanelBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizorder/select-view-form-form/select-view-form-form-base.vue
浏览文件 @
c144f563
...
@@ -31,12 +31,9 @@
...
@@ -31,12 +31,9 @@
:localParam ='{ }'
:localParam ='{ }'
:disabled="detailsModel.gridselect.disabled"
:disabled="detailsModel.gridselect.disabled"
name='gridselect'
name='gridselect'
:service="service"
:acParams="{ }"
valueitem='ibizcustomerid'
valueitem='ibizcustomerid'
:value="data.gridselect"
:value="data.gridselect"
editortype=""
editortype="
pickup-no-ac
"
:pickupView="{ viewname: 'ibizcustomer-pickup-grid-view', title: $t('entities.ibizcustomer.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
:pickupView="{ viewname: 'ibizcustomer-pickup-grid-view', title: $t('entities.ibizcustomer.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' }, { pathName: 'pickupgridview', parameterName: 'pickupgridview' } ], placement:'' }"
style=""
style=""
@formitemvaluechange="onFormItemValueChange">
@formitemvaluechange="onFormItemValueChange">
...
@@ -70,14 +67,23 @@
...
@@ -70,14 +67,23 @@
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.formitem1.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.formitem1.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<app-form-item
name=
'formitem1'
:itemRules=
"this.rules().formitem1"
class=
''
:caption=
"$t('entities.ibizorder.selectview_form_form.details.formitem1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem1.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'formitem1'
:itemRules=
"this.rules().formitem1"
class=
''
:caption=
"$t('entities.ibizorder.selectview_form_form.details.formitem1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem1.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.formitem1"
@
enter=
"onEnter($event)"
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.formitem1.disabled"
:disabled="detailsModel.formitem1.disabled"
type=
'text'
name='formitem1'
style=
""
>
valueitem='ibizorderid'
</input-box>
:value="data.formitem1"
editortype="pickup-no-ac"
:pickupView="{ viewname: 'ibizcustomer-mpickup-view', title: $t('entities.ibizcustomer.views.mpickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' }, { pathName: 'mpickupview', parameterName: 'mpickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</app-form-item>
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
c144f563
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-1
4
-5"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-1
5
-5"
>
<createTable
tableName=
"T_IBIZCUSTOMER"
>
<createTable
tableName=
"T_IBIZCUSTOMER"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
</column>
...
@@ -178,7 +178,7 @@
...
@@ -178,7 +178,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-4
09
-9"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-4
10
-9"
>
<createTable
tableName=
"T_IBIZORDER"
>
<createTable
tableName=
"T_IBIZORDER"
>
<column
name=
"TP"
remarks=
""
type=
"TEXT(1048576)"
>
<column
name=
"TP"
remarks=
""
type=
"TEXT(1048576)"
>
</column>
</column>
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<!--输出实体[IBIZORDERDETAIL]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-
9
2-10"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorderdetail-
10
2-10"
>
<createTable
tableName=
"T_IBIZORDERDETAIL"
>
<createTable
tableName=
"T_IBIZORDERDETAIL"
>
<column
name=
"IBIZORDERDETAILNAME"
remarks=
""
type=
"VARCHAR(200)"
>
<column
name=
"IBIZORDERDETAILNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
c144f563
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</createView>
</createView>
</changeSet>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-1
4
-4"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-1
5
-4"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZCUSTOMER"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZCUSTOMER"
>
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
</createView>
...
@@ -37,13 +37,13 @@
...
@@ -37,13 +37,13 @@
</createView>
</createView>
</changeSet>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-4
09
-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-4
10
-8"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDER"
>
<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 ]]>
<![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>
</createView>
</changeSet>
</changeSet>
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<!--输出实体[IBIZORDERDETAIL]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-
9
2-9"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorderdetail-
10
2-9"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDERDETAIL"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDERDETAIL"
>
<![CDATA[ SELECT t1.[QUANTITY]*t11.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZORDERDETAILA], t1.[IBIZORDERDETAILID], t1.[IBIZORDERDETAILNAME], t1.[IBIZORDERID], t21.[IBIZORDERNAME], t1.[IBIZUNIPRODUCTID], t11.[IBIZUNIPRODUCTNAME], t21.[ORDERUID], t1.[QUANTITY], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERDETAIL] t1 LEFT JOIN T_IBIZUNIPRODUCT t11 ON t1.IBIZUNIPRODUCTID = t11.IBIZUNIPRODUCTID LEFT JOIN T_IBIZORDER t21 ON t1.IBIZORDERID = t21.IBIZORDERID ]]>
<![CDATA[ SELECT t1.[QUANTITY]*t11.[UNITPRICE] AS [AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[IBIZORDERDETAILA], t1.[IBIZORDERDETAILID], t1.[IBIZORDERDETAILNAME], t1.[IBIZORDERID], t21.[IBIZORDERNAME], t1.[IBIZUNIPRODUCTID], t11.[IBIZUNIPRODUCTNAME], t21.[ORDERUID], t1.[QUANTITY], t11.[UNIT], t11.[UNITPRICE], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZORDERDETAIL] t1 LEFT JOIN T_IBIZUNIPRODUCT t11 ON t1.IBIZUNIPRODUCTID = t11.IBIZUNIPRODUCTID LEFT JOIN T_IBIZORDER t21 ON t1.IBIZORDERID = t21.IBIZORDERID ]]>
</createView>
</createView>
...
...
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
c144f563
...
@@ -302,7 +302,7 @@
...
@@ -302,7 +302,7 @@
{
{
"appid"
:
"Web"
,
"appid"
:
"Web"
,
"appname"
:
"演示应用"
,
"appname"
:
"演示应用"
,
"appmenu"
:[{
"menuid"
:
"MainMenu"
,
"menuname"
:
"MainMenu"
,
"menuitem"
:[{
"id"
:
"menuitem1"
,
"name"
:
"工作台"
},{
"id"
:
"menuitem3"
,
"name"
:
"控件"
,
"items"
:[{
"id"
:
"menuitem6"
,
"name"
:
"默认数据类型"
},{
"id"
:
"menuitem7"
,
"name"
:
"默认编辑器类型"
},{
"id"
:
"menuitem15"
,
"name"
:
"基础表单项"
},{
"id"
:
"menuitem72"
,
"name"
:
"扩展编辑器"
}]},{
"id"
:
"menuitem4"
,
"name"
:
"部件"
,
"items"
:[{
"id"
:
"menuitem12"
,
"name"
:
"编辑表单"
,
"items"
:[{
"id"
:
"menuitem107"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem47"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem99"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem48"
,
"name"
:
"输入提示"
},{
"id"
:
"menuitem49"
,
"name"
:
"辅助输入"
},{
"id"
:
"menuitem50"
,
"name"
:
"自动填充"
},{
"id"
:
"menuitem51"
,
"name"
:
"超链接"
},{
"id"
:
"menuitem52"
,
"name"
:
"表单值重置"
},{
"id"
:
"menuitem55"
,
"name"
:
"动态显示"
},{
"id"
:
"menuitem53"
,
"name"
:
"动态启用"
},{
"id"
:
"menuitem54"
,
"name"
:
"动态空输入"
},{
"id"
:
"menuitem56"
,
"name"
:
"表单项更新"
},{
"id"
:
"menuitem108"
,
"name"
:
"表单值规则"
}]},{
"id"
:
"menuitem16"
,
"name"
:
"搜索表单"
},{
"id"
:
"menuitem13"
,
"name"
:
"表格"
,
"items"
:[{
"id"
:
"menuitem57"
,
"name"
:
"禁用排序"
},{
"id"
:
"menuitem59"
,
"name"
:
"行操作"
},{
"id"
:
"menuitem58"
,
"name"
:
"行编辑"
},{
"id"
:
"menuitem73"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem74"
,
"name"
:
"表格行编辑"
},{
"id"
:
"menuitem75"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem76"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem77"
,
"name"
:
"表格值规则"
},{
"id"
:
"menuitem132"
,
"name"
:
"表格列更新"
},{
"id"
:
"menuitem133"
,
"name"
:
"表格列重置"
},{
"id"
:
"menuitem78"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem80"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem81"
,
"name"
:
"当前页聚合"
},{
"id"
:
"menuitem82"
,
"name"
:
"远程聚合"
}]},{
"id"
:
"menuitem83"
,
"name"
:
"列表"
,
"items"
:[{
"id"
:
"menuitem84"
,
"name"
:
"列表内置功能"
},{
"id"
:
"menuitem85"
,
"name"
:
"列表自动分组"
},{
"id"
:
"menuitem86"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem91"
,
"name"
:
"列表嵌入面板"
}]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
},{
"id"
:
"menuitem110"
,
"name"
:
"树表格"
}]},{
"id"
:
"menuitem37"
,
"name"
:
"图表"
,
"items"
:[{
"id"
:
"menuitem38"
,
"name"
:
"柱状图"
},{
"id"
:
"menuitem39"
,
"name"
:
"折线图"
},{
"id"
:
"menuitem40"
,
"name"
:
"饼图"
},{
"id"
:
"menuitem41"
,
"name"
:
"区域图"
},{
"id"
:
"menuitem42"
,
"name"
:
"雷达图"
}]},{
"id"
:
"menuitem17"
,
"name"
:
"向导"
,
"items"
:[{
"id"
:
"menuitem134"
,
"name"
:
"向导视图"
},{
"id"
:
"menuitem135"
,
"name"
:
"状态向导"
}]},{
"id"
:
"menuitem18"
,
"name"
:
"界面行为"
,
"items"
:[{
"id"
:
"menuitem65"
,
"name"
:
"前端界面行为"
},{
"id"
:
"menuitem66"
,
"name"
:
"后台界面行为"
}]},{
"id"
:
"menuitem87"
,
"name"
:
"数据视图"
,
"items"
:[{
"id"
:
"menuitem88"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem89"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem90"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem94"
,
"name"
:
"项布局面板"
}]},{
"id"
:
"menuitem95"
,
"name"
:
"日历"
,
"items"
:[{
"id"
:
"menuitem96"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem97"
,
"name"
:
"时间轴样式"
},{
"id"
:
"menuitem109"
,
"name"
:
"项布局面板"
}]},{
"id"
:
"menuitem101"
,
"name"
:
"看板"
,
"items"
:[{
"id"
:
"menuitem102"
,
"name"
:
"看板内置功能"
},{
"id"
:
"menuitem104"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem105"
,
"name"
:
"嵌入视图面板"
}]},{
"id"
:
"menuitem111"
,
"name"
:
"甘特图"
,
"items"
:[{
"id"
:
"menuitem112"
,
"name"
:
"甘特图"
}]},{
"id"
:
"menuitem119"
,
"name"
:
"分页视图"
,
"items"
:[{
"id"
:
"menuitem120"
,
"name"
:
"分页导航"
}]},{
"id"
:
"menuitem121"
,
"name"
:
"多编辑视图"
,
"items"
:[{
"id"
:
"menuitem115"
,
"name"
:
"多表单(行记录)"
},{
"id"
:
"menuitem123"
,
"name"
:
"多表单(上分页)"
}]},{
"id"
:
"menuitem122"
,
"name"
:
"数据关系栏"
,
"items"
:[{
"id"
:
"menuitem116"
,
"name"
:
"编辑视图(左右关系)"
},{
"id"
:
"menuitem117"
,
"name"
:
"编辑视图(上下关系)"
},{
"id"
:
"menuitem118"
,
"name"
:
"编辑视图(分页关系)"
}]},{
"id"
:
"menuitem125"
,
"name"
:
"数据看板"
,
"items"
:[{
"id"
:
"menuitem126"
,
"name"
:
"实体数据看板"
}]},{
"id"
:
"menuitem127"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem128"
,
"name"
:
"表格导航"
},{
"id"
:
"menuitem114"
,
"name"
:
"列表导航"
},{
"id"
:
"menuitem136"
,
"name"
:
"树导航"
},{
"id"
:
"menuitem137"
,
"name"
:
"卡片导航"
},{
"id"
:
"menuitem138"
,
"name"
:
"日历导航"
},{
"id"
:
"menuitem139"
,
"name"
:
"时间轴导航"
}]},{
"id"
:
"menuitem129"
,
"name"
:
"选项操作"
,
"items"
:[{
"id"
:
"menuitem131"
,
"name"
:
"表格选项操作"
}]},{
"id"
:
"menuitem142"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem143"
,
"name"
:
"数据选择视图"
}
,{
"id"
:
"menuitem130"
,
"name"
:
"数据选择视图2"
}
]}]},{
"id"
:
"menuitem5"
,
"name"
:
"视图"
,
"items"
:[{
"id"
:
"menuitem9"
,
"name"
:
"列表视图"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"常规表格视图"
},{
"id"
:
"menuitem21"
,
"name"
:
"左右表格视图"
},{
"id"
:
"menuitem20"
,
"name"
:
"嵌入表格视图"
}]},{
"id"
:
"menuitem8"
,
"name"
:
"编辑视图"
,
"items"
:[{
"id"
:
"menuitem22"
,
"name"
:
"常规编辑视图"
},{
"id"
:
"menuitem23"
,
"name"
:
"左右编辑视图"
},{
"id"
:
"menuitem24"
,
"name"
:
"分页编辑视图"
},{
"id"
:
"menuitem25"
,
"name"
:
"嵌入编辑视图"
}]},{
"id"
:
"menuitem26"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem27"
,
"name"
:
"单选视图"
},{
"id"
:
"menuitem28"
,
"name"
:
"多选视图"
},{
"id"
:
"menuitem29"
,
"name"
:
"树形选择视图"
},{
"id"
:
"menuitem30"
,
"name"
:
"左右单选视图"
},{
"id"
:
"menuitem31"
,
"name"
:
"左右多选视图"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem32"
,
"name"
:
"常规导航视图"
},{
"id"
:
"menuitem33"
,
"name"
:
"分页导航视图"
},{
"id"
:
"menuitem34"
,
"name"
:
"嵌入导航视图"
}]},{
"id"
:
"menuitem11"
,
"name"
:
"其他视图"
,
"items"
:[{
"id"
:
"menuitem35"
,
"name"
:
"图表视图"
},{
"id"
:
"menuitem36"
,
"name"
:
"报表视图"
},{
"id"
:
"menuitem98"
,
"name"
:
"自定义视图"
}]},{
"id"
:
"menuitem79"
,
"name"
:
"表格视图"
},{
"id"
:
"menuitem140"
,
"name"
:
"单数据视图"
},{
"id"
:
"menuitem141"
,
"name"
:
"多数据视图"
}]},{
"id"
:
"menuitem69"
,
"name"
:
"工作流"
},{
"id"
:
"menuitem2"
,
"name"
:
"更多"
,
"items"
:[{
"id"
:
"menuitem46"
,
"name"
:
"数据导出导入"
},{
"id"
:
"menuitem45"
,
"name"
:
"数据打印"
},{
"id"
:
"menuitem67"
,
"name"
:
"索引实体"
},{
"id"
:
"menuitem68"
,
"name"
:
"继承实体"
},{
"id"
:
"menuitem70"
,
"name"
:
"主状态"
},{
"id"
:
"menuitem71"
,
"name"
:
"多表单"
}]},{
"id"
:
"menuitem92"
,
"name"
:
"其他"
,
"items"
:[{
"id"
:
"menuitem93"
,
"name"
:
"示例实体02示例数据补充"
},{
"id"
:
"menuitem100"
,
"name"
:
"订单示例数据补充"
},{
"id"
:
"menuitem103"
,
"name"
:
"产品示例数据补充"
},{
"id"
:
"menuitem106"
,
"name"
:
"示例实体03示例数据补充"
},{
"id"
:
"menuitem113"
,
"name"
:
"订单类型添加"
},{
"id"
:
"menuitem124"
,
"name"
:
"示例实体01数据补充"
},{
"id"
:
"menuitem144"
,
"name"
:
"客户实体示例数据补充"
}]}]
}]
"appmenu"
:[{
"menuid"
:
"MainMenu"
,
"menuname"
:
"MainMenu"
,
"menuitem"
:[{
"id"
:
"menuitem1"
,
"name"
:
"工作台"
},{
"id"
:
"menuitem3"
,
"name"
:
"控件"
,
"items"
:[{
"id"
:
"menuitem6"
,
"name"
:
"默认数据类型"
},{
"id"
:
"menuitem7"
,
"name"
:
"默认编辑器类型"
},{
"id"
:
"menuitem15"
,
"name"
:
"基础表单项"
},{
"id"
:
"menuitem72"
,
"name"
:
"扩展编辑器"
}]},{
"id"
:
"menuitem4"
,
"name"
:
"部件"
,
"items"
:[{
"id"
:
"menuitem12"
,
"name"
:
"编辑表单"
,
"items"
:[{
"id"
:
"menuitem107"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem47"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem99"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem48"
,
"name"
:
"输入提示"
},{
"id"
:
"menuitem49"
,
"name"
:
"辅助输入"
},{
"id"
:
"menuitem50"
,
"name"
:
"自动填充"
},{
"id"
:
"menuitem51"
,
"name"
:
"超链接"
},{
"id"
:
"menuitem52"
,
"name"
:
"表单值重置"
},{
"id"
:
"menuitem55"
,
"name"
:
"动态显示"
},{
"id"
:
"menuitem53"
,
"name"
:
"动态启用"
},{
"id"
:
"menuitem54"
,
"name"
:
"动态空输入"
},{
"id"
:
"menuitem56"
,
"name"
:
"表单项更新"
},{
"id"
:
"menuitem108"
,
"name"
:
"表单值规则"
}]},{
"id"
:
"menuitem16"
,
"name"
:
"搜索表单"
},{
"id"
:
"menuitem13"
,
"name"
:
"表格"
,
"items"
:[{
"id"
:
"menuitem57"
,
"name"
:
"禁用排序"
},{
"id"
:
"menuitem59"
,
"name"
:
"行操作"
},{
"id"
:
"menuitem58"
,
"name"
:
"行编辑"
},{
"id"
:
"menuitem73"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem74"
,
"name"
:
"表格行编辑"
},{
"id"
:
"menuitem75"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem76"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem77"
,
"name"
:
"表格值规则"
},{
"id"
:
"menuitem132"
,
"name"
:
"表格列更新"
},{
"id"
:
"menuitem133"
,
"name"
:
"表格列重置"
},{
"id"
:
"menuitem78"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem80"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem81"
,
"name"
:
"当前页聚合"
},{
"id"
:
"menuitem82"
,
"name"
:
"远程聚合"
}]},{
"id"
:
"menuitem83"
,
"name"
:
"列表"
,
"items"
:[{
"id"
:
"menuitem84"
,
"name"
:
"列表内置功能"
},{
"id"
:
"menuitem85"
,
"name"
:
"列表自动分组"
},{
"id"
:
"menuitem86"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem91"
,
"name"
:
"列表嵌入面板"
}]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
},{
"id"
:
"menuitem110"
,
"name"
:
"树表格"
}]},{
"id"
:
"menuitem37"
,
"name"
:
"图表"
,
"items"
:[{
"id"
:
"menuitem38"
,
"name"
:
"柱状图"
},{
"id"
:
"menuitem39"
,
"name"
:
"折线图"
},{
"id"
:
"menuitem40"
,
"name"
:
"饼图"
},{
"id"
:
"menuitem41"
,
"name"
:
"区域图"
},{
"id"
:
"menuitem42"
,
"name"
:
"雷达图"
}]},{
"id"
:
"menuitem17"
,
"name"
:
"向导"
,
"items"
:[{
"id"
:
"menuitem134"
,
"name"
:
"向导视图"
},{
"id"
:
"menuitem135"
,
"name"
:
"状态向导"
}]},{
"id"
:
"menuitem18"
,
"name"
:
"界面行为"
,
"items"
:[{
"id"
:
"menuitem65"
,
"name"
:
"前端界面行为"
},{
"id"
:
"menuitem66"
,
"name"
:
"后台界面行为"
}]},{
"id"
:
"menuitem87"
,
"name"
:
"数据视图"
,
"items"
:[{
"id"
:
"menuitem88"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem89"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem90"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem94"
,
"name"
:
"项布局面板"
}]},{
"id"
:
"menuitem95"
,
"name"
:
"日历"
,
"items"
:[{
"id"
:
"menuitem96"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem97"
,
"name"
:
"时间轴样式"
},{
"id"
:
"menuitem109"
,
"name"
:
"项布局面板"
}]},{
"id"
:
"menuitem101"
,
"name"
:
"看板"
,
"items"
:[{
"id"
:
"menuitem102"
,
"name"
:
"看板内置功能"
},{
"id"
:
"menuitem104"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem105"
,
"name"
:
"嵌入视图面板"
}]},{
"id"
:
"menuitem111"
,
"name"
:
"甘特图"
,
"items"
:[{
"id"
:
"menuitem112"
,
"name"
:
"甘特图"
}]},{
"id"
:
"menuitem119"
,
"name"
:
"分页视图"
,
"items"
:[{
"id"
:
"menuitem120"
,
"name"
:
"分页导航"
}]},{
"id"
:
"menuitem121"
,
"name"
:
"多编辑视图"
,
"items"
:[{
"id"
:
"menuitem115"
,
"name"
:
"多表单(行记录)"
},{
"id"
:
"menuitem123"
,
"name"
:
"多表单(上分页)"
}]},{
"id"
:
"menuitem122"
,
"name"
:
"数据关系栏"
,
"items"
:[{
"id"
:
"menuitem116"
,
"name"
:
"编辑视图(左右关系)"
},{
"id"
:
"menuitem117"
,
"name"
:
"编辑视图(上下关系)"
},{
"id"
:
"menuitem118"
,
"name"
:
"编辑视图(分页关系)"
}]},{
"id"
:
"menuitem125"
,
"name"
:
"数据看板"
,
"items"
:[{
"id"
:
"menuitem126"
,
"name"
:
"实体数据看板"
}]},{
"id"
:
"menuitem127"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem128"
,
"name"
:
"表格导航"
},{
"id"
:
"menuitem114"
,
"name"
:
"列表导航"
},{
"id"
:
"menuitem136"
,
"name"
:
"树导航"
},{
"id"
:
"menuitem137"
,
"name"
:
"卡片导航"
},{
"id"
:
"menuitem138"
,
"name"
:
"日历导航"
},{
"id"
:
"menuitem139"
,
"name"
:
"时间轴导航"
}]},{
"id"
:
"menuitem129"
,
"name"
:
"选项操作"
,
"items"
:[{
"id"
:
"menuitem131"
,
"name"
:
"表格选项操作"
}]},{
"id"
:
"menuitem142"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem143"
,
"name"
:
"数据选择视图"
}]}]},{
"id"
:
"menuitem5"
,
"name"
:
"视图"
,
"items"
:[{
"id"
:
"menuitem9"
,
"name"
:
"列表视图"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"常规表格视图"
},{
"id"
:
"menuitem21"
,
"name"
:
"左右表格视图"
},{
"id"
:
"menuitem20"
,
"name"
:
"嵌入表格视图"
}]},{
"id"
:
"menuitem8"
,
"name"
:
"编辑视图"
,
"items"
:[{
"id"
:
"menuitem22"
,
"name"
:
"常规编辑视图"
},{
"id"
:
"menuitem23"
,
"name"
:
"左右编辑视图"
},{
"id"
:
"menuitem24"
,
"name"
:
"分页编辑视图"
},{
"id"
:
"menuitem25"
,
"name"
:
"嵌入编辑视图"
}]},{
"id"
:
"menuitem26"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem27"
,
"name"
:
"单选视图"
},{
"id"
:
"menuitem28"
,
"name"
:
"多选视图"
},{
"id"
:
"menuitem29"
,
"name"
:
"树形选择视图"
},{
"id"
:
"menuitem30"
,
"name"
:
"左右单选视图"
},{
"id"
:
"menuitem31"
,
"name"
:
"左右多选视图"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem32"
,
"name"
:
"常规导航视图"
},{
"id"
:
"menuitem33"
,
"name"
:
"分页导航视图"
},{
"id"
:
"menuitem34"
,
"name"
:
"嵌入导航视图"
}]},{
"id"
:
"menuitem11"
,
"name"
:
"其他视图"
,
"items"
:[{
"id"
:
"menuitem35"
,
"name"
:
"图表视图"
},{
"id"
:
"menuitem36"
,
"name"
:
"报表视图"
},{
"id"
:
"menuitem98"
,
"name"
:
"自定义视图"
}]},{
"id"
:
"menuitem79"
,
"name"
:
"表格视图"
},{
"id"
:
"menuitem140"
,
"name"
:
"单数据视图"
},{
"id"
:
"menuitem141"
,
"name"
:
"多数据视图"
}]},{
"id"
:
"menuitem69"
,
"name"
:
"工作流"
},{
"id"
:
"menuitem2"
,
"name"
:
"更多"
,
"items"
:[{
"id"
:
"menuitem46"
,
"name"
:
"数据导出导入"
},{
"id"
:
"menuitem45"
,
"name"
:
"数据打印"
},{
"id"
:
"menuitem67"
,
"name"
:
"索引实体"
},{
"id"
:
"menuitem68"
,
"name"
:
"继承实体"
},{
"id"
:
"menuitem70"
,
"name"
:
"主状态"
},{
"id"
:
"menuitem71"
,
"name"
:
"多表单"
}]},{
"id"
:
"menuitem92"
,
"name"
:
"其他"
,
"items"
:[{
"id"
:
"menuitem93"
,
"name"
:
"示例实体02示例数据补充"
},{
"id"
:
"menuitem100"
,
"name"
:
"订单示例数据补充"
},{
"id"
:
"menuitem103"
,
"name"
:
"产品示例数据补充"
},{
"id"
:
"menuitem106"
,
"name"
:
"示例实体03示例数据补充"
},{
"id"
:
"menuitem113"
,
"name"
:
"订单类型添加"
},{
"id"
:
"menuitem124"
,
"name"
:
"示例实体01数据补充"
},{
"id"
:
"menuitem144"
,
"name"
:
"客户实体示例数据补充"
}]}]
}]
}
}
]
]
}
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录