Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
80c89330
提交
80c89330
编写于
11月 02, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
7c202bd5
变更
16
展开全部
显示空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
1881 行增加
和
56 行删除
+1881
-56
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+1
-1
ibizorder-usr2-grid-view-base.vue
...bizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
+1045
-0
ibizorder-usr2-grid-view.less
...le/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.less
+3
-0
ibizorder-usr2-grid-view.vue
...ple/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue
+26
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+1
-0
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
app-login-view-base.vue
.../src/pages/ungroup/app-login-view/app-login-view-base.vue
+44
-52
state.ts
app_Web/src/store/modules/view-action/state.ts
+13
-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
+13
-1
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
-searchbar-base.vue
app_Web/src/widgets/ibizorder/-searchbar/-searchbar-base.vue
+525
-0
-searchbar-model.ts
app_Web/src/widgets/ibizorder/-searchbar/-searchbar-model.ts
+21
-0
-searchbar-service.ts
...eb/src/widgets/ibizorder/-searchbar/-searchbar-service.ts
+99
-0
-searchbar.less
app_Web/src/widgets/ibizorder/-searchbar/-searchbar.less
+21
-0
-searchbar.vue
app_Web/src/widgets/ibizorder/-searchbar/-searchbar.vue
+14
-0
未找到文件。
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
80c89330
...
...
@@ -2913,7 +2913,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
appfunctag
:
'
AppFunc99
'
,
resourcetag
:
''
,
},
],
...
...
app_Web/src/pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
0 → 100644
浏览文件 @
80c89330
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.less
0 → 100644
浏览文件 @
80c89330
.ibizorder-usr2-grid-view {
display: block;
}
app_Web/src/pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue
0 → 100644
浏览文件 @
80c89330
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZOrderUsr2GridViewBase
from
'./ibizorder-usr2-grid-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'
;
import
view_searchbar
from
'@widgets/ibizorder/-searchbar/-searchbar.vue'
;
@
Component
({
components
:
{
view_grid
,
view_searchform
,
view_searchbar
,
},
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
IBIZOrderUsr2GridView
extends
IBIZOrderUsr2GridViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
80c89330
...
...
@@ -104,6 +104,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizbookdata-view-exp-view'
,
()
=>
import
(
'@pages/sample/ibizbookdata-view-exp-view/ibizbookdata-view-exp-view.vue'
));
Vue
.
component
(
'ibizbookusr4-edit-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr4-edit-view/ibizbookusr4-edit-view.vue'
));
Vue
.
component
(
'ibizorder-detail-usr3-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue'
));
Vue
.
component
(
'ibizorder-usr2-grid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'
));
Vue
.
component
(
'ibizappviewgrid-view'
,
()
=>
import
(
'@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'
));
Vue
.
component
(
'ibizappviewlist-view'
,
()
=>
import
(
'@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'
));
Vue
.
component
(
'ibizappctrlgrid-view'
,
()
=>
import
(
'@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
80c89330
...
...
@@ -1609,6 +1609,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-usr3-edit-view/ibizorder-detail-usr3-edit-view.vue'
),
},
{
path
:
'ibizorders/:ibizorder?/usr2gridview/:usr2gridview?'
,
meta
:
{
caption
:
'entities.ibizorder.views.usr2gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'usr2gridview'
,
parameterName
:
'usr2gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'
),
},
{
path
:
'ibizappviews/:ibizappview?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -3499,6 +3513,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibiztaskteamgrid-view9/ibiztaskteamgrid-view9.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/usr2gridview/:usr2gridview?'
,
meta
:
{
caption
:
'entities.ibizorder.views.usr2gridview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'usr2gridview'
,
parameterName
:
'usr2gridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/wizardiwithstateview/:wizardiwithstateview?'
,
meta
:
{
...
...
app_Web/src/pages/ungroup/app-login-view/app-login-view-base.vue
浏览文件 @
80c89330
...
...
@@ -6,43 +6,39 @@
<app-standard-container
name=
"page_container"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container1
>
<app-standard-container
name=
"container1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
a
pp_apptitle
>
<template
#
a
uth_userid
>
<span>
属性项
</span>
</
template
>
<
template
#
auth_password
>
<span>
属性项
</span>
</
template
>
<
template
#
container_grid1
>
<app-simpleflex-container
name=
"container_grid1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container4
>
<app-simpleflex-container
name=
"container4"
:layoutModelDetails=
"layoutModelDetails"
>
<
template
#
auth_orgpick
>
<span>
属性项
</span>
</
template
>
<
template
#
auth_loginbutton1
>
<span>
按钮
</span>
</
template
>
</app-simpleflex-container>
<
template
#
auth_registbutton1
>
<span>
按钮
</span>
</
template
>
<
template
#
container5
>
<app-simpleflex-container
name=
"container5"
:layoutModelDetails=
"layoutModelDetails"
>
<
template
#
auth_resetinput1
>
<span>
按钮
</span>
</
template
>
</app-simpleflex-container>
</template>
</app-simpleflex-container>
</template>
<
template
#
container3
>
<app-standard-container
name=
"container3"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_text1
>
<span>
直接内容
</span>
<
template
#
auth_logout1
>
<span>
按钮
</span>
</
template
>
<
template
#
auth_
sso
1
>
<
template
#
auth_
captcha
1
>
<span>
用户自定义控件
</span>
</
template
>
</app-standard-container>
<
template
#
auth_verificationcode
>
<span>
属性项
</span>
</
template
>
<
template
#
auth_
userid
>
<
template
#
auth_
loginmsg
>
<span>
属性项
</span>
</
template
>
<
template
#
auth_sso1
>
<span>
用户自定义控件
</span>
</
template
>
</app-standard-container>
</template>
</app-standard-container>
...
...
@@ -233,71 +229,67 @@ export default class AppLoginViewBase extends Vue {
* @memberof AppLoginViewBase
*/
public
layoutModelDetails
:
any
=
{
a
pp_apptitle
:
new
PanelFieldModel
({
name
:
'app_apptitle'
,
caption
:
'应用标题
'
,
itemType
:
'FIELD'
,
visible
:
true
,
a
uth_userid
:
new
PanelFieldModel
({
name
:
'auth_userid'
,
caption
:
'用户名
'
,
itemType
:
'FIELD'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'
CENTER
'
,
vAlignSelf
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
panel
:
this
}),
auth_password
:
new
PanelFieldModel
({
name
:
'auth_password'
,
caption
:
'密码'
,
itemType
:
'FIELD'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'
FULL
'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
panel
:
this
}),
auth_
loginbutton1
:
new
PanelButtonModel
({
name
:
'auth_loginbutton1'
,
caption
:
'登陆'
,
itemType
:
'BUTTON
'
,
visible
:
true
,
disabled
:
false
,
layout
:
'
SIMPLE
FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'
FULL
'
,
auth_
orgpick
:
new
PanelFieldModel
({
name
:
'auth_orgpick'
,
caption
:
'组织'
,
itemType
:
'FIELD
'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
panel
:
this
}),
container4
:
new
PanelContainerModel
({
name
:
'container4'
,
caption
:
'面板容器'
,
itemType
:
'CONTAINER
'
,
visible
:
true
,
disabled
:
false
,
layout
:
'
SIMPLE
FLEX'
,
auth_loginbutton1
:
new
PanelButtonModel
({
name
:
'auth_loginbutton1'
,
caption
:
'登陆'
,
itemType
:
'BUTTON
'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
6
,
panel
:
this
,
details
:[
'auth_loginbutton1'
]}),
auth_resetinput1
:
new
PanelButtonModel
({
name
:
'auth_resetinput1'
,
caption
:
'重置'
,
itemType
:
'BUTTON'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'FULL'
,
flexGrow
:
-
1
,
panel
:
this
}),
auth_registbutton1
:
new
PanelButtonModel
({
name
:
'auth_registbutton1'
,
caption
:
'注册'
,
itemType
:
'BUTTON'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
panel
:
this
}),
container5
:
new
PanelContainerModel
({
name
:
'container5'
,
caption
:
'面板容器'
,
itemType
:
'CONTAINER
'
,
visible
:
true
,
disabled
:
false
,
layout
:
'
SIMPLE
FLEX'
,
auth_resetinput1
:
new
PanelButtonModel
({
name
:
'auth_resetinput1'
,
caption
:
'重置'
,
itemType
:
'BUTTON
'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
6
,
panel
:
this
,
details
:[
'auth_resetinput1'
]}),
container_grid1
:
new
PanelContainerModel
({
name
:
'container_grid1'
,
caption
:
'栅格容器'
,
itemType
:
'CONTAINER'
,
visible
:
true
,
flexGrow
:
-
1
,
panel
:
this
}),
auth_logout1
:
new
PanelButtonModel
({
name
:
'auth_logout1'
,
caption
:
'登出'
,
itemType
:
'BUTTON'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
panel
:
this
,
details
:[
'container4'
,
'container5'
]}),
static_text1
:
new
PanelRawitemModel
({
name
:
'static_text1'
,
caption
:
'文本'
,
itemType
:
'RAWITEM'
,
visible
:
true
,
flexGrow
:
-
1
,
panel
:
this
}),
auth_captcha1
:
new
PanelUserControlModel
({
name
:
'auth_captcha1'
,
caption
:
'人机识别'
,
itemType
:
'USERCONTROL'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'
FULL
'
,
layoutWidth
:
0
,
widthMode
:
'
FULL
'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
panel
:
this
}),
auth_
sso1
:
new
PanelUserControlModel
({
name
:
'auth_sso1'
,
caption
:
'第三方登陆'
,
itemType
:
'USERCONTROL
'
,
visible
:
true
,
auth_
verificationcode
:
new
PanelFieldModel
({
name
:
'auth_verificationcode'
,
caption
:
'短信验证码'
,
itemType
:
'FIELD
'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'
FULL
'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
panel
:
this
}),
container3
:
new
PanelContainerModel
({
name
:
'container3'
,
caption
:
'容器'
,
itemType
:
'CONTAINER
'
,
visible
:
true
,
auth_loginmsg
:
new
PanelFieldModel
({
name
:
'auth_loginmsg'
,
caption
:
'登陆校验信息'
,
itemType
:
'FIELD
'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'
FULL
'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
panel
:
this
,
details
:[
'static_text1'
,
'auth_sso1'
]}),
auth_userid
:
new
PanelFieldModel
({
name
:
'auth_userid'
,
caption
:
'用户名'
,
itemType
:
'FIELD'
,
visible
:
true
,
flexGrow
:
-
1
,
panel
:
this
}),
auth_sso1
:
new
PanelUserControlModel
({
name
:
'auth_sso1'
,
caption
:
'第三方登陆'
,
itemType
:
'USERCONTROL'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
...
...
@@ -305,11 +297,11 @@ export default class AppLoginViewBase extends Vue {
flexGrow
:
-
1
,
panel
:
this
}),
container1
:
new
PanelContainerModel
({
name
:
'container1'
,
caption
:
'容器'
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'
FULL
'
,
layoutWidth
:
45
0
,
widthMode
:
'PX'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
60
0
,
widthMode
:
'PX'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'CENTER'
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
panel
:
this
,
details
:[
'a
pp_apptitle'
,
'auth_password'
,
'container_grid1'
,
'container3'
,
'auth_userid
'
]}),
details
:[
'a
uth_userid'
,
'auth_password'
,
'auth_orgpick'
,
'auth_loginbutton1'
,
'auth_registbutton1'
,
'auth_resetinput1'
,
'auth_logout1'
,
'auth_captcha1'
,
'auth_verificationcode'
,
'auth_loginmsg'
,
'auth_sso1
'
]}),
page_container
:
new
PanelContainerModel
({
name
:
'page_container'
,
caption
:
'图片背景容器'
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
100
,
heightMode
:
'PERCENTAGE'
,
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
80c89330
...
...
@@ -559,6 +559,18 @@ export const viewstate: any = {
'd985337c61d3832ea28781561622a1cd'
,
],
},
{
viewtag
:
'504c018faa34b2d0fce7c4c56569e02e'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZOrderUsr2GridView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'd827fd85e8d9be1bb9348765c09cd465'
,
'56738595155756fd86c36e20af24f056'
,
'e6b9fc2b5a23e89827909ccc050eb381'
,
],
},
{
viewtag
:
'517580eb2dc02c481b306635c52fb1a3'
,
viewmodule
:
'Sample'
,
...
...
@@ -759,6 +771,7 @@ export const viewstate: any = {
'bb3b65cf9ba40413db60adce27a94db7'
,
'f0e584392d060bfef6ad4cec29f73d0d'
,
'd1e103c50de1fa941638bec77683936c'
,
'504c018faa34b2d0fce7c4c56569e02e'
,
],
},
{
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
80c89330
...
...
@@ -913,6 +913,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc98'
:
this
.
clickAppFunc98
(
item
);
return
;
case
'AppFunc99'
:
this
.
clickAppFunc99
(
item
);
return
;
default
:
console
.
warn
(
'未指定应用功能'
);
}
...
...
@@ -3332,6 +3335,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 测试表格布局面板
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc99
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'usr2gridview'
,
parameterName
:
'usr2gridview'
},
];
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
浏览文件 @
80c89330
...
...
@@ -3074,7 +3074,7 @@ export default class MainMenuModel {
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
appfunctag
:
'
AppFunc99
'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem122'
,
},
...
...
@@ -4344,6 +4344,18 @@ export default class MainMenuModel {
{
pathName
:
'usr3editview'
,
parameterName
:
'usr3editview'
},
],
},
{
appfunctag
:
'AppFunc99'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'ibizorderusr2gridview'
,
deResParameters
:
[],
routepath
:
'/index/:index?/ibizorders/:ibizorder?/usr2gridview/:usr2gridview?'
,
parameters
:
[
{
pathName
:
'ibizorders'
,
parameterName
:
'ibizorder'
},
{
pathName
:
'usr2gridview'
,
parameterName
:
'usr2gridview'
},
],
},
];
/**
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
80c89330
...
...
@@ -663,7 +663,7 @@ export default class DefaultBase 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
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizorder/-searchbar/-searchbar-base.vue
0 → 100644
浏览文件 @
80c89330
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder/-searchbar/-searchbar-model.ts
0 → 100644
浏览文件 @
80c89330
/**
* 部件模型
*
* @export
* @class Model
*/
export
default
class
Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof SearchbarMode
*/
public
getDataItems
():
any
[]
{
return
[
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizorder/-searchbar/-searchbar-service.ts
0 → 100644
浏览文件 @
80c89330
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
Model
from
'./-searchbar-model'
;
import
UtilService
from
'@/utilservice/util-service'
;
/**
* 部件服务对象
*
* @export
* @class Service
*/
export
default
class
Service
extends
ControlService
{
/**
* 订单服务对象
*
* @type {IBIZOrderService}
* @memberof Service
*/
public
appEntityService
:
IBIZOrderService
=
new
IBIZOrderService
();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof Service
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of Service.
*
* @param {*} [opts={}]
* @memberof Service
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
Model
();
}
/**
* 工具服务对象
*
* @protected
* @type {UtilService}
* @memberof Service
*/
protected
utilService
:
UtilService
=
new
UtilService
();
/**
* 加载数据模型
*
* @param {string} serviceName
* @param {*} context
* @param {*} viewparams
* @memberof Service
*/
public
loadModel
(
serviceName
:
string
,
context
:
any
,
viewparams
:
any
)
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
this
.
utilService
.
getService
(
serviceName
).
then
((
service
:
any
)
=>
{
service
.
loadModelData
(
JSON
.
stringify
(
context
),
viewparams
).
then
((
response
:
any
)
=>
{
resolve
(
response
);
}).
catch
((
response
:
any
)
=>
{
reject
(
response
);
});
}).
catch
((
response
:
any
)
=>
{
reject
(
response
);
});
});
}
/**
* 保存模型
*
* @param {string} serviceName
* @param {*} context
* @param {*} viewparams
* @returns
* @memberof Service
*/
public
saveModel
(
serviceName
:
string
,
context
:
any
,
viewparams
:
any
)
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
this
.
utilService
.
getService
(
serviceName
).
then
((
service
:
any
)
=>
{
service
.
saveModelData
(
JSON
.
stringify
(
context
),
''
,
viewparams
).
then
((
response
:
any
)
=>
{
resolve
(
response
);
}).
catch
((
response
:
any
)
=>
{
reject
(
response
);
});
}).
catch
((
response
:
any
)
=>
{
reject
(
response
);
});
});
}
}
\ No newline at end of file
app_Web/src/widgets/ibizorder/-searchbar/-searchbar.less
0 → 100644
浏览文件 @
80c89330
.search-bar-footer {
height: 32px;
margin-bottom: 6px;
.search-bar-action {
float: right;
display: flex;
align-items: center;
> * {
margin-left: 5px;
.save-action {
text-align: right;
margin-top: 10px;
> * {
margin-left: 5px;
}
}
}
}
}
// this is less
app_Web/src/widgets/ibizorder/-searchbar/-searchbar.vue
0 → 100644
浏览文件 @
80c89330
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Base
from
'./-searchbar-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
extends
Base
{
}
</
script
>
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录