Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
72fb0b77
提交
72fb0b77
编写于
11月 19, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
88237a6d
变更
21
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
21 个修改的文件
包含
4246 行增加
和
22 行删除
+4246
-22
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
+5
-5
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+5
-5
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+18
-0
ibizbooknew-default-value-grid-view-base.vue
...ue-grid-view/ibizbooknew-default-value-grid-view-base.vue
+1
-0
ibizbookupdate-default-grid-view-base.vue
...fault-grid-view/ibizbookupdate-default-grid-view-base.vue
+984
-0
ibizbookupdate-default-grid-view.less
...e-default-grid-view/ibizbookupdate-default-grid-view.less
+19
-0
ibizbookupdate-default-grid-view.vue
...te-default-grid-view/ibizbookupdate-default-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
+11
-0
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+26
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+19
-0
new-default-grid-base.vue
...dgets/ibizbook/new-default-grid/new-default-grid-base.vue
+9
-0
update-default-grid-base.vue
...ibizbook/update-default-grid/update-default-grid-base.vue
+2268
-0
update-default-grid-model.ts
...ibizbook/update-default-grid/update-default-grid-model.ts
+131
-0
update-default-grid-service.ts
...izbook/update-default-grid/update-default-grid-service.ts
+494
-0
update-default-grid.less
...ets/ibizbook/update-default-grid/update-default-grid.less
+176
-0
update-default-grid.vue
...gets/ibizbook/update-default-grid/update-default-grid.vue
+14
-0
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/src/locale/lang/en-US.ts
浏览文件 @
72fb0b77
...
...
@@ -189,6 +189,7 @@ export default {
menuitem73
:
"表格内置功能"
,
menuitem74
:
"行编辑"
,
menuitem75
:
"新建默认值"
,
menuitem76
:
"更新默认值"
,
menuitem14
:
"树视图"
,
menuitem60
:
"静态节点"
,
menuitem61
:
"动态节点(代码表)"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
72fb0b77
...
...
@@ -189,6 +189,7 @@ export default {
menuitem73
:
"表格内置功能"
,
menuitem74
:
"行编辑"
,
menuitem75
:
"新建默认值"
,
menuitem76
:
"更新默认值"
,
menuitem14
:
"树视图"
,
menuitem60
:
"静态节点"
,
menuitem61
:
"动态节点(代码表)"
,
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
72fb0b77
...
...
@@ -83,26 +83,26 @@ export default {
uiactions
:
{
},
},
internalfunc
_grid
:
{
updatedefault
_grid
:
{
columns
:
{
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
type
:
"图书类型"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
updatedefault
_grid
:
{
internalfunc
_grid
:
{
columns
:
{
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
type
:
"图书类型"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
...
...
@@ -249,6 +249,8 @@ export default {
tip
:
"数据导入"
,
},
},
updatedefaultgridviewtoolbar_toolbar
:
{
},
internalfuncgridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
...
...
@@ -299,6 +301,4 @@ export default {
tip
:
"数据导入"
,
},
},
updatedefaultgridviewtoolbar_toolbar
:
{
},
};
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
72fb0b77
...
...
@@ -82,26 +82,26 @@ export default {
uiactions
:
{
},
},
internalfunc
_grid
:
{
updatedefault
_grid
:
{
columns
:
{
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
type
:
"图书类型"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
updatedefault
_grid
:
{
internalfunc
_grid
:
{
columns
:
{
ibizbookname
:
"图书名称"
,
author
:
"图书作者"
,
type
:
"图书类型"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
...
...
@@ -248,6 +248,8 @@ export default {
tip
:
"数据导入"
,
},
},
updatedefaultgridviewtoolbar_toolbar
:
{
},
internalfuncgridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"新建"
,
...
...
@@ -298,6 +300,4 @@ export default {
tip
:
"数据导入"
,
},
},
updatedefaultgridviewtoolbar_toolbar
:
{
},
};
\ No newline at end of file
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
72fb0b77
...
...
@@ -481,6 +481,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'AppFunc4'
,
resourcetag
:
''
,
},
{
id
:
'E25B1356-D910-4E5E-A3AC-505517F1DD30'
,
name
:
'menuitem76'
,
text
:
'更新默认值'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'更新默认值'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc5'
,
resourcetag
:
''
,
},
],
},
...
...
app_Web/src/pages/sample/ibizbooknew-default-value-grid-view/ibizbooknew-default-value-grid-view-base.vue
浏览文件 @
72fb0b77
...
...
@@ -240,6 +240,7 @@ export default class IBIZBOOKNewDefaultValueGridViewBase extends Vue {
* @memberof IBIZBOOKNewDefaultValueGridViewBase
*/
public
customViewNavContexts
:
any
=
{
"BOOKTYPE"
:{
"isRawValue"
:
true
,
"value"
:
"新建默认值:上下文"
}
};
/**
...
...
app_Web/src/pages/sample/ibizbookupdate-default-grid-view/ibizbookupdate-default-grid-view-base.vue
0 → 100644
浏览文件 @
72fb0b77
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookupdate-default-grid-view/ibizbookupdate-default-grid-view.less
0 → 100644
浏览文件 @
72fb0b77
.ibizbookupdate-default-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/ibizbookupdate-default-grid-view/ibizbookupdate-default-grid-view.vue
0 → 100644
浏览文件 @
72fb0b77
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKUpdateDefaultGridViewBase
from
'./ibizbookupdate-default-grid-view-base.vue'
;
import
view_grid
from
'@widgets/ibizbook/update-default-grid/update-default-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
IBIZBOOKUpdateDefaultGridView
extends
IBIZBOOKUpdateDefaultGridViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
72fb0b77
...
...
@@ -9,8 +9,8 @@ export const PageComponents = {
Vue
.
component
(
'ibizuniproduct-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-view/ibizuniproduct-pickup-view.vue'
));
Vue
.
component
(
'ibizsample0001-sf4-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-sf4-edit-view/ibizsample0001-sf4-edit-view.vue'
));
Vue
.
component
(
'ibizsoftware-suit-sgrid-view'
,
()
=>
import
(
'@pages/sample/ibizsoftware-suit-sgrid-view/ibizsoftware-suit-sgrid-view.vue'
));
Vue
.
component
(
'ibizsample0003-stree-exp-view2'
,
()
=>
import
(
'@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.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
(
'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'
));
Vue
.
component
(
'ibizbooknew-default-value-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbooknew-default-value-grid-view/ibizbooknew-default-value-grid-view.vue'
));
...
...
@@ -109,6 +109,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizbookedit-view'
,
()
=>
import
(
'@pages/sample/ibizbookedit-view/ibizbookedit-view.vue'
));
Vue
.
component
(
'ibizsample0001-sf5-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-sf5-edit-view/ibizsample0001-sf5-edit-view.vue'
));
Vue
.
component
(
'ibizorder-radar-chart-view'
,
()
=>
import
(
'@pages/sample/ibizorder-radar-chart-view/ibizorder-radar-chart-view.vue'
));
Vue
.
component
(
'ibizbookupdate-default-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookupdate-default-grid-view/ibizbookupdate-default-grid-view.vue'
));
Vue
.
component
(
'ibizsample0003-stab-exp-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'
));
Vue
.
component
(
'ibizsample0017-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0017-pickup-grid-view/ibizsample0017-pickup-grid-view.vue'
));
Vue
.
component
(
'ibizsample0013-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0013-pickup-grid-view/ibizsample0013-pickup-grid-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
72fb0b77
...
...
@@ -192,32 +192,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizsoftware-suit-sgrid-view/ibizsoftware-suit-sgrid-view.vue'
),
},
{
path
:
'ibiz
sample0003s/:ibizsample0003?/streeexpview2/:streeexpview2
?'
,
path
:
'ibiz
orders/:ibizorder?/barchartview/:barchartview
?'
,
meta
:
{
caption
:
'entities.ibiz
sample0003.views.streeexpview2
.caption'
,
caption
:
'entities.ibiz
order.views.barchartview
.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
sample0003s'
,
parameterName
:
'ibizsample0003
'
},
{
pathName
:
'
streeexpview2'
,
parameterName
:
'streeexpview2
'
},
{
pathName
:
'ibiz
orders'
,
parameterName
:
'ibizorder
'
},
{
pathName
:
'
barchartview'
,
parameterName
:
'barchartview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0003-stree-exp-view2/ibizsample0003-stree-exp-view2
.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
order-bar-chart-view/ibizorder-bar-chart-view
.vue'
),
},
{
path
:
'ibiz
orders/:ibizorder?/barchartview/:barchartview
?'
,
path
:
'ibiz
sample0003s/:ibizsample0003?/streeexpview2/:streeexpview2
?'
,
meta
:
{
caption
:
'entities.ibiz
order.views.barchartview
.caption'
,
caption
:
'entities.ibiz
sample0003.views.streeexpview2
.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
orders'
,
parameterName
:
'ibizorder
'
},
{
pathName
:
'
barchartview'
,
parameterName
:
'barchartview
'
},
{
pathName
:
'ibiz
sample0003s'
,
parameterName
:
'ibizsample0003
'
},
{
pathName
:
'
streeexpview2'
,
parameterName
:
'streeexpview2
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
order-bar-chart-view/ibizorder-bar-chart-view
.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0003-stree-exp-view2/ibizsample0003-stree-exp-view2
.vue'
),
},
{
path
:
'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/sf2editview/:sf2editview?'
,
...
...
@@ -1621,6 +1621,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-radar-chart-view/ibizorder-radar-chart-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/updatedefaultgridview/:updatedefaultgridview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.updatedefaultgridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'updatedefaultgridview'
,
parameterName
:
'updatedefaultgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookupdate-default-grid-view/ibizbookupdate-default-grid-view.vue'
),
},
{
path
:
'ibizsample0003s/:ibizsample0003?/stabexpview/:stabexpview?'
,
meta
:
{
...
...
@@ -3116,6 +3130,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizhardware-edit-view/ibizhardware-edit-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/updatedefaultgridview/:updatedefaultgridview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.updatedefaultgridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'updatedefaultgridview'
,
parameterName
:
'updatedefaultgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookupdate-default-grid-view/ibizbookupdate-default-grid-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/sf4editview/:sf4editview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
72fb0b77
...
...
@@ -208,6 +208,7 @@ export const viewstate: any = {
'b1256beac1e95915b675893c61559b59'
,
'09663b7a4e3dce70524d1b64e02b5e2d'
,
'491c2bc6eab0ad313d4b6f06f6a396f5'
,
'e53fed4d0b4dd614057f426b02115b41'
,
'836bdb4063978b55fedd6a180d60c323'
,
'e54ae8e27a53b3425ac78a229a163bd5'
,
'369a14f21cbff0d0fe23831aecfca7ba'
,
...
...
@@ -1109,6 +1110,16 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'e53fed4d0b4dd614057f426b02115b41'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKUpdateDefaultGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'b3429ecc4d89a02bc5f5279f1bd7f620'
,
],
},
{
viewtag
:
'e54ae8e27a53b3425ac78a229a163bd5'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
72fb0b77
...
...
@@ -602,6 +602,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto243'
:
this
.
clickAuto243
(
item
);
return
;
case
'AppFunc5'
:
this
.
clickAppFunc5
(
item
);
return
;
case
'Auto393'
:
this
.
clickAuto393
(
item
);
return
;
...
...
@@ -1348,6 +1351,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 图书表格视图-更新默认值
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc5
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'updatedefaultgridview'
,
parameterName
:
'updatedefaultgridview'
},
];
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
浏览文件 @
72fb0b77
...
...
@@ -511,6 +511,25 @@ export default class MainMenuModel {
appfunctag
:
'AppFunc4'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem75'
,
},
{
id
:
'E25B1356-D910-4E5E-A3AC-505517F1DD30'
,
name
:
'menuitem76'
,
text
:
'更新默认值'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'更新默认值'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc5'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem76'
,
},
],
},
...
...
app_Web/src/widgets/ibizbook/new-default-grid/new-default-grid-base.vue
浏览文件 @
72fb0b77
...
...
@@ -2163,12 +2163,21 @@ export default class NewDefaultBase extends Vue implements ControlInterface {
if
(
row
.
hasOwnProperty
(
'author'
))
{
row
[
'author'
]
=
this
.
context
[
'srfusername'
];
}
if
(
row
.
hasOwnProperty
(
'press'
))
{
row
[
'press'
]
=
this
.
context
[
'IBIZBOOKNAME'
];
}
if
(
row
.
hasOwnProperty
(
'ibizbookname'
))
{
row
[
'ibizbookname'
]
=
'新建默认值:图书'
;
}
if
(
row
.
hasOwnProperty
(
'price'
))
{
row
[
'price'
]
=
'133.3'
;
}
if
(
row
.
hasOwnProperty
(
'updatedate'
))
{
row
[
'updatedate'
]
=
this
.
$util
.
dateFormat
(
new
Date
());
}
if
(
row
.
hasOwnProperty
(
'type'
))
{
row
[
'type'
]
=
this
.
context
[
'booktype'
];
}
}
/**
...
...
app_Web/src/widgets/ibizbook/update-default-grid/update-default-grid-base.vue
0 → 100644
浏览文件 @
72fb0b77
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/update-default-grid/update-default-grid-model.ts
0 → 100644
浏览文件 @
72fb0b77
/**
* UpdateDefault 部件模型
*
* @export
* @class UpdateDefaultModel
*/
export
default
class
UpdateDefaultModel
{
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof UpdateDefaultGridMode
*/
public
isDEExport
:
boolean
=
false
;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof UpdateDefaultGridMode
*/
public
getDataItems
():
any
[]
{
if
(
this
.
isDEExport
){
return
[
]
}
else
{
return
[
{
name
:
'author'
,
prop
:
'author'
,
dataType
:
'TEXT'
,
isEditable
:
true
},
{
name
:
'press'
,
prop
:
'press'
,
dataType
:
'TEXT'
,
isEditable
:
true
},
{
name
:
'ibizbookname'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
isEditable
:
true
},
{
name
:
'price'
,
prop
:
'price'
,
dataType
:
'CURRENCY'
,
isEditable
:
true
},
{
name
:
'ibizbookid'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
isEditable
:
true
},
{
name
:
'type'
,
prop
:
'type'
,
dataType
:
'TEXT'
,
isEditable
:
true
},
{
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/update-default-grid/update-default-grid-service.ts
0 → 100644
浏览文件 @
72fb0b77
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/update-default-grid/update-default-grid.less
0 → 100644
浏览文件 @
72fb0b77
.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/update-default-grid/update-default-grid.vue
0 → 100644
浏览文件 @
72fb0b77
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
UpdateDefaultBase
from
'./update-default-grid-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
UpdateDefault
extends
UpdateDefaultBase
{
}
</
script
>
\ No newline at end of file
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
72fb0b77
...
...
@@ -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"
:
"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"
:
"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"
:
"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"
:
"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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录