Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
16e50dda
提交
16e50dda
编写于
11月 20, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
e2270845
变更
22
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
22 个修改的文件
包含
4313 行增加
和
22 行删除
+4313
-22
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
en-US.ts
app_Web/src/locale/lang/en-US.ts
+1
-0
zh-CN.ts
app_Web/src/locale/lang/zh-CN.ts
+1
-0
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+18
-0
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+18
-0
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+18
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizbookusr5-grid-view-base.vue
...le/ibizbookusr5-grid-view/ibizbookusr5-grid-view-base.vue
+983
-0
ibizbookusr5-grid-view.less
...sample/ibizbookusr5-grid-view/ibizbookusr5-grid-view.less
+19
-0
ibizbookusr5-grid-view.vue
.../sample/ibizbookusr5-grid-view/ibizbookusr5-grid-view.vue
+24
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+2
-1
router.ts
app_Web/src/pages/sample/index/router.ts
+37
-10
state.ts
app_Web/src/store/modules/view-action/state.ts
+12
-1
ibizbook-ui-service-base.ts
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
+1
-0
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+35
-9
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+19
-0
main5-grid-base.vue
app_Web/src/widgets/ibizbook/main5-grid/main5-grid-base.vue
+2274
-0
main5-grid-model.ts
app_Web/src/widgets/ibizbook/main5-grid/main5-grid-model.ts
+120
-0
main5-grid-service.ts
...Web/src/widgets/ibizbook/main5-grid/main5-grid-service.ts
+524
-0
main5-grid.less
app_Web/src/widgets/ibizbook/main5-grid/main5-grid.less
+176
-0
main5-grid.vue
app_Web/src/widgets/ibizbook/main5-grid/main5-grid.vue
+14
-0
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
16e50dda
...
...
@@ -415,6 +415,14 @@
"viewname"
:
"IBIZOrderSF7EditView"
,
"viewtag"
:
"6b3607e849c8517fd7ae1cab583f7393"
},
"ibizbookusr5gridview"
:
{
"title"
:
"图书表格视图(远程聚合)"
,
"caption"
:
"图书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKUsr5GridView"
,
"viewtag"
:
"703686dd4e6aa6f55aca5d92c00d9ee3"
},
"ibizsample0017f10editview"
:
{
"title"
:
"订单编辑视图"
,
"caption"
:
"订单"
,
...
...
app_Web/src/locale/lang/en-US.ts
浏览文件 @
16e50dda
...
...
@@ -194,6 +194,7 @@ export default {
menuitem78
:
"自动分组"
,
menuitem80
:
"代码表分组"
,
menuitem81
:
"当前页聚合"
,
menuitem82
:
"远程聚合"
,
menuitem14
:
"树视图"
,
menuitem60
:
"静态节点"
,
menuitem61
:
"动态节点(代码表)"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
16e50dda
...
...
@@ -194,6 +194,7 @@ export default {
menuitem78
:
"自动分组"
,
menuitem80
:
"代码表分组"
,
menuitem81
:
"当前页聚合"
,
menuitem82
:
"远程聚合"
,
menuitem14
:
"树视图"
,
menuitem60
:
"静态节点"
,
menuitem61
:
"动态节点(代码表)"
,
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
16e50dda
...
...
@@ -21,6 +21,10 @@ export default {
caption
:
"图书"
,
title
:
"图书表格视图(表格值规则)"
,
},
usr5gridview
:
{
caption
:
"图书"
,
title
:
"图书表格视图(远程聚合)"
,
},
usr4gridview
:
{
caption
:
"图书"
,
title
:
"图书表格视图(当前页本地聚合)"
,
...
...
@@ -153,6 +157,18 @@ export default {
uiactions
:
{
},
},
main5_grid
:
{
columns
:
{
type
:
"图书类型"
,
author
:
"图书作者"
,
ibizbookname
:
"图书名称"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
},
nodata
:
""
,
uiactions
:
{
},
},
rowrules_grid
:
{
columns
:
{
ibizbookname
:
"图书名称"
,
...
...
@@ -463,6 +479,8 @@ export default {
tip
:
"数据导入"
,
},
},
usr5gridviewtoolbar_toolbar
:
{
},
valuerulesgridviewtoolbar_toolbar
:
{
},
usr3gridviewtoolbar_toolbar
:
{
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
16e50dda
...
...
@@ -20,6 +20,10 @@ export default {
caption
:
"图书"
,
title
:
"图书表格视图(表格值规则)"
,
},
usr5gridview
:
{
caption
:
"图书"
,
title
:
"图书表格视图(远程聚合)"
,
},
usr4gridview
:
{
caption
:
"图书"
,
title
:
"图书表格视图(当前页本地聚合)"
,
...
...
@@ -152,6 +156,18 @@ export default {
uiactions
:
{
},
},
main5_grid
:
{
columns
:
{
type
:
"图书类型"
,
author
:
"图书作者"
,
ibizbookname
:
"图书名称"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
},
nodata
:
""
,
uiactions
:
{
},
},
rowrules_grid
:
{
columns
:
{
ibizbookname
:
"图书名称"
,
...
...
@@ -462,6 +478,8 @@ export default {
tip
:
"数据导入"
,
},
},
usr5gridviewtoolbar_toolbar
:
{
},
valuerulesgridviewtoolbar_toolbar
:
{
},
usr3gridviewtoolbar_toolbar
:
{
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
16e50dda
...
...
@@ -571,6 +571,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'AppFunc9'
,
resourcetag
:
''
,
},
{
id
:
'AF5B1ABC-4278-4977-9CF1-AB37B4AC1022'
,
name
:
'menuitem82'
,
text
:
'远程聚合'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'远程聚合'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc10'
,
resourcetag
:
''
,
},
],
},
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
16e50dda
...
...
@@ -423,6 +423,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZOrderSF7EditView"
,
"viewtag"
:
"6b3607e849c8517fd7ae1cab583f7393"
},
"ibizbookusr5gridview"
:
{
"title"
:
"图书表格视图(远程聚合)"
,
"caption"
:
"图书"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKUsr5GridView"
,
"viewtag"
:
"703686dd4e6aa6f55aca5d92c00d9ee3"
},
"ibizsample0017f10editview"
:
{
"title"
:
"订单编辑视图"
,
"caption"
:
"订单"
,
...
...
app_Web/src/pages/sample/ibizbookusr5-grid-view/ibizbookusr5-grid-view-base.vue
0 → 100644
浏览文件 @
16e50dda
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookusr5-grid-view/ibizbookusr5-grid-view.less
0 → 100644
浏览文件 @
16e50dda
.ibizbookusr5-grid-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
app_Web/src/pages/sample/ibizbookusr5-grid-view/ibizbookusr5-grid-view.vue
0 → 100644
浏览文件 @
16e50dda
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKUsr5GridViewBase
from
'./ibizbookusr5-grid-view-base.vue'
;
import
view_grid
from
'@widgets/ibizbook/main5-grid/main5-grid.vue'
;
import
view_searchform
from
'@widgets/ibizbook/default-searchform/default-searchform.vue'
;
@
Component
({
components
:
{
view_grid
,
view_searchform
,
},
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
IBIZBOOKUsr5GridView
extends
IBIZBOOKUsr5GridViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
16e50dda
...
...
@@ -11,6 +11,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizsoftware-suit-sgrid-view'
,
()
=>
import
(
'@pages/sample/ibizsoftware-suit-sgrid-view/ibizsoftware-suit-sgrid-view.vue'
));
Vue
.
component
(
'ibizorder-bar-chart-view'
,
()
=>
import
(
'@pages/sample/ibizorder-bar-chart-view/ibizorder-bar-chart-view.vue'
));
Vue
.
component
(
'ibizsample0003-stree-exp-view2'
,
()
=>
import
(
'@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'
));
Vue
.
component
(
'ibizbookusr5-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr5-grid-view/ibizbookusr5-grid-view.vue'
));
Vue
.
component
(
'ibizbookusr2-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-grid-view/ibizbookusr2-grid-view.vue'
));
Vue
.
component
(
'ibizsample0001-sf2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-sf2-edit-view/ibizsample0001-sf2-edit-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sf2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sf2-edit-view/ibizorder-detail-sf2-edit-view.vue'
));
...
...
@@ -62,8 +63,8 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0017-f10-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0017-f10-edit-view/ibizsample0017-f10-edit-view.vue'
));
Vue
.
component
(
'ibizuniproduct-edit-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'
));
Vue
.
component
(
'ibizsample0003-sf1-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-sf1-edit-view/ibizsample0003-sf1-edit-view.vue'
));
Vue
.
component
(
'ibizuniproduct-index-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-index-pickup-view/ibizuniproduct-index-pickup-view.vue'
));
Vue
.
component
(
'ibizsample0003-sf1-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-sf1-edit-view/ibizsample0003-sf1-edit-view.vue'
));
Vue
.
component
(
'ibizorder-pie-chart-view'
,
()
=>
import
(
'@pages/sample/ibizorder-pie-chart-view/ibizorder-pie-chart-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sgrid-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view9/ibizorder-detail-sgrid-view9.vue'
));
Vue
.
component
(
'ibizuniproduct-sgrid-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-sgrid-view/ibizuniproduct-sgrid-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
16e50dda
...
...
@@ -219,6 +219,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/usr5gridview/:usr5gridview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.usr5gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr5gridview'
,
parameterName
:
'usr5gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr5-grid-view/ibizbookusr5-grid-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/usr2gridview/:usr2gridview?'
,
meta
:
{
...
...
@@ -949,32 +963,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'
),
},
{
path
:
'ibiz
sample0003s/:ibizsample0003?/sf1editview/:sf1edit
view?'
,
path
:
'ibiz
uniproducts/:ibizuniproduct?/indexpickupview/:indexpickup
view?'
,
meta
:
{
caption
:
'entities.ibiz
sample0003.views.sf1edit
view.caption'
,
caption
:
'entities.ibiz
uniproduct.views.indexpickup
view.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
sample0003s'
,
parameterName
:
'ibizsample0003
'
},
{
pathName
:
'
sf1editview'
,
parameterName
:
'sf1edit
view'
},
{
pathName
:
'ibiz
uniproducts'
,
parameterName
:
'ibizuniproduct
'
},
{
pathName
:
'
indexpickupview'
,
parameterName
:
'indexpickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0003-sf1-edit-view/ibizsample0003-sf1-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
uniproduct-index-pickup-view/ibizuniproduct-index-pickup
-view.vue'
),
},
{
path
:
'ibiz
uniproducts/:ibizuniproduct?/indexpickupview/:indexpickup
view?'
,
path
:
'ibiz
sample0003s/:ibizsample0003?/sf1editview/:sf1edit
view?'
,
meta
:
{
caption
:
'entities.ibiz
uniproduct.views.indexpickup
view.caption'
,
caption
:
'entities.ibiz
sample0003.views.sf1edit
view.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
uniproducts'
,
parameterName
:
'ibizuniproduct
'
},
{
pathName
:
'
indexpickupview'
,
parameterName
:
'indexpickup
view'
},
{
pathName
:
'ibiz
sample0003s'
,
parameterName
:
'ibizsample0003
'
},
{
pathName
:
'
sf1editview'
,
parameterName
:
'sf1edit
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
uniproduct-index-pickup-view/ibizuniproduct-index-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0003-sf1-edit-view/ibizsample0003-sf1-edit
-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/piechartview/:piechartview?'
,
...
...
@@ -2483,6 +2497,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-sf7-edit-view/ibizorder-sf7-edit-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr5gridview/:usr5gridview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.usr5gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr5gridview'
,
parameterName
:
'usr5gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr5-grid-view/ibizbookusr5-grid-view.vue'
),
},
{
path
:
'/ibizsample0017s/:ibizsample0017?/f10editview/:f10editview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
16e50dda
...
...
@@ -177,6 +177,7 @@ export const viewstate: any = {
'f94df735642ce85ebb2fe3816c4dc77b'
,
'ac9add3724d90fba46e7298ac051fa5f'
,
'39e841c85d9bbfc7ecf009c4202dbf0c'
,
'703686dd4e6aa6f55aca5d92c00d9ee3'
,
'16b68282950fb352dfe27e94bda47304'
,
'658d519f1868979431e7e0da5d967e6b'
,
'59c5d311d09a7f68f8b6962ca652374a'
,
...
...
@@ -218,8 +219,8 @@ export const viewstate: any = {
'369a14f21cbff0d0fe23831aecfca7ba'
,
'00a0716a2029a7fe79fe03b6f74c7c90'
,
'a894de140705ecab2f39797d2922a3ce'
,
'ea604a66caf499c70c9002a917dd1694'
,
'e57dd501c75c6933363fa245edcadbbd'
,
'ea604a66caf499c70c9002a917dd1694'
,
],
},
{
...
...
@@ -581,6 +582,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'703686dd4e6aa6f55aca5d92c00d9ee3'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKUsr5GridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'b3429ecc4d89a02bc5f5279f1bd7f620'
,
],
},
{
viewtag
:
'70df82f4cd265e92e9d9add5e05a8399'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
浏览文件 @
16e50dda
...
...
@@ -98,6 +98,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2gridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'valuerulesgridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookvalue-rules-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr5gridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr5-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr4gridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr4-grid-view'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookedit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'roweditgridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookrow-edit-grid-view'
});
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
16e50dda
...
...
@@ -536,12 +536,12 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto25'
:
this
.
clickAuto25
(
item
);
return
;
case
'Auto96'
:
this
.
clickAuto96
(
item
);
return
;
case
'Auto384'
:
this
.
clickAuto384
(
item
);
return
;
case
'Auto96'
:
this
.
clickAuto96
(
item
);
return
;
case
'Auto126'
:
this
.
clickAuto126
(
item
);
return
;
...
...
@@ -674,6 +674,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto176'
:
this
.
clickAuto176
(
item
);
return
;
case
'AppFunc10'
:
this
.
clickAppFunc10
(
item
);
return
;
case
'Auto111'
:
this
.
clickAuto111
(
item
);
return
;
...
...
@@ -858,18 +861,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
*
动态节点实体
*
单选导航
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAuto
96
(
item
:
any
=
{})
{
public
clickAuto
384
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizsample0003s'
,
parameterName
:
'ibizsample0003'
},
{
pathName
:
'
f3treeexpview'
,
parameterName
:
'f3treeexp
view'
},
{
pathName
:
'
sf5editview'
,
parameterName
:
'sf5edit
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -881,18 +884,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
*
单选导航
*
动态节点实体
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAuto
384
(
item
:
any
=
{})
{
public
clickAuto
96
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizsample0003s'
,
parameterName
:
'ibizsample0003'
},
{
pathName
:
'
sf5editview'
,
parameterName
:
'sf5edit
view'
},
{
pathName
:
'
f3treeexpview'
,
parameterName
:
'f3treeexp
view'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
...
...
@@ -1915,6 +1918,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 功能名称
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc10
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr5gridview'
,
parameterName
:
'usr5gridview'
},
];
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
浏览文件 @
16e50dda
...
...
@@ -606,6 +606,25 @@ export default class MainMenuModel {
appfunctag
:
'AppFunc9'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem81'
,
},
{
id
:
'AF5B1ABC-4278-4977-9CF1-AB37B4AC1022'
,
name
:
'menuitem82'
,
text
:
'远程聚合'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'远程聚合'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc10'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem82'
,
},
],
},
...
...
app_Web/src/widgets/ibizbook/main5-grid/main5-grid-base.vue
0 → 100644
浏览文件 @
16e50dda
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/main5-grid/main5-grid-model.ts
0 → 100644
浏览文件 @
16e50dda
/**
* Main5 部件模型
*
* @export
* @class Main5Model
*/
export
default
class
Main5Model
{
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof Main5GridMode
*/
public
isDEExport
:
boolean
=
false
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Main5GridMode
*/
public
getDataItems
():
any
[]
{
if
(
this
.
isDEExport
){
return
[
]
}
else
{
return
[
{
name
:
'author'
,
prop
:
'author'
,
dataType
:
'TEXT'
,
},
{
name
:
'press'
,
prop
:
'press'
,
dataType
:
'TEXT'
,
},
{
name
:
'ibizbookname'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
},
{
name
:
'price'
,
prop
:
'price'
,
dataType
:
'CURRENCY'
,
},
{
name
:
'ibizbookid'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'type'
,
prop
:
'type'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfmajortext'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfdataaccaction'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfkey'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
isEditable
:
true
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
},
{
name
:
'size'
,
prop
:
'size'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'query'
,
prop
:
'query'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'filter'
,
prop
:
'filter'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'page'
,
prop
:
'page'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'sort'
,
prop
:
'sort'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'srfparentdata'
,
prop
:
'srfparentdata'
,
dataType
:
'QUERYPARAM'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/main5-grid/main5-grid-service.ts
0 → 100644
浏览文件 @
16e50dda
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/main5-grid/main5-grid.less
0 → 100644
浏览文件 @
16e50dda
.grid {
flex-grow: 1;
height: 100%;
overflow: auto;
.el-table__body-wrapper::-webkit-scrollbar {
/*滚动条整体样式*/
width : 10px !important; /*高宽分别对应横竖滚动条的尺寸*/
height: 10px !important;
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
/*滚动条颜色*/
border-radius : 10px !important;
background-color: #cecece !important;
}
.el-table__body-wrapper::-webkit-scrollbar-track {
/*滚动条里面轨道*/
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
background : #ededed !important;
border-radius: 10px !important;
}
/*表格文字过长省略*/
.el-table th>.cell, .el-table td>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
.el-table {
height: 100%;
display:flex;
flex-direction: column;
justify-content: flex-start;
.el-table__row{
.grid-uiaction-divider {
padding:0 10px 0 10px;
border-left: 1px #b3b3b3 solid;
}
.grid-first-uiaction {
padding:0 10px 0 10px;
}
}
.quick-toolbar{
display: inline-block;
button{
background: #ebf3fb;
color: #2575ca;
border: 0;
}
}
.el-tooltip{
.ivu-form-item{
margin-bottom: unset !important;
}
}
.el-table__body .edit-cell{
padding:0;
.app-form-item{
margin-top: 20px;
margin-bottom: 20px;
}
}
.el-table__header-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
.el-table__footer-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
}
.grid-pagination {
height: 50px;
padding: 6px 0px;
.page-button {
button {
padding: 0;
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
}
}
.page-column {
position: absolute;
left: 0;
}
.batch-toolbar{
position: absolute;
left: 105px;
>.toolbar-container{
button {
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
margin-top: 0;
margin-bottom: 0;
}
}
}
}
}
.ivu-modal-content{
.footer{
.ivu-row{
text-align: right;
}
}
}
.cell-indeterminate {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:before {
content: "";
position: absolute;
display: block;
background-color: #fff;
height: 2px;
transform: scale(.5);
left: 0;
right: 0;
top: 5px;
}
}
>span.is-checked {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
border: 0px;
}
}
}
}
.cell-select-all {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
box-sizing: content-box;
content: "";
border: 1px solid #fff;
border-left: 0;
border-top: 0;
height: 7px;
left: 4px;
position: absolute;
top: 1px;
transform: rotate(45deg) scaleY(1);
width: 3px;
transition: transform .15s ease-in .05s;
transform-origin: center;
}
}
}
}
// this is less
app_Web/src/widgets/ibizbook/main5-grid/main5-grid.vue
0 → 100644
浏览文件 @
16e50dda
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Main5Base
from
'./main5-grid-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Main5
extends
Main5Base
{
}
</
script
>
\ No newline at end of file
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
16e50dda
...
...
@@ -302,7 +302,7 @@
{
"appid"
:
"Web"
,
"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"
:
"menuitem47"
,
"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"
:
"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"
:
"menuitem78"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem80"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem81"
,
"name"
:
"当前页聚合"
}]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
}]},{
"id"
:
"menuitem37"
,
"name"
:
"图表"
,
"items"
:[{
"id"
:
"menuitem38"
,
"name"
:
"柱状图"
},{
"id"
:
"menuitem39"
,
"name"
:
"折线图"
},{
"id"
:
"menuitem40"
,
"name"
:
"饼图"
},{
"id"
:
"menuitem41"
,
"name"
:
"区域图"
},{
"id"
:
"menuitem42"
,
"name"
:
"雷达图"
},{
"id"
:
"menuitem43"
,
"name"
:
"仪表盘"
},{
"id"
:
"menuitem44"
,
"name"
:
"K线图"
}]},{
"id"
:
"menuitem17"
,
"name"
:
"向导"
},{
"id"
:
"menuitem18"
,
"name"
:
"界面行为"
,
"items"
:[{
"id"
:
"menuitem65"
,
"name"
:
"前端界面行为"
},{
"id"
:
"menuitem66"
,
"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"
:
"menuitem79"
,
"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"
:
"多表单"
}]}]
}]
"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"
:
"menuitem47"
,
"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"
:
"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"
:
"menuitem78"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem80"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem81"
,
"name"
:
"当前页聚合"
}
,{
"id"
:
"menuitem82"
,
"name"
:
"远程聚合"
}
]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
}]},{
"id"
:
"menuitem37"
,
"name"
:
"图表"
,
"items"
:[{
"id"
:
"menuitem38"
,
"name"
:
"柱状图"
},{
"id"
:
"menuitem39"
,
"name"
:
"折线图"
},{
"id"
:
"menuitem40"
,
"name"
:
"饼图"
},{
"id"
:
"menuitem41"
,
"name"
:
"区域图"
},{
"id"
:
"menuitem42"
,
"name"
:
"雷达图"
},{
"id"
:
"menuitem43"
,
"name"
:
"仪表盘"
},{
"id"
:
"menuitem44"
,
"name"
:
"K线图"
}]},{
"id"
:
"menuitem17"
,
"name"
:
"向导"
},{
"id"
:
"menuitem18"
,
"name"
:
"界面行为"
,
"items"
:[{
"id"
:
"menuitem65"
,
"name"
:
"前端界面行为"
},{
"id"
:
"menuitem66"
,
"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"
:
"menuitem79"
,
"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"
:
"多表单"
}]}]
}]
}
]
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录