Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
bbdf5994
提交
bbdf5994
编写于
12月 07, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
c7c83606
变更
22
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
22 个修改的文件
包含
590 行增加
和
31 行删除
+590
-31
en-US.ts
app_Web/src/locale/lang/en-US.ts
+5
-0
zh-CN.ts
app_Web/src/locale/lang/zh-CN.ts
+5
-0
ibizappview_en_US.ts
...c/locale/lanres/entities/ibizappview/ibizappview_en_US.ts
+1
-0
ibizappview_zh_CN.ts
...c/locale/lanres/entities/ibizappview/ibizappview_zh_CN.ts
+1
-0
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+90
-0
ibizbookdashboard-view.less
...sample/ibizbookdashboard-view/ibizbookdashboard-view.less
+3
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+3
-1
router.ts
app_Web/src/pages/sample/index/router.ts
+62
-8
state.ts
app_Web/src/store/modules/view-action/state.ts
+23
-1
ibizappview-ui-service-base.ts
.../src/uiservice/ibizappview/ibizappview-ui-service-base.ts
+43
-0
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+81
-1
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+95
-0
view-list-list-base.vue
...idgets/ibizappview/view-list-list/view-list-list-base.vue
+32
-0
portal-components-list-portlet-model.ts
...ents-list-portlet/portal-components-list-portlet-model.ts
+42
-0
portal-components-list-portlet.less
...mponents-list-portlet/portal-components-list-portlet.less
+1
-1
portal-components-view-portlet-model.ts
...ents-view-portlet/portal-components-view-portlet-model.ts
+42
-0
portal-components-view-portlet.less
...mponents-view-portlet/portal-components-view-portlet.less
+1
-1
usr-gantt-base.vue
app_Web/src/widgets/ibizbook/usr-gantt/usr-gantt-base.vue
+15
-15
usr2-dashboard-model.ts
...c/widgets/ibizbook/usr2-dashboard/usr2-dashboard-model.ts
+42
-0
portal-components-chart-portlet-base.vue
...ts-chart-portlet/portal-components-chart-portlet-base.vue
+1
-1
portal-components-chart-portlet.less
...onents-chart-portlet/portal-components-chart-portlet.less
+1
-1
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/src/locale/lang/en-US.ts
浏览文件 @
bbdf5994
...
...
@@ -302,12 +302,17 @@ export default {
menuitem163
:
"实体编辑视图(上下关系)"
,
menuitem164
:
"实体编辑视图(左右关系)"
,
menuitem165
:
"实体分页导航视图"
,
menuitem166
:
"实体数据看板视图"
,
menuitem167
:
"实体选项操作视图"
,
menuitem141
:
"多数据视图"
,
menuitem9
:
"列表视图"
,
menuitem21
:
"左右表格视图"
,
menuitem20
:
"嵌入表格视图"
,
menuitem79
:
"表格视图"
,
menuitem19
:
"常规表格视图"
,
menuitem168
:
"实体多表单编辑视图"
,
menuitem169
:
"实体甘特视图"
,
menuitem170
:
"实体日历视图"
,
menuitem69
:
"工作流"
,
menuitem153
:
"逻辑"
,
menuitem154
:
"应用功能"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
bbdf5994
...
...
@@ -302,12 +302,17 @@ export default {
menuitem163
:
"实体编辑视图(上下关系)"
,
menuitem164
:
"实体编辑视图(左右关系)"
,
menuitem165
:
"实体分页导航视图"
,
menuitem166
:
"实体数据看板视图"
,
menuitem167
:
"实体选项操作视图"
,
menuitem141
:
"多数据视图"
,
menuitem9
:
"列表视图"
,
menuitem21
:
"左右表格视图"
,
menuitem20
:
"嵌入表格视图"
,
menuitem79
:
"表格视图"
,
menuitem19
:
"常规表格视图"
,
menuitem168
:
"实体多表单编辑视图"
,
menuitem169
:
"实体甘特视图"
,
menuitem170
:
"实体日历视图"
,
menuitem69
:
"工作流"
,
menuitem153
:
"逻辑"
,
menuitem154
:
"应用功能"
,
...
...
app_Web/src/locale/lanres/entities/ibizappview/ibizappview_en_US.ts
浏览文件 @
bbdf5994
...
...
@@ -83,6 +83,7 @@ export default {
print
:
"Print"
,
exportmodel
:
"Export Data Model"
,
import
:
"数据导入"
,
ibizappview_openinstance
:
"打开示例"
,
ibizappview_opendocument
:
"打开文档"
,
},
},
...
...
app_Web/src/locale/lanres/entities/ibizappview/ibizappview_zh_CN.ts
浏览文件 @
bbdf5994
...
...
@@ -82,6 +82,7 @@ export default {
print
:
"打印"
,
exportmodel
:
"导出数据模型"
,
import
:
"数据导入"
,
ibizappview_openinstance
:
"打开示例"
,
ibizappview_opendocument
:
"打开文档"
,
},
},
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
bbdf5994
...
...
@@ -2437,6 +2437,42 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'Auto213'
,
resourcetag
:
''
,
},
{
id
:
'C4248EF0-B879-4C7B-9E69-00F409C7F038'
,
name
:
'menuitem166'
,
text
:
'实体数据看板视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体数据看板视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc45'
,
resourcetag
:
''
,
},
{
id
:
'D7D5FB59-CAD6-4EEF-B4D5-47BF4C2976A1'
,
name
:
'menuitem167'
,
text
:
'实体选项操作视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体选项操作视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc47'
,
resourcetag
:
''
,
},
],
},
...
...
@@ -2551,6 +2587,60 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag
:
''
,
},
],
},
{
id
:
'01CBA2DE-EF8F-4887-8BE2-F37027A6EEB4'
,
name
:
'menuitem168'
,
text
:
'实体多表单编辑视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体多表单编辑视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc43'
,
resourcetag
:
''
,
},
{
id
:
'1BB265C7-868E-4A7F-9897-8D4179DD8F31'
,
name
:
'menuitem169'
,
text
:
'实体甘特视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体甘特视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc76'
,
resourcetag
:
''
,
},
{
id
:
'48164149-E0F2-4ABB-A2D5-69BF15388F27'
,
name
:
'menuitem170'
,
text
:
'实体日历视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体日历视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc20'
,
resourcetag
:
''
,
},
],
},
...
...
app_Web/src/pages/sample/ibizbookdashboard-view/ibizbookdashboard-view.less
浏览文件 @
bbdf5994
...
...
@@ -12,6 +12,9 @@
>.ivu-card-head{
display: none;
}
>.ivu-card-body {
height: 100%;
}
}
.portlet-card {
background-color: #f0f2f5;
...
...
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
bbdf5994
...
...
@@ -104,8 +104,8 @@ export const PageComponents = {
Vue
.
component
(
'ibizbookusr4-data-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr4-data-view/ibizbookusr4-data-view.vue'
));
Vue
.
component
(
'ibizorder-area-chart-view'
,
()
=>
import
(
'@pages/sample/ibizorder-area-chart-view/ibizorder-area-chart-view.vue'
));
Vue
.
component
(
'ibizorder-sf20-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf20-grid-view/ibizorder-sf20-grid-view.vue'
));
Vue
.
component
(
'ibizorder-calendar-exp-view'
,
()
=>
import
(
'@pages/sample/ibizorder-calendar-exp-view/ibizorder-calendar-exp-view.vue'
));
Vue
.
component
(
'ibizorder-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'
));
Vue
.
component
(
'ibizorder-calendar-exp-view'
,
()
=>
import
(
'@pages/sample/ibizorder-calendar-exp-view/ibizorder-calendar-exp-view.vue'
));
Vue
.
component
(
'ibizappviewedit-view'
,
()
=>
import
(
'@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'
));
Vue
.
component
(
'ibizsample0003-spickup-view2'
,
()
=>
import
(
'@pages/sample/ibizsample0003-spickup-view2/ibizsample0003-spickup-view2.vue'
));
Vue
.
component
(
'ibizbookusr2-list-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-list-view/ibizbookusr2-list-view.vue'
));
...
...
@@ -136,6 +136,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0002-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0002-grid-view/ibizsample0002-grid-view.vue'
));
Vue
.
component
(
'ibizbookinter-func-kan-ban-view'
,
()
=>
import
(
'@pages/sample/ibizbookinter-func-kan-ban-view/ibizbookinter-func-kan-ban-view.vue'
));
Vue
.
component
(
'ibizorder-type-usr2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-type-usr2-edit-view/ibizorder-type-usr2-edit-view.vue'
));
Vue
.
component
(
'ibizbookgantt-view'
,
()
=>
import
(
'@pages/sample/ibizbookgantt-view/ibizbookgantt-view.vue'
));
Vue
.
component
(
'ibizbookrow-edit-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookrow-edit-grid-view/ibizbookrow-edit-grid-view.vue'
));
Vue
.
component
(
'ibizhardware-index-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'
));
Vue
.
component
(
'ibizhardware-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizhardware-grid-view9/ibizhardware-grid-view9.vue'
));
...
...
@@ -168,6 +169,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0002-mpickup-view'
,
()
=>
import
(
'@pages/sample/ibizsample0002-mpickup-view/ibizsample0002-mpickup-view.vue'
));
Vue
.
component
(
'ibizorder-sf7-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf7-edit-view/ibizorder-sf7-edit-view.vue'
));
Vue
.
component
(
'ibizbookedit-view'
,
()
=>
import
(
'@pages/sample/ibizbookedit-view/ibizbookedit-view.vue'
));
Vue
.
component
(
'ibizbookdashboard-view'
,
()
=>
import
(
'@pages/sample/ibizbookdashboard-view/ibizbookdashboard-view.vue'
));
Vue
.
component
(
'ibizappeditorlist-view'
,
()
=>
import
(
'@pages/sample/ibizappeditorlist-view/ibizappeditorlist-view.vue'
));
Vue
.
component
(
'ibizappctrllist-view'
,
()
=>
import
(
'@pages/sample/ibizappctrllist-view/ibizappctrllist-view.vue'
));
Vue
.
component
(
'ibizorder-detail-list-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
bbdf5994
...
...
@@ -1672,32 +1672,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizorder-sf20-grid-view/ibizorder-sf20-grid-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/
calendarexpview/:calendarexpview
?'
,
path
:
'ibizorders/:ibizorder?/
gridview9/:gridview9
?'
,
meta
:
{
caption
:
'entities.ibizorder.views.
calendarexpview
.caption'
,
caption
:
'entities.ibizorder.views.
gridview9
.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'
calendarexpview'
,
parameterName
:
'calendarexpview
'
},
{
pathName
:
'
gridview9'
,
parameterName
:
'gridview9
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-
calendar-exp-view/ibizorder-calendar-exp-view
.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizorder-
grid-view9/ibizorder-grid-view9
.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/
gridview9/:gridview9
?'
,
path
:
'ibizorders/:ibizorder?/
calendarexpview/:calendarexpview
?'
,
meta
:
{
caption
:
'entities.ibizorder.views.
gridview9
.caption'
,
caption
:
'entities.ibizorder.views.
calendarexpview
.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'
gridview9'
,
parameterName
:
'gridview9
'
},
{
pathName
:
'
calendarexpview'
,
parameterName
:
'calendarexpview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-
grid-view9/ibizorder-grid-view9
.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizorder-
calendar-exp-view/ibizorder-calendar-exp-view
.vue'
),
},
{
path
:
'ibizappviews/:ibizappview?/editview/:editview?'
,
...
...
@@ -2164,6 +2164,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-type-usr2-edit-view/ibizorder-type-usr2-edit-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/ganttview/:ganttview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.ganttview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'ganttview'
,
parameterName
:
'ganttview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookgantt-view/ibizbookgantt-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/roweditgridview/:roweditgridview?'
,
meta
:
{
...
...
@@ -2641,6 +2655,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookedit-view/ibizbookedit-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/dashboardview/:dashboardview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.dashboardview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookdashboard-view/ibizbookdashboard-view.vue'
),
},
{
path
:
'ibizappeditors/:ibizappeditor?/listview/:listview?'
,
meta
:
{
...
...
@@ -3662,6 +3690,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-line-chart-view/ibizorder-line-chart-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/dashboardview/:dashboardview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.dashboardview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookdashboard-view/ibizbookdashboard-view.vue'
),
},
{
path
:
'/ibizcustomers/:ibizcustomer?/pickupgridview/:pickupgridview?'
,
meta
:
{
...
...
@@ -5387,6 +5428,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/ganttview/:ganttview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.ganttview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'ganttview'
,
parameterName
:
'ganttview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookgantt-view/ibizbookgantt-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2dataview/:usr2dataview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
bbdf5994
...
...
@@ -203,6 +203,7 @@ export const viewstate: any = {
'a3e8c166f876e0dd8eb09be4f9f907ab'
,
'39e841c85d9bbfc7ecf009c4202dbf0c'
,
'703686dd4e6aa6f55aca5d92c00d9ee3'
,
'efbe72fe207c5bb7ada28b278a9ea920'
,
'658d519f1868979431e7e0da5d967e6b'
,
'8a3f2cc88421d9f07cbb53dd78e11495'
,
'9127e2414d8e646fd2b473695d17c485'
,
...
...
@@ -254,8 +255,8 @@ export const viewstate: any = {
'd8a6379b9ddbd161045a288aba0890b6'
,
'd1f311d51e800e95e9b10c49a8b49b5a'
,
'f94df735642ce85ebb2fe3816c4dc77b'
,
'a682806a2655b566842d5495e43a06f3'
,
'ac9add3724d90fba46e7298ac051fa5f'
,
'a682806a2655b566842d5495e43a06f3'
,
'7a96f3c6b2f7269043c9637ff1f3e747'
,
'2bf74d5d66fa6d8d38b21b090586529b'
,
'16b68282950fb352dfe27e94bda47304'
,
...
...
@@ -274,6 +275,7 @@ export const viewstate: any = {
'b038c48269316664e5b48380a879fd99'
,
'd9bd3192a20de0815bed3fd3d79d0cb1'
,
'98865bf786ea85b14932dd5e48a74983'
,
'e92ac401e96f4e17763322eca8355c30'
,
'bc76c982dd2264463427eb57e9ed3fba'
,
'9f80ed66360fbbb9bc57c575fdd8814f'
,
'94e6694a65d9cacb171b6e0b581216ba'
,
...
...
@@ -289,6 +291,7 @@ export const viewstate: any = {
'bdb15578e295954bc2ecd16771c3e200'
,
'51dc78a9ed0e9cd37d46bec7dbc7d172'
,
'6b3607e849c8517fd7ae1cab583f7393'
,
'427821f1e67ee5b79dde237e66a7b9c9'
,
'09663b7a4e3dce70524d1b64e02b5e2d'
,
'edca8ee67304eb78c02bbfb9e4cb11bb'
,
'a6cb9804bfd40d2542ae2c44e0cc3331'
,
...
...
@@ -606,6 +609,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'427821f1e67ee5b79dde237e66a7b9c9'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKDashboardView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'f73da4cb47a88d3fe5b92716e0137741'
,
],
},
{
viewtag
:
'460fc1d5b6f2e2012b281df34d929f3b'
,
viewmodule
:
'Sample'
,
...
...
@@ -1839,6 +1852,15 @@ export const viewstate: any = {
'f90fa878f2ed0eb4e27353786b10c3f4'
,
],
},
{
viewtag
:
'e92ac401e96f4e17763322eca8355c30'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKGanttView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'e9b54ef29b192ecd2da05ff9570eb4d5'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizappview/ibizappview-ui-service-base.ts
浏览文件 @
bbdf5994
...
...
@@ -117,6 +117,49 @@ export default class IBIZAPPVIEWUIServiceBase extends UIService {
public
initDeMainStateOPPrivsMap
(){
}
/**
* 打开示例
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
IBIZAPPVIEW_openInstance
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'SINGLEKEY'
;
Object
.
assign
(
context
,
{
ibizappview
:
'%instanceaddress%'
});
Object
.
assign
(
params
,
{
instanceaddress
:
'%instanceaddress%'
});
Object
.
assign
(
params
,
{
instanceaddress
:
'%instanceaddress%'
});
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
const
openPopupApp
=
(
url
:
string
)
=>
{
window
.
open
(
url
,
'_blank'
);
return
null
;
}
const
url
=
`
${
data
.
instanceaddress
}
`
;
openPopupApp
(
url
);
}
/**
* MORE
*
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
bbdf5994
...
...
@@ -677,6 +677,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc68'
:
this
.
clickAppFunc68
(
item
);
return
;
case
'AppFunc76'
:
this
.
clickAppFunc76
(
item
);
return
;
case
'Auto176'
:
this
.
clickAuto176
(
item
);
return
;
...
...
@@ -782,6 +785,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc54'
:
this
.
clickAppFunc54
(
item
);
return
;
case
'AppFunc47'
:
this
.
clickAppFunc47
(
item
);
return
;
case
'Auto235'
:
this
.
clickAuto235
(
item
);
return
;
...
...
@@ -842,6 +848,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc34'
:
this
.
clickAppFunc34
(
item
);
return
;
case
'AppFunc45'
:
this
.
clickAppFunc45
(
item
);
return
;
case
'AppFunc17'
:
this
.
clickAppFunc17
(
item
);
return
;
...
...
@@ -1374,7 +1383,7 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
*
功能名称
*
实体日历视图
*
* @param {*} [item={}]
* @memberof MainMenu
...
...
@@ -2109,6 +2118,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 实体甘特视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc76
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'ganttview'
,
parameterName
:
'ganttview'
},
];
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
);
})
}
/**
* 禁用排序表格
*
...
...
@@ -2913,6 +2945,31 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 实体选项操作视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc47
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
];
const
view
=
{
viewname
:
'ibizbookoption-view'
,
title
:
(
this
.
$t
(
'entities.ibizbook.views.optionview.title'
)
as
any
),
height
:
800
,
width
:
1000
,
};
const
appmodal
=
this
.
$appmodal
.
openModal
(
view
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
viewparam
);
appmodal
.
subscribe
((
result
:
any
)
=>
{
console
.
log
(
result
);
});
}
/**
* 右键操作
*
...
...
@@ -3373,6 +3430,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 实体数据看板视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc45
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'dashboardview'
,
parameterName
:
'dashboardview'
},
];
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
浏览文件 @
bbdf5994
...
...
@@ -2573,6 +2573,44 @@ export default class MainMenuModel {
appfunctag
:
'Auto213'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem165'
,
},
{
id
:
'C4248EF0-B879-4C7B-9E69-00F409C7F038'
,
name
:
'menuitem166'
,
text
:
'实体数据看板视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体数据看板视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc45'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem166'
,
},
{
id
:
'D7D5FB59-CAD6-4EEF-B4D5-47BF4C2976A1'
,
name
:
'menuitem167'
,
text
:
'实体选项操作视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体选项操作视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc47'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem167'
,
},
],
},
...
...
@@ -2693,6 +2731,63 @@ export default class MainMenuModel {
authtag
:
'Web-MainMenu-menuitem19'
,
},
],
},
{
id
:
'01CBA2DE-EF8F-4887-8BE2-F37027A6EEB4'
,
name
:
'menuitem168'
,
text
:
'实体多表单编辑视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体多表单编辑视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc43'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem168'
,
},
{
id
:
'1BB265C7-868E-4A7F-9897-8D4179DD8F31'
,
name
:
'menuitem169'
,
text
:
'实体甘特视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体甘特视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc76'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem169'
,
},
{
id
:
'48164149-E0F2-4ABB-A2D5-69BF15388F27'
,
name
:
'menuitem170'
,
text
:
'实体日历视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'实体日历视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc20'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem170'
,
},
],
},
...
...
app_Web/src/widgets/ibizappview/view-list-list/view-list-list-base.vue
浏览文件 @
bbdf5994
...
...
@@ -632,6 +632,34 @@ export default class ViewListBase extends Vue implements ControlInterface {
this
.
Import
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZAPPVIEW"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
list_operation_ued88b09_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
IBIZAPPVIEWUIService
=
new
IBIZAPPVIEWUIService
();
curUIService
.
IBIZAPPVIEW_openInstance
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZAPPVIEW"
);
}
/**
* 逻辑事件
*
...
...
@@ -1639,6 +1667,7 @@ export default class ViewListBase extends Vue implements ControlInterface {
* @memberof ViewListBase
*/
public
actionModel
:
any
=
{
"openInstance"
:{
name
:
"openInstance"
,
icon
:
""
,
caption
:
"打开示例"
,
disabled
:
false
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
""
,
actiontarget
:
"SINGLEKEY"
},
"openDocument"
:{
name
:
"openDocument"
,
icon
:
""
,
caption
:
"打开文档"
,
disabled
:
false
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
""
,
actiontarget
:
"SINGLEKEY"
},
};
...
...
@@ -1691,6 +1720,9 @@ export default class ViewListBase extends Vue implements ControlInterface {
if
(
Object
.
is
(
'Import'
,
tag
))
{
this
.
list_quicktoolbar_tbitem23_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'openInstance'
,
tag
))
{
this
.
list_operation_ued88b09_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'openDocument'
,
tag
))
{
this
.
list_operation_u59112f7_click
(
data
,
tag
,
$event
);
}
...
...
app_Web/src/widgets/ibizbook/portal-components-list-portlet/portal-components-list-portlet-model.ts
浏览文件 @
bbdf5994
...
...
@@ -60,6 +60,48 @@ export default class PortalComponentsListModel {
{
name
:
'icon'
,
},
{
name
:
'sailstate'
,
},
{
name
:
'borrowstatus'
,
},
{
name
:
'stepstatus'
,
},
{
name
:
'borrower'
,
},
{
name
:
'borrowway'
,
},
{
name
:
'returnlib'
,
},
{
name
:
'borrowerid'
,
},
{
name
:
'borrower1'
,
},
{
name
:
'borrower1_id'
,
},
{
name
:
'borrower2'
,
},
{
name
:
'borrower2_id'
,
},
{
name
:
'borrower3'
,
},
{
name
:
'borrower3_id'
,
},
{
name
:
'tag'
,
},
]
}
...
...
app_Web/src/widgets/ibizbook/portal-components-list-portlet/portal-components-list-portlet.less
浏览文件 @
bbdf5994
...
...
@@ -37,7 +37,7 @@
}
> .portlet-with-title{
width:100%;
height:calc(100% - 5
2
px);
height:calc(100% - 5
8
px);
overflow:auto;
padding:0px 12px;
}
...
...
app_Web/src/widgets/ibizbook/portal-components-view-portlet/portal-components-view-portlet-model.ts
浏览文件 @
bbdf5994
...
...
@@ -60,6 +60,48 @@ export default class PortalComponentsViewModel {
{
name
:
'icon'
,
},
{
name
:
'sailstate'
,
},
{
name
:
'borrowstatus'
,
},
{
name
:
'stepstatus'
,
},
{
name
:
'borrower'
,
},
{
name
:
'borrowway'
,
},
{
name
:
'returnlib'
,
},
{
name
:
'borrowerid'
,
},
{
name
:
'borrower1'
,
},
{
name
:
'borrower1_id'
,
},
{
name
:
'borrower2'
,
},
{
name
:
'borrower2_id'
,
},
{
name
:
'borrower3'
,
},
{
name
:
'borrower3_id'
,
},
{
name
:
'tag'
,
},
]
}
...
...
app_Web/src/widgets/ibizbook/portal-components-view-portlet/portal-components-view-portlet.less
浏览文件 @
bbdf5994
...
...
@@ -37,7 +37,7 @@
}
> .portlet-with-title{
width:100%;
height:calc(100% - 5
2
px);
height:calc(100% - 5
8
px);
overflow:auto;
padding:0px 12px;
}
...
...
app_Web/src/widgets/ibizbook/usr-gantt/usr-gantt-base.vue
浏览文件 @
bbdf5994
...
...
@@ -238,42 +238,42 @@ export default class UsrBase extends Vue implements ControlInterface {
labelField
:
'text'
,
columns
:
[
{
label
:
'
借出日期
'
,
value
:
'
lendoutti
me'
,
label
:
'
图书名称
'
,
value
:
'
ibizbookna
me'
,
render
:
(
task
:
any
)
=>
{
return
this
.
getColumnValue
(
task
,
'
lendoutti
me'
)
return
this
.
getColumnValue
(
task
,
'
ibizbookna
me'
)
},
width
:
200
,
},
{
label
:
'
归还日期
'
,
value
:
'
returntime
'
,
label
:
'
出版社
'
,
value
:
'
press
'
,
render
:
(
task
:
any
)
=>
{
return
this
.
getColumnValue
(
task
,
'
returntime
'
)
return
this
.
getColumnValue
(
task
,
'
press
'
)
},
width
:
200
,
},
{
label
:
'
图书名称
'
,
value
:
'
ibizbookname
'
,
label
:
'
作者
'
,
value
:
'
author
'
,
render
:
(
task
:
any
)
=>
{
return
this
.
getColumnValue
(
task
,
'
ibizbookname
'
)
return
this
.
getColumnValue
(
task
,
'
author
'
)
},
width
:
200
,
},
{
label
:
'
出版社
'
,
value
:
'
press
'
,
label
:
'
借出日期
'
,
value
:
'
lendouttime
'
,
render
:
(
task
:
any
)
=>
{
return
this
.
getColumnValue
(
task
,
'
press
'
)
return
this
.
getColumnValue
(
task
,
'
lendouttime
'
)
},
width
:
200
,
},
{
label
:
'
作者
'
,
value
:
'
author
'
,
label
:
'
归还日期
'
,
value
:
'
returntime
'
,
render
:
(
task
:
any
)
=>
{
return
this
.
getColumnValue
(
task
,
'
author
'
)
return
this
.
getColumnValue
(
task
,
'
returntime
'
)
},
width
:
200
,
},
...
...
app_Web/src/widgets/ibizbook/usr2-dashboard/usr2-dashboard-model.ts
浏览文件 @
bbdf5994
...
...
@@ -60,6 +60,48 @@ export default class Usr2Model {
{
name
:
'icon'
,
},
{
name
:
'sailstate'
,
},
{
name
:
'borrowstatus'
,
},
{
name
:
'stepstatus'
,
},
{
name
:
'borrower'
,
},
{
name
:
'borrowway'
,
},
{
name
:
'returnlib'
,
},
{
name
:
'borrowerid'
,
},
{
name
:
'borrower1'
,
},
{
name
:
'borrower1_id'
,
},
{
name
:
'borrower2'
,
},
{
name
:
'borrower2_id'
,
},
{
name
:
'borrower3'
,
},
{
name
:
'borrower3_id'
,
},
{
name
:
'tag'
,
},
]
}
...
...
app_Web/src/widgets/ibizorder/portal-components-chart-portlet/portal-components-chart-portlet-base.vue
浏览文件 @
bbdf5994
...
...
@@ -3,7 +3,7 @@
<p
class=
'portlet-title'
>
<span>
订单金额区域图
图表
</span>
</p>
<el-divider
class=
"divider"
></el-divider>
...
...
app_Web/src/widgets/ibizorder/portal-components-chart-portlet/portal-components-chart-portlet.less
浏览文件 @
bbdf5994
...
...
@@ -37,7 +37,7 @@
}
> .portlet-with-title{
width:100%;
height:calc(100% - 5
2
px);
height:calc(100% - 5
8
px);
overflow:auto;
padding:0px 12px;
}
...
...
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
bbdf5994
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录