Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
ce5698e0
提交
ce5698e0
编写于
12月 01, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
28008ac8
变更
18
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
937 行增加
和
19 行删除
+937
-19
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
en-US.ts
app_Web/src/locale/lang/en-US.ts
+2
-0
zh-CN.ts
app_Web/src/locale/lang/zh-CN.ts
+2
-0
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+4
-0
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+4
-0
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+38
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizbookoption-view-base.vue
...s/sample/ibizbookoption-view/ibizbookoption-view-base.vue
+704
-0
ibizbookoption-view.less
...pages/sample/ibizbookoption-view/ibizbookoption-view.less
+21
-0
ibizbookoption-view.vue
.../pages/sample/ibizbookoption-view/ibizbookoption-view.vue
+22
-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
+39
-12
state.ts
app_Web/src/store/modules/view-action/state.ts
+10
-0
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
+26
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+40
-0
main-form-base.vue
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
+5
-5
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
ce5698e0
...
...
@@ -1327,6 +1327,14 @@
"viewname"
:
"IBIZHardwareIndexPickupDataView"
,
"viewtag"
:
"ef58fa6d7d250a60a7907ed895681ea1"
},
"ibizbookoptionview"
:
{
"title"
:
"图书选项操作视图"
,
"caption"
:
"图书"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKOptionView"
,
"viewtag"
:
"efbe72fe207c5bb7ada28b278a9ea920"
},
"ibizbookcalendarview"
:
{
"title"
:
"图书日历视图(内置功能)"
,
"caption"
:
"图书"
,
...
...
app_Web/src/locale/lang/en-US.ts
浏览文件 @
ce5698e0
...
...
@@ -249,6 +249,8 @@ export default {
menuitem126
:
"实体数据看板"
,
menuitem127
:
"导航视图"
,
menuitem128
:
"表格导航"
,
menuitem129
:
"选项操作"
,
menuitem130
:
"选项操作视图"
,
menuitem5
:
"视图"
,
menuitem9
:
"列表视图"
,
menuitem19
:
"常规表格视图"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
ce5698e0
...
...
@@ -249,6 +249,8 @@ export default {
menuitem126
:
"实体数据看板"
,
menuitem127
:
"导航视图"
,
menuitem128
:
"表格导航"
,
menuitem129
:
"选项操作"
,
menuitem130
:
"选项操作视图"
,
menuitem5
:
"视图"
,
menuitem9
:
"列表视图"
,
menuitem19
:
"常规表格视图"
,
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
ce5698e0
...
...
@@ -150,6 +150,10 @@ export default {
caption
:
"图书"
,
title
:
"图书列表视图(代码表分组)"
,
},
optionview
:
{
caption
:
"图书"
,
title
:
"图书选项操作视图"
,
},
calendarview
:
{
caption
:
"图书"
,
title
:
"图书日历视图(内置功能)"
,
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
ce5698e0
...
...
@@ -149,6 +149,10 @@ export default {
caption
:
"图书"
,
title
:
"图书列表视图(代码表分组)"
,
},
optionview
:
{
caption
:
"图书"
,
title
:
"图书选项操作视图"
,
},
calendarview
:
{
caption
:
"图书"
,
title
:
"图书日历视图(内置功能)"
,
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
ce5698e0
...
...
@@ -1589,6 +1589,44 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag
:
''
,
},
],
},
{
id
:
'BA9F0638-3206-4C76-A532-5C439906AB10'
,
name
:
'menuitem129'
,
text
:
'选项操作'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'选项操作'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
items
:
[
{
id
:
'7A527C69-A66B-4604-99AE-5640F95ED49F'
,
name
:
'menuitem130'
,
text
:
'选项操作视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'选项操作视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc47'
,
resourcetag
:
''
,
},
],
},
],
},
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
ce5698e0
...
...
@@ -1335,6 +1335,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZHardwareIndexPickupDataView"
,
"viewtag"
:
"ef58fa6d7d250a60a7907ed895681ea1"
},
"ibizbookoptionview"
:
{
"title"
:
"图书选项操作视图"
,
"caption"
:
"图书"
,
"viewtype"
:
"DEOPTVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKOptionView"
,
"viewtag"
:
"efbe72fe207c5bb7ada28b278a9ea920"
},
"ibizbookcalendarview"
:
{
"title"
:
"图书日历视图(内置功能)"
,
"caption"
:
"图书"
,
...
...
app_Web/src/pages/sample/ibizbookoption-view/ibizbookoption-view-base.vue
0 → 100644
浏览文件 @
ce5698e0
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookoption-view/ibizbookoption-view.less
0 → 100644
浏览文件 @
ce5698e0
.ibizbookoption-view{
position: relative;
}
.app-modal{
.view-container {
.view-card {
.ivu-card-body {
.content-container{
height: calc(100% - 64px);
.ivu-badge{
.ivu-badge-count{
top: -5px;
}
}
}
}
}
}
}
\ No newline at end of file
app_Web/src/pages/sample/ibizbookoption-view/ibizbookoption-view.vue
0 → 100644
浏览文件 @
ce5698e0
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKOptionViewBase
from
'./ibizbookoption-view-base.vue'
;
import
view_form
from
'@widgets/ibizbook/main-form/main-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
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
IBIZBOOKOptionView
extends
IBIZBOOKOptionViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
ce5698e0
...
...
@@ -15,6 +15,7 @@ export const PageComponents = {
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
(
'ibizbookoption-view'
,
()
=>
import
(
'@pages/sample/ibizbookoption-view/ibizbookoption-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'
));
Vue
.
component
(
'ibizbooknew-default-value-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbooknew-default-value-grid-view/ibizbooknew-default-value-grid-view.vue'
));
...
...
@@ -76,8 +77,8 @@ export const PageComponents = {
Vue
.
component
(
'ibizuniproduct-edit-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'
));
Vue
.
component
(
'ibizbookusr2-calendar-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-calendar-view/ibizbookusr2-calendar-view.vue'
));
Vue
.
component
(
'ibizbookdata-view'
,
()
=>
import
(
'@pages/sample/ibizbookdata-view/ibizbookdata-view.vue'
));
Vue
.
component
(
'ibizsample0001-usr2-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-usr2-grid-view/ibizsample0001-usr2-grid-view.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'
));
Vue
.
component
(
'ibizsample0001-usr2-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0001-usr2-grid-view/ibizsample0001-usr2-grid-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
(
'ibizbookinter-func-edit-view'
,
()
=>
import
(
'@pages/sample/ibizbookinter-func-edit-view/ibizbookinter-func-edit-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
ce5698e0
...
...
@@ -290,6 +290,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-grid-view/ibizbookusr2-grid-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/optionview/:optionview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.optionview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'optionview'
,
parameterName
:
'optionview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookoption-view/ibizbookoption-view.vue'
),
},
{
path
:
'ibizsample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/sf2editview/:sf2editview?'
,
meta
:
{
...
...
@@ -1175,27 +1189,27 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizbookdata-view/ibizbookdata-view.vue'
),
},
{
path
:
'ibiz
sample0002s/:ibizsample0002?/ibizsample0001s/:ibizsample0001?/usr2gridview/:usr2grid
view?'
,
path
:
'ibiz
customers/:ibizcustomer?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.ibiz
sample0001.views.usr2grid
view.caption'
,
caption
:
'entities.ibiz
customer.views.pickup
view.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizsample0002s'
,
parameterName
:
'ibizsample0002'
},
{
pathName
:
'ibizsample0001s'
,
parameterName
:
'ibizsample0001'
},
{
pathName
:
'usr2gridview'
,
parameterName
:
'usr2gridview'
},
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'pickupview'
,
parameterName
:
'pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0001-usr2-grid-view/ibizsample0001-usr2-grid
-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
customer-pickup-view/ibizcustomer-pickup
-view.vue'
),
},
{
path
:
'ibizsample0001s/:ibizsample0001?/usr2gridview/:usr2gridview?'
,
path
:
'ibizsample000
2s/:ibizsample0002?/ibizsample000
1s/:ibizsample0001?/usr2gridview/:usr2gridview?'
,
meta
:
{
caption
:
'entities.ibizsample0001.views.usr2gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizsample0002s'
,
parameterName
:
'ibizsample0002'
},
{
pathName
:
'ibizsample0001s'
,
parameterName
:
'ibizsample0001'
},
{
pathName
:
'usr2gridview'
,
parameterName
:
'usr2gridview'
},
],
...
...
@@ -1204,18 +1218,18 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizsample0001-usr2-grid-view/ibizsample0001-usr2-grid-view.vue'
),
},
{
path
:
'ibiz
customers/:ibizcustomer?/pickupview/:pickup
view?'
,
path
:
'ibiz
sample0001s/:ibizsample0001?/usr2gridview/:usr2grid
view?'
,
meta
:
{
caption
:
'entities.ibiz
customer.views.pickup
view.caption'
,
caption
:
'entities.ibiz
sample0001.views.usr2grid
view.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
customers'
,
parameterName
:
'ibizcustomer
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
{
pathName
:
'ibiz
sample0001s'
,
parameterName
:
'ibizsample0001
'
},
{
pathName
:
'
usr2gridview'
,
parameterName
:
'usr2grid
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
customer-pickup-view/ibizcustomer-pickup
-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
sample0001-usr2-grid-view/ibizsample0001-usr2-grid
-view.vue'
),
},
{
path
:
'ibizuniproducts/:ibizuniproduct?/indexpickupview/:indexpickupview?'
,
...
...
@@ -4350,6 +4364,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/optionview/:optionview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.optionview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'optionview'
,
parameterName
:
'optionview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookoption-view/ibizbookoption-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/calendarview/:calendarview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
ce5698e0
...
...
@@ -202,6 +202,7 @@ export const viewstate: any = {
'ac9add3724d90fba46e7298ac051fa5f'
,
'39e841c85d9bbfc7ecf009c4202dbf0c'
,
'703686dd4e6aa6f55aca5d92c00d9ee3'
,
'efbe72fe207c5bb7ada28b278a9ea920'
,
'2bf74d5d66fa6d8d38b21b090586529b'
,
'16b68282950fb352dfe27e94bda47304'
,
'8d1205a914564cbd528cadc3963c2905'
,
...
...
@@ -1586,6 +1587,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'efbe72fe207c5bb7ada28b278a9ea920'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKOptionView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'f4c5c766fd5755b694e0401dddc4d1ad'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
浏览文件 @
ce5698e0
...
...
@@ -129,6 +129,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'ganttview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookgantt-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2dataview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-data-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'groupbycodelistlistview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookgroup-by-codelist-list-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'optionview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookoption-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'calendarview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookcalendar-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview4'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookedit-view4'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'internalfuncgridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookinternal-func-grid-view'
});
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
ce5698e0
...
...
@@ -686,6 +686,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc3'
:
this
.
clickAppFunc3
(
item
);
return
;
case
'AppFunc47'
:
this
.
clickAppFunc47
(
item
);
return
;
case
'Auto235'
:
this
.
clickAuto235
(
item
);
return
;
...
...
@@ -2112,6 +2115,29 @@ 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'
},
{
pathName
:
'optionview'
,
parameterName
:
'optionview'
},
];
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
浏览文件 @
ce5698e0
...
...
@@ -1679,6 +1679,46 @@ export default class MainMenuModel {
authtag
:
'Web-MainMenu-menuitem128'
,
},
],
},
{
id
:
'BA9F0638-3206-4C76-A532-5C439906AB10'
,
name
:
'menuitem129'
,
text
:
'选项操作'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'选项操作'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem129'
,
items
:
[
{
id
:
'7A527C69-A66B-4604-99AE-5640F95ED49F'
,
name
:
'menuitem130'
,
text
:
'选项操作视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'选项操作视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc47'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem130'
,
},
],
},
],
},
...
...
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
浏览文件 @
ce5698e0
...
...
@@ -1672,7 +1672,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Option
View'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1707,7 +1707,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Option
View'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1769,7 +1769,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Option
View'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1877,7 +1877,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Option
View'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1954,7 +1954,7 @@ export default class MainBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Edit
View'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Option
View'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
ce5698e0
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录