Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
55f742df
提交
55f742df
编写于
11月 25, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
b7a0cc12
变更
17
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
1460 行增加
和
18 行删除
+1460
-18
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
-1
zh-CN.ts
app_Web/src/locale/lang/zh-CN.ts
+2
-1
ibizorder_en_US.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
+22
-0
ibizorder_zh_CN.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
+22
-0
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+20
-2
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizorder-zdytpgrid-view-base.vue
...bizorder-zdytpgrid-view/ibizorder-zdytpgrid-view-base.vue
+1170
-0
ibizorder-zdytpgrid-view.less
...le/ibizorder-zdytpgrid-view/ibizorder-zdytpgrid-view.less
+19
-0
ibizorder-zdytpgrid-view.vue
...ple/ibizorder-zdytpgrid-view/ibizorder-zdytpgrid-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
ibizorder-ui-service-base.ts
app_Web/src/uiservice/ibizorder/ibizorder-ui-service-base.ts
+65
-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
+21
-2
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
55f742df
...
...
@@ -999,6 +999,14 @@
"viewname"
:
"IBIZBOOKUsr3DataView"
,
"viewtag"
:
"e14e0fa8f3def77ebbcf18f1f39c0225"
},
"ibizorderzdytpgridview"
:
{
"title"
:
"订单表格视图"
,
"caption"
:
"订单"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderZDYTPGridView"
,
"viewtag"
:
"e2a1c9cb077cd2c74f2f2b914fb1db84"
},
"ibizhardwareeditview"
:
{
"title"
:
"硬件编辑视图"
,
"caption"
:
"硬件"
,
...
...
app_Web/src/locale/lang/en-US.ts
浏览文件 @
55f742df
...
...
@@ -261,7 +261,8 @@ export default {
menuitem70
:
"主状态"
,
menuitem71
:
"多表单"
,
menuitem92
:
"其他"
,
menuitem93
:
"示例数据补充"
,
menuitem93
:
"示例实体02示例数据补充"
,
menuitem100
:
"订单示例数据补充"
,
},
},
formpage
:{
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
55f742df
...
...
@@ -261,7 +261,8 @@ export default {
menuitem70
:
"主状态"
,
menuitem71
:
"多表单"
,
menuitem92
:
"其他"
,
menuitem93
:
"示例数据补充"
,
menuitem93
:
"示例实体02示例数据补充"
,
menuitem100
:
"订单示例数据补充"
,
},
},
formpage
:{
...
...
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
浏览文件 @
55f742df
...
...
@@ -181,6 +181,10 @@ export default {
caption
:
"订单"
,
title
:
"订单表格视图"
,
},
zdytpgridview
:
{
caption
:
"订单"
,
title
:
"订单表格视图"
,
},
sf4editview
:
{
caption
:
"订单"
,
title
:
"订单编辑视图"
,
...
...
@@ -1127,6 +1131,24 @@ export default {
tip
:
"Print"
,
},
},
zdytpgridviewtoolbar_toolbar
:
{
tbitem1_zdyupdate
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
tbitem16
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem21
:
{
caption
:
"Export Data Model"
,
tip
:
"导出数据模型"
,
},
tbitem23
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
},
sf5gridviewtoolbar_toolbar
:
{
tbitem1_fuiaction1
:
{
caption
:
"前台界面行为1"
,
...
...
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
浏览文件 @
55f742df
...
...
@@ -180,6 +180,10 @@ export default {
caption
:
"订单"
,
title
:
"订单表格视图"
,
},
zdytpgridview
:
{
caption
:
"订单"
,
title
:
"订单表格视图"
,
},
sf4editview
:
{
caption
:
"订单"
,
title
:
"订单编辑视图"
,
...
...
@@ -1126,6 +1130,24 @@ export default {
tip
:
"打印"
,
},
},
zdytpgridviewtoolbar_toolbar
:
{
tbitem1_zdyupdate
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
tbitem16
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem21
:
{
caption
:
"导出数据模型"
,
tip
:
"导出数据模型"
,
},
tbitem23
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
},
sf5gridviewtoolbar_toolbar
:
{
tbitem1_fuiaction1
:
{
caption
:
"前台界面行为1"
,
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
55f742df
...
...
@@ -1811,10 +1811,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{
id
:
'554FF23C-C75D-427B-A8EE-C6878399EDA6'
,
name
:
'menuitem93'
,
text
:
'示例数据补充'
,
text
:
'示例
实体02示例
数据补充'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'示例数据补充'
,
tooltip
:
'示例
实体02示例
数据补充'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
...
...
@@ -1825,6 +1825,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'AppFunc18'
,
resourcetag
:
''
,
},
{
id
:
'0EDDC3DA-9E67-4279-9E6D-0723F46801FB'
,
name
:
'menuitem100'
,
text
:
'订单示例数据补充'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'订单示例数据补充'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc24'
,
resourcetag
:
''
,
},
],
},
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
55f742df
...
...
@@ -1007,6 +1007,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZBOOKUsr3DataView"
,
"viewtag"
:
"e14e0fa8f3def77ebbcf18f1f39c0225"
},
"ibizorderzdytpgridview"
:
{
"title"
:
"订单表格视图"
,
"caption"
:
"订单"
,
"viewtype"
:
"DEGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZOrderZDYTPGridView"
,
"viewtag"
:
"e2a1c9cb077cd2c74f2f2b914fb1db84"
},
"ibizhardwareeditview"
:
{
"title"
:
"硬件编辑视图"
,
"caption"
:
"硬件"
,
...
...
app_Web/src/pages/sample/ibizorder-zdytpgrid-view/ibizorder-zdytpgrid-view-base.vue
0 → 100644
浏览文件 @
55f742df
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizorder-zdytpgrid-view/ibizorder-zdytpgrid-view.less
0 → 100644
浏览文件 @
55f742df
.ibizorder-zdytpgrid-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/ibizorder-zdytpgrid-view/ibizorder-zdytpgrid-view.vue
0 → 100644
浏览文件 @
55f742df
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZOrderZDYTPGridViewBase
from
'./ibizorder-zdytpgrid-view-base.vue'
;
import
view_grid
from
'@widgets/ibizorder/main-grid/main-grid.vue'
;
import
view_searchform
from
'@widgets/ibizorder/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
IBIZOrderZDYTPGridView
extends
IBIZOrderZDYTPGridViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
55f742df
...
...
@@ -55,6 +55,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-detail-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-grid-view/ibizorder-detail-grid-view.vue'
));
Vue
.
component
(
'ibizorder-sf2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf2-edit-view/ibizorder-sf2-edit-view.vue'
));
Vue
.
component
(
'ibizorder-s2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-s2-edit-view/ibizorder-s2-edit-view.vue'
));
Vue
.
component
(
'ibizorder-zdytpgrid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-zdytpgrid-view/ibizorder-zdytpgrid-view.vue'
));
Vue
.
component
(
'ibizorder-usr2-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-usr2-edit-view/ibizorder-usr2-edit-view.vue'
));
Vue
.
component
(
'ibizorder-sf4-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf4-edit-view/ibizorder-sf4-edit-view.vue'
));
Vue
.
component
(
'ibizorder-sf1-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf1-edit-view/ibizorder-sf1-edit-view.vue'
));
...
...
@@ -99,8 +100,8 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0002-grid-view'
,
()
=>
import
(
'@pages/sample/ibizsample0002-grid-view/ibizsample0002-grid-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
(
'ibizorder-sf3-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf3-edit-view/ibizorder-sf3-edit-view.vue'
));
Vue
.
component
(
'ibizhardware-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizhardware-grid-view9/ibizhardware-grid-view9.vue'
));
Vue
.
component
(
'ibizorder-sf3-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-sf3-edit-view/ibizorder-sf3-edit-view.vue'
));
Vue
.
component
(
'ibizorder-f13-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-f13-edit-view/ibizorder-f13-edit-view.vue'
));
Vue
.
component
(
'ibizorder-detail-f6-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-f6-edit-view/ibizorder-detail-f6-edit-view.vue'
));
Vue
.
component
(
'ibizbookusr4-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr4-grid-view/ibizbookusr4-grid-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
55f742df
...
...
@@ -850,6 +850,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-s2-edit-view/ibizorder-s2-edit-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/zdytpgridview/:zdytpgridview?'
,
meta
:
{
caption
:
'entities.ibizorder.views.zdytpgridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'zdytpgridview'
,
parameterName
:
'zdytpgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-zdytpgrid-view/ibizorder-zdytpgrid-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/usr2editview/:usr2editview?'
,
meta
:
{
...
...
@@ -1467,32 +1481,32 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'
),
},
{
path
:
'ibiz
orders/:ibizorder?/sf3editview/:sf3editview
?'
,
path
:
'ibiz
hardwares/:ibizhardware?/gridview9/:gridview9
?'
,
meta
:
{
caption
:
'entities.ibiz
order.views.sf3editview
.caption'
,
caption
:
'entities.ibiz
hardware.views.gridview9
.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
orders'
,
parameterName
:
'ibizorder
'
},
{
pathName
:
'
sf3editview'
,
parameterName
:
'sf3editview
'
},
{
pathName
:
'ibiz
hardwares'
,
parameterName
:
'ibizhardware
'
},
{
pathName
:
'
gridview9'
,
parameterName
:
'gridview9
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
order-sf3-edit-view/ibizorder-sf3-edit-view
.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
hardware-grid-view9/ibizhardware-grid-view9
.vue'
),
},
{
path
:
'ibiz
hardwares/:ibizhardware?/gridview9/:gridview9
?'
,
path
:
'ibiz
orders/:ibizorder?/sf3editview/:sf3editview
?'
,
meta
:
{
caption
:
'entities.ibiz
hardware.views.gridview9
.caption'
,
caption
:
'entities.ibiz
order.views.sf3editview
.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
hardwares'
,
parameterName
:
'ibizhardware
'
},
{
pathName
:
'
gridview9'
,
parameterName
:
'gridview9
'
},
{
pathName
:
'ibiz
orders'
,
parameterName
:
'ibizorder
'
},
{
pathName
:
'
sf3editview'
,
parameterName
:
'sf3editview
'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
hardware-grid-view9/ibizhardware-grid-view9
.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
order-sf3-edit-view/ibizorder-sf3-edit-view
.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/f13editview/:f13editview?'
,
...
...
@@ -3483,6 +3497,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr3-data-view/ibizbookusr3-data-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/zdytpgridview/:zdytpgridview?'
,
meta
:
{
caption
:
'entities.ibizorder.views.zdytpgridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'zdytpgridview'
,
parameterName
:
'zdytpgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-zdytpgrid-view/ibizorder-zdytpgrid-view.vue'
),
},
{
path
:
'/ibizhardwares/:ibizhardware?/editview/:editview?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
55f742df
...
...
@@ -211,6 +211,7 @@ export const viewstate: any = {
'b8ae19200ec9d4e8e588bc31e3f9bcb4'
,
'09663b7a4e3dce70524d1b64e02b5e2d'
,
'edca8ee67304eb78c02bbfb9e4cb11bb'
,
'e2a1c9cb077cd2c74f2f2b914fb1db84'
,
'd3321077dfab8bc6b92c649e5b69daf3'
,
'491c2bc6eab0ad313d4b6f06f6a396f5'
,
'e53fed4d0b4dd614057f426b02115b41'
,
...
...
@@ -1237,6 +1238,16 @@ export const viewstate: any = {
'b3429ecc4d89a02bc5f5279f1bd7f620'
,
],
},
{
viewtag
:
'e2a1c9cb077cd2c74f2f2b914fb1db84'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZOrderZDYTPGridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'f4cda6703c800c075704c5af5e58f2fc'
,
],
},
{
viewtag
:
'e30db3af513fb7b7bf44a8744ed5f7a4'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizorder/ibizorder-ui-service-base.ts
浏览文件 @
55f742df
...
...
@@ -135,6 +135,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sf4gridview'
,
srfappde
:
'ibizorders'
,
component
:
'ibizorder-sf4-grid-view'
});
this
.
allViewMap
.
set
(
'WFMDATAVIEW:ODSP:D:40'
,{
viewname
:
'odsp_d40_wfgridview'
,
srfappde
:
'ibizorders'
,
component
:
'ibizorder-odsp-d40-wfgrid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sf3gridview'
,
srfappde
:
'ibizorders'
,
component
:
'ibizorder-sf3-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'zdytpgridview'
,
srfappde
:
'ibizorders'
,
component
:
'ibizorder-zdytpgrid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sf4editview'
,
srfappde
:
'ibizorders'
,
component
:
'ibizorder-sf4-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'sgridview2'
,
srfappde
:
'ibizorders'
,
component
:
'ibizorder-sgrid-view2'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview'
,
srfappde
:
'ibizorders'
,
component
:
'ibizorder-edit-view'
});
...
...
@@ -306,6 +307,70 @@ export default class IBIZOrderUIServiceBase extends UIService {
backend
();
}
/**
* 删除
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
IBIZOrder_ZDYUpdate
(
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
,
{
ibizorder
:
'%ibizorder%'
});
Object
.
assign
(
params
,
{
ibizorderid
:
'%ibizorder%'
});
Object
.
assign
(
params
,
{
ibizordername
:
'%ibizordername%'
});
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
);
// 直接调实体服务需要转换的数据
if
(
context
&&
context
.
srfsessionid
){
context
.
srfsessionkey
=
context
.
srfsessionid
;
delete
context
.
srfsessionid
;
}
const
backend
=
()
=>
{
const
curService
:
IBIZOrderService
=
new
IBIZOrderService
();
curService
.
Remove
(
context
,
data
,
true
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
response
.
message
});
return
;
}
actionContext
.
$Notice
.
success
({
title
:
'成功'
,
desc
:
'删除成功!'
});
const
_this
:
any
=
actionContext
;
return
response
;
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
&&
response
.
data
)
{
actionContext
.
$Notice
.
error
({
title
:
(
actionContext
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
.
message
});
return
;
}
if
(
!
response
||
!
response
.
status
||
!
response
.
data
)
{
actionContext
.
$Notice
.
error
({
title
:
(
actionContext
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
actionContext
.
$t
(
'app.commonWords.sysException'
)
as
string
)
});
return
;
}
return
response
;
});
};
backend
();
}
/**
* 前台界面行为3
*
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
55f742df
...
...
@@ -710,6 +710,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc10'
:
this
.
clickAppFunc10
(
item
);
return
;
case
'AppFunc24'
:
this
.
clickAppFunc24
(
item
);
return
;
case
'AppFunc17'
:
this
.
clickAppFunc17
(
item
);
return
;
...
...
@@ -2233,6 +2236,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 订单示例数据补充
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc24
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'zdytpgridview'
,
parameterName
:
'zdytpgridview'
},
];
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
浏览文件 @
55f742df
...
...
@@ -1913,10 +1913,10 @@ export default class MainMenuModel {
{
id
:
'554FF23C-C75D-427B-A8EE-C6878399EDA6'
,
name
:
'menuitem93'
,
text
:
'示例数据补充'
,
text
:
'示例
实体02示例
数据补充'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'示例数据补充'
,
tooltip
:
'示例
实体02示例
数据补充'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
...
...
@@ -1928,6 +1928,25 @@ export default class MainMenuModel {
appfunctag
:
'AppFunc18'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem93'
,
},
{
id
:
'0EDDC3DA-9E67-4279-9E6D-0723F46801FB'
,
name
:
'menuitem100'
,
text
:
'订单示例数据补充'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'订单示例数据补充'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc24'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem100'
,
},
],
},
...
...
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
55f742df
...
...
@@ -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"
:
"menuitem99"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem48"
,
"name"
:
"输入提示"
},{
"id"
:
"menuitem49"
,
"name"
:
"辅助输入"
},{
"id"
:
"menuitem50"
,
"name"
:
"自动填充"
},{
"id"
:
"menuitem51"
,
"name"
:
"超链接"
},{
"id"
:
"menuitem52"
,
"name"
:
"值重置"
},{
"id"
:
"menuitem55"
,
"name"
:
"动态显示"
},{
"id"
:
"menuitem53"
,
"name"
:
"动态启用"
},{
"id"
:
"menuitem54"
,
"name"
:
"动态空输入"
},{
"id"
:
"menuitem56"
,
"name"
:
"表单项更新"
}]},{
"id"
:
"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"
:
"menuitem83"
,
"name"
:
"列表"
,
"items"
:[{
"id"
:
"menuitem84"
,
"name"
:
"列表内置功能"
},{
"id"
:
"menuitem85"
,
"name"
:
"列表自动分组"
},{
"id"
:
"menuitem86"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem91"
,
"name"
:
"列表嵌入面板"
}]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
}]},{
"id"
:
"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"
:
"menuitem87"
,
"name"
:
"数据视图"
,
"items"
:[{
"id"
:
"menuitem88"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem89"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem90"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem94"
,
"name"
:
"项布局面板"
}]},{
"id"
:
"menuitem95"
,
"name"
:
"日历"
,
"items"
:[{
"id"
:
"menuitem96"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem97"
,
"name"
:
"时间轴样式"
}]}]},{
"id"
:
"menuitem5"
,
"name"
:
"视图"
,
"items"
:[{
"id"
:
"menuitem9"
,
"name"
:
"列表视图"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"常规表格视图"
},{
"id"
:
"menuitem21"
,
"name"
:
"左右表格视图"
},{
"id"
:
"menuitem20"
,
"name"
:
"嵌入表格视图"
}]},{
"id"
:
"menuitem8"
,
"name"
:
"编辑视图"
,
"items"
:[{
"id"
:
"menuitem22"
,
"name"
:
"常规编辑视图"
},{
"id"
:
"menuitem23"
,
"name"
:
"左右编辑视图"
},{
"id"
:
"menuitem24"
,
"name"
:
"分页编辑视图"
},{
"id"
:
"menuitem25"
,
"name"
:
"嵌入编辑视图"
}]},{
"id"
:
"menuitem26"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem27"
,
"name"
:
"单选视图"
},{
"id"
:
"menuitem28"
,
"name"
:
"多选视图"
},{
"id"
:
"menuitem29"
,
"name"
:
"树形选择视图"
},{
"id"
:
"menuitem30"
,
"name"
:
"左右单选视图"
},{
"id"
:
"menuitem31"
,
"name"
:
"左右多选视图"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem32"
,
"name"
:
"常规导航视图"
},{
"id"
:
"menuitem33"
,
"name"
:
"分页导航视图"
},{
"id"
:
"menuitem34"
,
"name"
:
"嵌入导航视图"
}]},{
"id"
:
"menuitem11"
,
"name"
:
"其他视图"
,
"items"
:[{
"id"
:
"menuitem35"
,
"name"
:
"图表视图"
},{
"id"
:
"menuitem36"
,
"name"
:
"报表视图"
},{
"id"
:
"menuitem98"
,
"name"
:
"自定义视图"
}]},{
"id"
:
"menuitem79"
,
"name"
:
"表格视图"
}]},{
"id"
:
"menuitem69"
,
"name"
:
"工作流"
},{
"id"
:
"menuitem2"
,
"name"
:
"更多"
,
"items"
:[{
"id"
:
"menuitem46"
,
"name"
:
"数据导出导入"
},{
"id"
:
"menuitem45"
,
"name"
:
"数据打印"
},{
"id"
:
"menuitem67"
,
"name"
:
"索引实体"
},{
"id"
:
"menuitem68"
,
"name"
:
"继承实体"
},{
"id"
:
"menuitem70"
,
"name"
:
"主状态"
},{
"id"
:
"menuitem71"
,
"name"
:
"多表单"
}]},{
"id"
:
"menuitem92"
,
"name"
:
"其他"
,
"items"
:[{
"id"
:
"menuitem93"
,
"name"
:
"示例数据补充"
}]}]
}]
"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"
:
"menuitem99"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem48"
,
"name"
:
"输入提示"
},{
"id"
:
"menuitem49"
,
"name"
:
"辅助输入"
},{
"id"
:
"menuitem50"
,
"name"
:
"自动填充"
},{
"id"
:
"menuitem51"
,
"name"
:
"超链接"
},{
"id"
:
"menuitem52"
,
"name"
:
"值重置"
},{
"id"
:
"menuitem55"
,
"name"
:
"动态显示"
},{
"id"
:
"menuitem53"
,
"name"
:
"动态启用"
},{
"id"
:
"menuitem54"
,
"name"
:
"动态空输入"
},{
"id"
:
"menuitem56"
,
"name"
:
"表单项更新"
}]},{
"id"
:
"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"
:
"menuitem83"
,
"name"
:
"列表"
,
"items"
:[{
"id"
:
"menuitem84"
,
"name"
:
"列表内置功能"
},{
"id"
:
"menuitem85"
,
"name"
:
"列表自动分组"
},{
"id"
:
"menuitem86"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem91"
,
"name"
:
"列表嵌入面板"
}]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
}]},{
"id"
:
"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"
:
"menuitem87"
,
"name"
:
"数据视图"
,
"items"
:[{
"id"
:
"menuitem88"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem89"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem90"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem94"
,
"name"
:
"项布局面板"
}]},{
"id"
:
"menuitem95"
,
"name"
:
"日历"
,
"items"
:[{
"id"
:
"menuitem96"
,
"name"
:
"内置功能"
},{
"id"
:
"menuitem97"
,
"name"
:
"时间轴样式"
}]}]},{
"id"
:
"menuitem5"
,
"name"
:
"视图"
,
"items"
:[{
"id"
:
"menuitem9"
,
"name"
:
"列表视图"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"常规表格视图"
},{
"id"
:
"menuitem21"
,
"name"
:
"左右表格视图"
},{
"id"
:
"menuitem20"
,
"name"
:
"嵌入表格视图"
}]},{
"id"
:
"menuitem8"
,
"name"
:
"编辑视图"
,
"items"
:[{
"id"
:
"menuitem22"
,
"name"
:
"常规编辑视图"
},{
"id"
:
"menuitem23"
,
"name"
:
"左右编辑视图"
},{
"id"
:
"menuitem24"
,
"name"
:
"分页编辑视图"
},{
"id"
:
"menuitem25"
,
"name"
:
"嵌入编辑视图"
}]},{
"id"
:
"menuitem26"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem27"
,
"name"
:
"单选视图"
},{
"id"
:
"menuitem28"
,
"name"
:
"多选视图"
},{
"id"
:
"menuitem29"
,
"name"
:
"树形选择视图"
},{
"id"
:
"menuitem30"
,
"name"
:
"左右单选视图"
},{
"id"
:
"menuitem31"
,
"name"
:
"左右多选视图"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem32"
,
"name"
:
"常规导航视图"
},{
"id"
:
"menuitem33"
,
"name"
:
"分页导航视图"
},{
"id"
:
"menuitem34"
,
"name"
:
"嵌入导航视图"
}]},{
"id"
:
"menuitem11"
,
"name"
:
"其他视图"
,
"items"
:[{
"id"
:
"menuitem35"
,
"name"
:
"图表视图"
},{
"id"
:
"menuitem36"
,
"name"
:
"报表视图"
},{
"id"
:
"menuitem98"
,
"name"
:
"自定义视图"
}]},{
"id"
:
"menuitem79"
,
"name"
:
"表格视图"
}]},{
"id"
:
"menuitem69"
,
"name"
:
"工作流"
},{
"id"
:
"menuitem2"
,
"name"
:
"更多"
,
"items"
:[{
"id"
:
"menuitem46"
,
"name"
:
"数据导出导入"
},{
"id"
:
"menuitem45"
,
"name"
:
"数据打印"
},{
"id"
:
"menuitem67"
,
"name"
:
"索引实体"
},{
"id"
:
"menuitem68"
,
"name"
:
"继承实体"
},{
"id"
:
"menuitem70"
,
"name"
:
"主状态"
},{
"id"
:
"menuitem71"
,
"name"
:
"多表单"
}]},{
"id"
:
"menuitem92"
,
"name"
:
"其他"
,
"items"
:[{
"id"
:
"menuitem93"
,
"name"
:
"示例
实体02示例数据补充"
},{
"id"
:
"menuitem100"
,
"name"
:
"订单示例
数据补充"
}]}]
}]
}
]
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录